]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clean up skl vs. icl plane formats
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 3 Jul 2019 20:08:24 +0000 (23:08 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 5 Jul 2019 10:15:05 +0000 (13:15 +0300)
commit53e322d87b4d397e3facc865e7985d97a978f496
tree1d3fcf94c7d66bca1b1c6de894160b357b7dd637
parent98f1c2ecac3de54e0c80ab52ae3c19b4569a6ece
drm/i915: Clean up skl vs. icl plane formats

Split the format lists for different planes on skl/icl more cleanly.

On skl+ we have just two types of planes: those can do planar and
those that can't.

On icl we have three types of planes: hdr planes, sdr planes that
can do planar, and sdr planes that can't do planar. Those latter two
are the same set of planes we must when choose from when picking the
UV vs. Y plane for planar scanout. So we shall just designate
them sdr uv planes and sdr y planes.

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190703200824.5971-7-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_sprite.c