]> git.baikalelectronics.ru Git - kernel.git/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)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Aug 2020 22:09:31 +0000 (18:09 -0400)
commit8ff18296f7e515b26a771a6e177f6f6a5d5e9f65
tree5f59608c1243395ab069ab8ab2af85f655947078
parent7417f3a12621381a34c53fd48bde5ada7c1d4c9a
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>
drivers/gpu/drm/amd/display/dc/core/dc_link.c