]> 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)
commitcc0c6e805e81da2e45be0b8932ce47d1d341aeab
treef50b300dfccffe77622453a8fcb61eb3c25c50dc
parent0dd9ef4484b9c47c8325939f9f79724166ee83a1
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