summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJinZe.Xu <JinZe.Xu@amd.com>2020-07-21 17:52:41 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-08-04 17:29:28 -0400
commit519d91d87f2e19727de772402ac0977633bbd13a (patch)
treea4d5c0ee1dec4871fbf84e6ec996750017b8784a /drivers
parentd024656757dc07e9f77d1eed854ce8f885f11856 (diff)
drm/amd/display: Use helper function to check for HDMI signal
[How] Use dc_is_hdmi_signal to determine signal type. Signed-off-by: JinZe.Xu <JinZe.Xu@amd.com> Reviewed-by: Charlene Liu <Charlene.Liu@amd.com> Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_link.c2
1 files changed, 1 insertions, 1 deletions
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 071c7b32b282..4bd6e03a7ef3 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
@@ -3282,7 +3282,7 @@ void core_link_disable_stream(struct pipe_ctx *pipe_ctx)
dc_is_virtual_signal(pipe_ctx->stream->signal))
return;
- 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, true);
}