]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5625298d5ed70d3d6e94f53a5535f1978851eba1
treef50b300dfccffe77622453a8fcb61eb3c25c50dc
parent23c0241fc3665fb52ae2319c7bb56a9c10387e77
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