]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: update hdcp display using correct CP type.
authorDingchen (David) Zhang <dingchen.zhang@amd.com>
Fri, 8 Jan 2021 22:32:47 +0000 (17:32 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Apr 2021 01:37:28 +0000 (21:37 -0400)
commitc6bc898e56b4f557718501d4a665fd4fc121c5aa
treec1649c863a48a059b1ceef5a6a103108d8594cd9
parent8ae71b8abdba81990bcf88ef61738fced32c6a4d
drm/amd/display: update hdcp display using correct CP type.

[why]
currently we enforce to update hdcp display using TYPE0, but there
is case that connector CP type prop be TYPE1 instead of type0.

[how]
using the drm prop of CP type of the connector as input argument.

Signed-off-by: Dingchen (David) Zhang <dingchen.zhang@amd.com>
Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c