From: "JinZe.Xu" <[email protected]>

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

Acked-by: Alan Liu <[email protected]>
Signed-off-by: JinZe.Xu <[email protected]>
---
 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

Reply via email to