OSDN Git Service

drm/amd/display: Avoid HDCP initialization in devices without output
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tue, 17 Nov 2020 20:25:48 +0000 (15:25 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Nov 2020 17:04:47 +0000 (12:04 -0500)
commitaf5bbf93101dda20f5d89437ed00696704a65c51
tree2b325dfac50424e32e24d8fe30bdc0e7ef9da00a
parent38d6be8199331e4739486156c74a64a8ece717a3
drm/amd/display: Avoid HDCP initialization in devices without output

The HDCP feature requires at least one connector attached to the device;
however, some GPUs do not have a physical output, making the HDCP
initialization irrelevant. This patch disables HDCP initialization when
the graphic card does not have output.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c