Skip to content

Commit

Permalink
drm/edid: When checking duplicate standard modes, walked the probed list
Browse files Browse the repository at this point in the history
... and not the global list.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Adam Jackson authored and Dave Airlie committed Apr 9, 2010
1 parent c385e50 commit 522032d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/drm_edid.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 522032d

Please sign in to comment.