Skip to content

Commit ab762f9

Browse files
tititiou36alexdeucher
authored andcommitted
drm/amd/display: Fix a switch statement in populate_dml_output_cfg_from_stream_state()
It is likely that the statement related to 'dml_edp' is misplaced. So move it in the correct "case SIGNAL_TYPE_EDP". Fixes: 7966f31 ("drm/amd/display: Introduce DML2") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent bf14cd4 commit ab762f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,8 @@ static void populate_dml_output_cfg_from_stream_state(struct dml_output_cfg_st *
626626
if (is_dp2p0_output_encoder(pipe))
627627
out->OutputEncoder[location] = dml_dp2p0;
628628
break;
629-
out->OutputEncoder[location] = dml_edp;
630629
case SIGNAL_TYPE_EDP:
630+
out->OutputEncoder[location] = dml_edp;
631631
break;
632632
case SIGNAL_TYPE_HDMI_TYPE_A:
633633
case SIGNAL_TYPE_DVI_SINGLE_LINK:

0 commit comments

Comments
 (0)