]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86c0c3bf24256ca1a56511b00c8961944ba3fbf7
treebfcf51b2c7a60f0f3b390d3dc4b7c37ac8a2343b
parent39a89a1b1eff3c9c4d03bcefd427a5b2fdddd163
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