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)
commitd89357ded55e1294e172cec176f49e1685dca06d
treeaed72c01ae95af93d5ae706dade251f065f1135d
parent3dfb2d6b489f7f1a627774f84a6341c18785f43f
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