drm/i915: Reject >165MHz modes w/ DVI monitors
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 3 Mar 2014 09:33:36 +0000 (11:33 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 3 Mar 2014 17:08:08 +0000 (19:08 +0200)
commit6375b768a9850b6154478993e5fb566fa4614a9c
tree5d76ce8d35e8ad2ccfd00e50b4a2248e3dd6d5a7
parentd9d820810d4eeac336c515dfb62561c21b296f07
drm/i915: Reject >165MHz modes w/ DVI monitors

Single-link DVI max dotclock is 165MHz. Filter out modes with higher
dotclock when the monitor doesn't support HDMI.

Modes higher than 165 MHz were allowed in

commit 7d148ef51a657fd04036c3ed7803da600dd0d451
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon Jul 22 18:02:39 2013 +0200

    drm/i915: fix hdmi portclock limits

Also don't attempt to use 12bpc mode with DVI monitors.

Cc: Adam Nielsen <a.nielsen@shikadi.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75345
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=70331
Tested-by: Ralf Jung <post+kernel@ralfj.de>
Cc: stable@vger.kernel.org
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_hdmi.c