drm/i915: Refuse modes with hdisplay==4096 on pre-HSW DP
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 18 Jul 2019 14:43:39 +0000 (17:43 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 18 Oct 2019 14:04:34 +0000 (17:04 +0300)
commit98c93394ba907e6b741c67dc6affea78c2a940a0
treec94c0de07e58c0afe308be809c84f1d7fe111583
parentc08f995a284dc202a934530ee73cc7136665af38
drm/i915: Refuse modes with hdisplay==4096 on pre-HSW DP

The DP port/pipe goes wonky if we try to use timings with
hdisplay==4096 on pre-HSW platforms. The link fails to train
and the pipe may not signal vblank interrupts. On HDMI such at
mode works just fine (tested on ELK/SNB/CHV). So let's refuse
such modes on DP on older platforms.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190718144340.1114-1-ville.syrjala@linux.intel.com
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c