From: Adam Jackson Date: Fri, 9 Apr 2010 16:52:49 +0000 (+0000) Subject: drm/edid: When checking duplicate standard modes, walked the probed list X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=522032da7ed3068cf79f733fb836118d908b7719;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/edid: When checking duplicate standard modes, walked the probed list ... and not the global list. Signed-off-by: Adam Jackson Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 0f8c06311cf6..df7a1abfe7e8 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -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;