OSDN Git Service

drm/i915/display: Prune Interlace modes for Display >=12
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 5 Jan 2023 12:41:25 +0000 (18:11 +0530)
committerUma Shankar <uma.shankar@intel.com>
Thu, 12 Jan 2023 07:16:12 +0000 (12:46 +0530)
commitf71c9b7bc35ff7c1fb68d114903876eec658439b
treea2278a9eee5a7eefe6abecc382b84e58bc0ae97c
parent9d04eb20bc71a383b4d4e383b0b7fac8d38a2e34
drm/i915/display: Prune Interlace modes for Display >=12

Defeature Display Interlace support.
Support for interlace modes is removed from Gen 12 onwards.
Pruning the interlace modes for HDMI for Display >=12.
Bspec: 50490

v2: Add check for both DP and HDMI. (Ville)
Get rid of redundant check for interlace mode in modevalid. (Ville)

v3: Simplify the condition to avoid interlace modes. (Jani)

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230105124125.1129653-1-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_hdmi.c