drm/i915: support 32 bit BGR formats in sprite planes
Subsystems (2)
PATCH 1/1 drm/i915: support 32 bit BGR formats in sprite planes
intel_framebuffer_init does some basic sanity checking of the pixel format, but is used by the plane code in addition to the primary crtc. So it needs to contain any formats used in either place.
Add the XBGR8888 format to the checklist so the plane code can use it.
Signed-off-by Jesse Barnes <[email protected]>
--- drivers/gpu/drm/i915/intel_display.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/gpu/drm/i915/intel_display.c +1 -0
@@ -7828,6 +7828,7 @@ int intel_framebuffer_init(struct drm_device *dev,case DRM_FORMAT_RGB332 :case DRM_FORMAT_RGB565 :case DRM_FORMAT_XRGB8888 : +case DRM_FORMAT_XBGR8888 :case DRM_FORMAT_ARGB8888 :case DRM_FORMAT_XRGB2101010 :case DRM_FORMAT_ARGB2101010 :
Signature · 1 line
1.7.4.1
<#part sign=pgpmime>
Quoted 3 lines · Jesse Barnes
intel_framebuffer_initdoes some basic sanity checking of the pixel format, but is used by the plane code in addition to the primary crtc. So it needs to contain any formats used in either place.
Merged.
ab2f9df..b250da7 drm-intel-fixes -> drm-intel-fixes
Signature · 1 line
[email protected]