[PATCH 12/31] drm/amd/display: Change HDMI judgement condition.

Rodrigo Siqueira Rodrigo.Siqueira at amd.com
Fri Jun 17 19:34:53 UTC 2022


From: "JinZe.Xu" <JinZe.Xu at amd.com>

[Why & How]
Use dc_is_hdmi_signal to determine signal type.

Acked-by: Alan Liu <HaoPing.Liu at amd.com>
Signed-off-by: JinZe.Xu <JinZe.Xu at amd.com>
---
 drivers/gpu/drm/amd/display/dc/core/dc_link.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
index 82b74ee5f0c3..fb6ffcb0bc6b 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
@@ -4374,7 +4374,7 @@ void core_link_enable_stream(
 			dp_set_dsc_enable(pipe_ctx, true);
 	}
 
-	if (pipe_ctx->stream->signal == SIGNAL_TYPE_HDMI_TYPE_A) {
+	if (dc_is_hdmi_signal(pipe_ctx->stream->signal)) {
 		core_link_set_avmute(pipe_ctx, false);
 	}
 }
-- 
2.25.1



More information about the amd-gfx mailing list