diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-05-31 12:17:07 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-06-11 08:35:04 +1000 |
commit | 990256aec2f10800595dddf4d1c3441fcd6b2616 (patch) | |
tree | 5afa69f3a6d8a81910512fae18cbeb11c69c9367 | |
parent | 72e45e9267bfbf299f2f4c14c8c923a4f6444030 (diff) | |
download | linux-990256aec2f10800595dddf4d1c3441fcd6b2616.tar.bz2 |
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ä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/drm_crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |