diff options
author | Adam Jackson <ajax@redhat.com> | 2009-11-23 14:23:04 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-11-23 20:24:21 -0500 |
commit | f985dedb57bae741b4326415f72fe1a1e556563b (patch) | |
tree | 5977401ba9db10da04a98bcaeb599a08cc384fb5 /drivers/gpu/drm/drm_edid.c | |
parent | 3bea21b64c0e3f380814de990ef57ff1f08dbf95 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/drm_edid.c')
-rw-r--r-- | drivers/gpu/drm/drm_edid.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index cea665d86dd3..dd95edfcfdc7 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c | |||
@@ -1290,6 +1290,8 @@ int drm_add_modes_noedid(struct drm_connector *connector, | |||
1290 | ptr->vdisplay > vdisplay) | 1290 | ptr->vdisplay > vdisplay) |
1291 | continue; | 1291 | continue; |
1292 | } | 1292 | } |
1293 | if (drm_mode_vrefresh(ptr) > 61) | ||
1294 | continue; | ||
1293 | mode = drm_mode_duplicate(dev, ptr); | 1295 | mode = drm_mode_duplicate(dev, ptr); |
1294 | if (mode) { | 1296 | if (mode) { |
1295 | drm_mode_probed_add(connector, mode); | 1297 | drm_mode_probed_add(connector, mode); |