]> git.hungrycats.org Git - linux/commit
drm/amd/display: Blank stream before destroying HDCP session
authorJaehyun Chung <jaehyun.chung@amd.com>
Thu, 30 Jul 2020 20:31:29 +0000 (16:31 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Aug 2020 09:42:07 +0000 (11:42 +0200)
commitcdda25b43e0efb8df20a6f9956ff9091a1355328
tree0e0d0bad5a029e0184940c559351a281e72fd444
parenta4615f3893f39560dd3e71865e80bccd20330321
drm/amd/display: Blank stream before destroying HDCP session

commit 79940e4d10df9c737a394630968471c632246ee0 upstream.

[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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/core/dc_link.c