Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: stable@vger.kernel.org
Signed-off-by: Jaehyun Chung <jaehyun.chung@amd.com>
Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Jaehyun Chung and committed by
Alex Deucher
8db2d634 57321eae

+1 -2
+1 -2
drivers/gpu/drm/amd/display/dc/core/dc_link.c
··· 3286 3286 core_link_set_avmute(pipe_ctx, true); 3287 3287 } 3288 3288 3289 + dc->hwss.blank_stream(pipe_ctx); 3289 3290 #if defined(CONFIG_DRM_AMD_DC_HDCP) 3290 3291 update_psp_stream_config(pipe_ctx, true); 3291 3292 #endif 3292 - 3293 - dc->hwss.blank_stream(pipe_ctx); 3294 3293 3295 3294 if (pipe_ctx->stream->signal == SIGNAL_TYPE_DISPLAY_PORT_MST) 3296 3295 deallocate_mst_payload(pipe_ctx);