]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Simplify the modifier check for interlaced scanout support
authorImre Deak <imre.deak@intel.com>
Wed, 20 Oct 2021 19:51:31 +0000 (22:51 +0300)
committerImre Deak <imre.deak@intel.com>
Thu, 21 Oct 2021 18:44:36 +0000 (21:44 +0300)
commit58b1f150b3ea50b32a864063799c4956f4d15ca6
treeaed72c01ae95af93d5ae706dade251f065f1135d
parent35917496b71f918966463e3252b39905466358a7
drm/i915: Simplify the modifier check for interlaced scanout support

Checking the modifiers that support interlacing makes the condition
simpler and avoids us having to add new modifiers to the list (presuming
all/most of the new modifiers won't support interlacing).

Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
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/20211020195138.1841242-5-imre.deak@intel.com
drivers/gpu/drm/i915/display/skl_universal_plane.c