mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 06:08:22 +00:00
drm/amd/display: Use helper for determining HDMI signal
Use helper to determine if HDMI signal when processing avmute. Signed-off-by: Eric Bernstein <eric.bernstein@amd.com> Reviewed-by: Charlene Liu <Charlene.Liu@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
d40605b6d0
commit
a280a71f5e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
if (pipe_ctx->stream->signal != SIGNAL_TYPE_HDMI_TYPE_A)
|
||||
if (!dc_is_hdmi_signal(pipe_ctx->stream->signal))
|
||||
return;
|
||||
|
||||
core_dc->hwss.set_avmute(pipe_ctx, enable);
|
||||
|
|
Loading…
Add table
Reference in a new issue