Commit a280a71f authored by Eric Bernstein's avatar Eric Bernstein Committed by Alex Deucher

drm/amd/display: Use helper for determining HDMI signal

Use helper to determine if HDMI signal when processing avmute.
Signed-off-by: default avatarEric Bernstein <eric.bernstein@amd.com>
Reviewed-by: default avatarCharlene Liu <Charlene.Liu@amd.com>
Acked-by: default avatarLeo Li <sunpeng.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d40605b6
...@@ -2860,7 +2860,7 @@ void core_link_set_avmute(struct pipe_ctx *pipe_ctx, bool enable) ...@@ -2860,7 +2860,7 @@ void core_link_set_avmute(struct pipe_ctx *pipe_ctx, bool enable)
{ {
struct dc *core_dc = pipe_ctx->stream->ctx->dc; struct dc *core_dc = pipe_ctx->stream->ctx->dc;
if (pipe_ctx->stream->signal != SIGNAL_TYPE_HDMI_TYPE_A) if (!dc_is_hdmi_signal(pipe_ctx->stream->signal))
return; return;
core_dc->hwss.set_avmute(pipe_ctx, enable); core_dc->hwss.set_avmute(pipe_ctx, enable);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment