]> git.baikalelectronics.ru Git - kernel.git/commit
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:32:06 +0000 (12:32 -0500)
commit60ab2483364767ac625f6dd65d3038ed69bd0bc8
treea2eccf6eabb75178b25256febd8ca11193f3c1d2
parent6bb9505f1630318dd2726f450a4b0f4ed3f24e23
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c