Skip to content

Commit bd42538

Browse files
unsccaptain1alexdeucher
authored andcommitted
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 <[email protected]> Reviewed-by: Charlene Liu <[email protected]> Acked-by: Aurabindo Pillai <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent e106c96 commit bd42538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/dc/core/dc_link.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3282,7 +3282,7 @@ void core_link_disable_stream(struct pipe_ctx *pipe_ctx)
32823282
dc_is_virtual_signal(pipe_ctx->stream->signal))
32833283
return;
32843284

3285-
if (pipe_ctx->stream->signal == SIGNAL_TYPE_HDMI_TYPE_A) {
3285+
if (dc_is_hdmi_signal(pipe_ctx->stream->signal)) {
32863286
core_link_set_avmute(pipe_ctx, true);
32873287
}
32883288

0 commit comments

Comments
 (0)