OSDN Git Service

drm/amd/display: add update authentication interface
authorWenjing Liu <wenjing.liu@amd.com>
Wed, 14 Jul 2021 18:14:53 +0000 (14:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Jul 2021 20:37:17 +0000 (16:37 -0400)
commit40ef288f90f962998f272630454d10a409554fb8
tree77d33c5cbc2aa556911fb2647ca57ff16e0b4909
parentea2f15ff7eaf86d3e72b619d68397dabb8f404f7
drm/amd/display: add update authentication interface

[why]
Previously to toggle authentication, we need to remove and
add the same display back with modified adjustment.
This method will toggle DTM state without actual hardware changes.
This is not per design and would cause potential issues in the long run.

[how]
We are creating a dedicated interface that does the same thing as
remove and add back the display without changing DTM state.

Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp.c
drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h