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)
commit96a3b32e67236f547cc8acd69d5a3cef125b2295
treea7d4de7ee25f1b9e28f66daac427456d1941ccd2
parentda3fd7ac0bcf372cc57117bdfcd725cca7ef975a
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