Commit 522032da authored by Adam Jackson's avatar Adam Jackson Committed by Dave Airlie

drm/edid: When checking duplicate standard modes, walked the probed list

... and not the global list.
Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent c385e50c
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment