aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Park <Chris.Park@amd.com>2021-02-03 12:12:35 -0500
committerAlex Deucher <alexander.deucher@amd.com>2021-02-18 16:43:10 -0500
commit399d9bd66e2c14ee1051b55b27ffd5914d663c7b (patch)
tree386fca19c542672d74756c5f6e3802443336d0e5
parentdrm/amd/display: Copy over soc values before bounding box creation (diff)
downloadlinux-dev-399d9bd66e2c14ee1051b55b27ffd5914d663c7b.tar.xz
linux-dev-399d9bd66e2c14ee1051b55b27ffd5914d663c7b.zip
drm/amd/display: AVMUTE simplification
[Why] Simplify AVMUTE logic in coding [How] Avoid multiple calls on TMDS AVMUTE as updated logic now demands it. Signed-off-by: Chris Park <Chris.Park@amd.com> Reviewed-by: Charlene Liu <Charlene.Liu@amd.com> Acked-by: Qingqing Zhuo <Qingqing.Zhuo@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c
index 9620fb8a27dc..ab93da667d51 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c
@@ -649,7 +649,7 @@ void dcn30_set_avmute(struct pipe_ctx *pipe_ctx, bool enable)
if (pipe_ctx == NULL)
return;
- if (dc_is_hdmi_tmds_signal(pipe_ctx->stream->signal) && pipe_ctx->stream_res.stream_enc != NULL)
+ if (dc_is_hdmi_signal(pipe_ctx->stream->signal) && pipe_ctx->stream_res.stream_enc != NULL)
pipe_ctx->stream_res.stream_enc->funcs->set_avmute(
pipe_ctx->stream_res.stream_enc,
enable);