[PATCH 27/45] drm/amd/display: Reset input mode for DIG on encoder reset
Tom Chung
chiahsuan.chung at amd.com
Wed May 1 07:16:33 UTC 2024
From: Dillon Varone <dillon.varone at amd.com>
[WHY & HOW]
Make enable and disable sequences symmetric.
Reviewed-by: Wenjing Liu <wenjing.liu at amd.com>
Acked-by: Tom Chung <chiahsuan.chung at amd.com>
Signed-off-by: Dillon Varone <dillon.varone at amd.com>
---
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.c | 2 ++
1 file changed, 2 insertions(+)
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,
--
2.34.1
More information about the amd-gfx
mailing list