summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2010-04-09 16:52:49 +0000
committerDave Airlie <airlied@redhat.com>2010-04-10 08:35:14 +1000
commit522032da7ed3068cf79f733fb836118d908b7719 (patch)
tree8851b6331f1820b44962812bfa2c4b0636a1a142
parentc385e50cb51ace73ebe12d57df76882e9dcf0e53 (diff)
downloadblackbird-op-linux-522032da7ed3068cf79f733fb836118d908b7719.tar.gz
blackbird-op-linux-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>
-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,
* 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;
OpenPOWER on IntegriCloud