]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Allow user modes to exceed DVI 165MHz limit
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 27 Mar 2014 09:08:45 +0000 (11:08 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 22 Apr 2014 11:33:26 +0000 (14:33 +0300)
commit57b6e0aaa650010d4db7dde45f74ed949ea70305
treecbc6212bcf99f832138fccb51e462af9cd59c3dd
parentbc1f2e05c7c87f6c5b43b4555c1e286a0b989960
drm/i915: Allow user modes to exceed DVI 165MHz limit

In commit
 commit 0deb0120db097a366095e1afca8645fcd1af9586
 Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
 Date:   Mon Mar 3 11:33:36 2014 +0200

    drm/i915: Reject >165MHz modes w/ DVI monitors

the driver started to filter out display modes which exceed the
single-link DVI 165Mz dotclock limits when the monitor doesn't report
itself as being HDMI compliant. The intent was to filter out all
EDID derived modes that require dual-link DVI to operate since we
don't support dual-link.

However the patch went a bit too far and also causes the driver to reject
such modes even when specified by the user. Normally we don't check the
sink limitations when setting a mode from the user. This allows the user
to specify any mode whether the sink reports to support it or not. This
can be useful since often the sinks support more modes than they report
in the EDID.

So relax the checks a bit, and apply the single-link DVI dotclock limit
only when filtering the mode list, and ignore the limit when setting
a user specified mode.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=72961
Tested-by: Nicholas Vinson <nvinson@comcast.net>
Cc: stable@vger.kernel.org [3.14]
Reviewed-by: Daniel Vetter <daniel@ffwll.ch>
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