drm/amd/display: Fixed the audio noise during mode switching with HDCP mode on
authorRoy Chan <roy.chan@amd.com>
Tue, 24 Nov 2020 23:20:13 +0000 (18:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Dec 2020 04:04:46 +0000 (23:04 -0500)
commitc0794a3b5999d612c396a66875ccaf93cf396631
treebfcf51b2c7a60f0f3b390d3dc4b7c37ac8a2343b
parent4bbfae00ac22810de9e539258f27ab5993619493
drm/amd/display: Fixed the audio noise during mode switching with HDCP mode on

[Why]
When HDCP is on, some display would introduce audio noise during
HDCP handling.

[How]
Mute before HDCP handling when disabling core link. Unmute after
HDCP when enabling core link.

Signed-off-by: Roy Chan <roy.chan@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c