]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Disallow plane scaling with specific pixel formats
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 5 Oct 2018 12:58:11 +0000 (15:58 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 8 Oct 2018 10:51:25 +0000 (13:51 +0300)
commitdb18c94bd241fe2969644331b0b357ebda60a8df
tree80aff4e85f525af10b817fa7f4a065644966ae17
parent2c6db02a8fd5e489c51094a11327dc8bdb0f0fdf
drm/i915: Disallow plane scaling with specific pixel formats

Plane scaling is not supported with specific pixel formats. Disallow
plane scaling when such a format is used. Currently the only such
pixel format we expose is C8, but in case we add more in the future
let's make it easy to deal with them.

v2: Redo due to plane_check() refactoring

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com> #v1
Link: https://patchwork.freedesktop.org/patch/msgid/20181005125817.22576-6-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_sprite.c