drm/i915: Reject DRM_MODE_FLAG_DBLCLK with DVI sinks
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 Jan 2020 18:12:39 +0000 (20:12 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 9 Jul 2020 13:23:02 +0000 (16:23 +0300)
commitc35ad31401c079e1fe1bebb1b7d5be2940668676
tree06088200d2def72a17599b84c7cddbdf6907b698
parent90f8ed85c6f31a53d8bdf04d80900d87296f6701
drm/i915: Reject DRM_MODE_FLAG_DBLCLK with DVI sinks

The code assumes that DRM_MODE_FLAG_DBLCLK means that we enable the
pixel repeat feature. That only works with HDMI since it requires
AVI infoframe to signal the information to the sink. Hence even if
the mode dotclock would be valid we cannot currently assume that
we can just ignore the DBLCLK flag. Reject it for DVI sinks.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200108181242.13650-6-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_hdmi.c