Commit f985dedb authored by Adam Jackson's avatar Adam Jackson Committed by Dave Airlie

drm/modes: Limit fallback modes to 60Hz

See also: http://bugzilla.redhat.com/514600Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 3bea21b6
...@@ -1290,6 +1290,8 @@ int drm_add_modes_noedid(struct drm_connector *connector, ...@@ -1290,6 +1290,8 @@ int drm_add_modes_noedid(struct drm_connector *connector,
ptr->vdisplay > vdisplay) ptr->vdisplay > vdisplay)
continue; continue;
} }
if (drm_mode_vrefresh(ptr) > 61)
continue;
mode = drm_mode_duplicate(dev, ptr); mode = drm_mode_duplicate(dev, ptr);
if (mode) { if (mode) {
drm_mode_probed_add(connector, mode); drm_mode_probed_add(connector, mode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment