OSDN Git Service

drm/amd/display: Add DCN3.1 HDCP support
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Wed, 19 May 2021 16:37:16 +0000 (12:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:39:18 +0000 (16:39 -0400)
commitbf62221e9d0e1e4ba50ab2b331a0008c15de97be
tree74a12b8a2ac3ee32fecede6819fb1f65651d3272
parent809fe88d83434b88899425511e86e7edf354ce6d
drm/amd/display: Add DCN3.1 HDCP support

New DTM interface is V3 and we need to extend our existing support
to enable HDCP on DCN3.1.

Version the helpers and fallback to the older versions on failure
in the new interfaces.

Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-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
drivers/gpu/drm/amd/display/dc/dm_cp_psp.h
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.c
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.h
drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h