]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/tgl+: Add the missing MC CCS/XYUV8888 format support
authorImre Deak <imre.deak@intel.com>
Sat, 1 May 2021 00:28:52 +0000 (03:28 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 5 May 2021 13:52:24 +0000 (16:52 +0300)
commit39edd6b19b3d3d7589a2804cff61f24ea41e95db
tree086f73fe0b414a42051cabed0c6aa07986d0afd2
parentd8f2ead1ae7d4152d472906a9af815055534a852
drm/i915/tgl+: Add the missing MC CCS/XYUV8888 format support

Make sure that the XYUV8888 format is handled correctly when it's used
with a MC_CCS modifier framebuffer. Besides this format not working, the
driver will also return an incorrect error value when trying to use it,
indicating that the second color plane in the framebuffer is set
unexpectedly.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210501002853.4132009-1-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display.c