diff options
author | Adam Jackson <ajax@redhat.com> | 2010-04-09 16:52:49 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-10 08:35:14 +1000 |
commit | 522032da7ed3068cf79f733fb836118d908b7719 (patch) | |
tree | 8851b6331f1820b44962812bfa2c4b0636a1a142 /drivers/gpu/drm/drm_edid.c | |
parent | c385e50cb51ace73ebe12d57df76882e9dcf0e53 (diff) | |
download | linux-3.10-522032da7ed3068cf79f733fb836118d908b7719.tar.gz linux-3.10-522032da7ed3068cf79f733fb836118d908b7719.tar.bz2 linux-3.10-522032da7ed3068cf79f733fb836118d908b7719.zip |
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/gpu/drm/drm_edid.c')
-rw-r--r-- | drivers/gpu/drm/drm_edid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 0f8c06311cf..df7a1abfe7e 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, * instead. This way we don't have to guess at interlace or * reduced blanking. */ - list_for_each_entry(m, &connector->modes, head) + list_for_each_entry(m, &connector->probed_modes, head) if (m->hdisplay == hsize && m->vdisplay == vsize && drm_mode_vrefresh(m) == vrefresh_rate) return NULL; |