]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: only enable HDCP for DCN+
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Mon, 24 Jun 2019 18:54:13 +0000 (14:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:10:58 +0000 (09:10 -0500)
commitf2f8b3bd1e63b861f0511cb54522a8685c6b5b51
treea7d4de7ee25f1b9e28f66daac427456d1941ccd2
parenta6aa741a69b65583a82e16f71467f406ed42a698
drm/amd/display: only enable HDCP for DCN+

[Why]
We don't support HDCP for pre RAVEN asics

[How]
Check if we are RAVEN+. Use this to attach the content_protection
property, this way usermode can't try to enable HDCP on pre DCN asics.

Also we need to update the module on hpd so guard it aswell

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c