Skip to content

Commit 79940e4

Browse files
Jaehyun Chungalexdeucher
authored andcommitted
drm/amd/display: Blank stream before destroying HDCP session
[Why] Stream disable sequence incorretly destroys HDCP session while stream is not blanked and while audio is not muted. This sequence causes a flash of corruption during mode change and an audio click. [How] Change sequence to blank stream before destroying HDCP session. Audio will also be muted by blanking the stream. Cc: [email protected] Signed-off-by: Jaehyun Chung <[email protected]> Reviewed-by: Alvin Lee <[email protected]> Acked-by: Qingqing Zhuo <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent b24bdc3 commit 79940e4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3286,12 +3286,11 @@ void core_link_disable_stream(struct pipe_ctx *pipe_ctx)
32863286
core_link_set_avmute(pipe_ctx, true);
32873287
}
32883288

3289+
dc->hwss.blank_stream(pipe_ctx);
32893290
#if defined(CONFIG_DRM_AMD_DC_HDCP)
32903291
update_psp_stream_config(pipe_ctx, true);
32913292
#endif
32923293

3293-
dc->hwss.blank_stream(pipe_ctx);
3294-
32953294
if (pipe_ctx->stream->signal == SIGNAL_TYPE_DISPLAY_PORT_MST)
32963295
deallocate_mst_payload(pipe_ctx);
32973296

0 commit comments

Comments
 (0)