aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2010-04-09 12:52:49 -0400
committerDave Airlie <airlied@redhat.com>2010-04-09 18:35:14 -0400
commit522032da7ed3068cf79f733fb836118d908b7719 (patch)
tree8851b6331f1820b44962812bfa2c4b0636a1a142 /drivers
parentc385e50cb51ace73ebe12d57df76882e9dcf0e53 (diff)
drm/edid: When checking duplicate standard modes, walked the probed list
... and not the global list. Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/drm_edid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 0f8c06311cf6..df7a1abfe7e8 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -847,7 +847,7 @@ drm_mode_std(struct drm_connector *connector, struct edid *edid,
847 * instead. This way we don't have to guess at interlace or 847 * instead. This way we don't have to guess at interlace or
848 * reduced blanking. 848 * reduced blanking.
849 */ 849 */
850 list_for_each_entry(m, &connector->modes, head) 850 list_for_each_entry(m, &connector->probed_modes, head)
851 if (m->hdisplay == hsize && m->vdisplay == vsize && 851 if (m->hdisplay == hsize && m->vdisplay == vsize &&
852 drm_mode_vrefresh(m) == vrefresh_rate) 852 drm_mode_vrefresh(m) == vrefresh_rate)
853 return NULL; 853 return NULL;