diff options
author | Dillon Varone <[email protected]> | 2024-04-24 16:39:49 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-05-08 15:17:03 -0400 |
commit | 5b600c1f49962c1dbc62719916bf47c791ac0777 (patch) | |
tree | 113b9031063cbdaea628414e812fdbd0404a0c7d | |
parent | 0cfdfebedc5b48aeee63bc808bcac85d5ab63176 (diff) |
drm/amd/display: Reset input mode for DIG on encoder reset
[WHY & HOW]
Make enable and disable sequences symmetric.
Reviewed-by: Wenjing Liu <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: Dillon Varone <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.c b/drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.c index 16412094c612..afe4614e0087 100644 --- a/drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.c +++ b/drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.c @@ -63,6 +63,8 @@ void reset_dio_stream_encoder(struct pipe_ctx *pipe_ctx) if (stream_enc && stream_enc->funcs->disable_fifo) stream_enc->funcs->disable_fifo(stream_enc); + if (stream_enc->funcs->set_input_mode) + stream_enc->funcs->set_input_mode(stream_enc, 0); link_enc->funcs->connect_dig_be_to_fe( link_enc, |