mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 03:21:32 +00:00
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>
This commit is contained in:
parent
c385e50cb5
commit
522032da7e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user