Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;