]> 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)
commit6c5fbd3755beda2d88a33caf965a46622a23d4db
tree1d3fcf94c7d66bca1b1c6de894160b357b7dd637
parent1eee902e11d27e5dccf0740e03c05265e79e6a5a
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