Skip to content

Commit 990256a

Browse files
vsyrjalaairlied
authored andcommitted
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>
1 parent 72e45e9 commit 990256a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/gpu/drm/drm_crtc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ EXPORT_SYMBOL(drm_crtc_cleanup);
680680
void drm_mode_probed_add(struct drm_connector *connector,
681681
struct drm_display_mode *mode)
682682
{
683-
list_add(&mode->head, &connector->probed_modes);
683+
list_add_tail(&mode->head, &connector->probed_modes);
684684
}
685685
EXPORT_SYMBOL(drm_mode_probed_add);
686686

0 commit comments

Comments
 (0)