drm/modes: Limit fallback modes to 60Hz
See also: http://bugzilla.redhat.com/514600 Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
3bea21b64c
commit
f985dedb57
|
@ -1290,6 +1290,8 @@ int drm_add_modes_noedid(struct drm_connector *connector,
|
|||
ptr->vdisplay > vdisplay)
|
||||
continue;
|
||||
}
|
||||
if (drm_mode_vrefresh(ptr) > 61)
|
||||
continue;
|
||||
mode = drm_mode_duplicate(dev, ptr);
|
||||
if (mode) {
|
||||
drm_mode_probed_add(connector, mode);
|
||||
|
|
Loading…
Reference in New Issue