1
0
Fork 0

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>
hifive-unleashed-5.1
Adam Jackson 2010-04-09 16:52:49 +00:00 committed by Dave Airlie
parent c385e50cb5
commit 522032da7e
1 changed files with 1 additions and 1 deletions

View File

@ -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;