drm/amd/display: Don't try hdcp1.4 when content_type is set to type1
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Mon, 30 Mar 2020 17:29:46 +0000 (13:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Mar 2020 16:44:29 +0000 (12:44 -0400)
commitc2850c125d919efbb3a9ab46410d23912934f585
treef50b300dfccffe77622453a8fcb61eb3c25c50dc
parent49e78c820a025a2c6e849b34fe113727194a7034
drm/amd/display: Don't try hdcp1.4 when content_type is set to type1

[Why]
When content type property is set to 1. We should enable hdcp2.2 and if we cant
then stop. Currently the way it works in DC is that if we fail hdcp2, we will
try hdcp1 after.

[How]
Use link config to force disable hdcp1.4 when type1 is set.

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c