From: Ville Syrjälä Date: Fri, 31 May 2013 12:17:07 +0000 (+0000) Subject: drm: Add probed modes in probe order X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=990256aec2f10800595dddf4d1c3441fcd6b2616;p=linux-beck.git drm: Add probed modes in probe order Keeping the modes in the same order as we probe them makes it a bit easier to track what's happening. Signed-off-by: Ville Syrjälä Reviewed-by: Alex Deucher Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 44c3421899bb..3385b5cb084f 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c @@ -680,7 +680,7 @@ EXPORT_SYMBOL(drm_crtc_cleanup); void drm_mode_probed_add(struct drm_connector *connector, struct drm_display_mode *mode) { - list_add(&mode->head, &connector->probed_modes); + list_add_tail(&mode->head, &connector->probed_modes); } EXPORT_SYMBOL(drm_mode_probed_add);