]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf372498c2ecb0f81659ab28c3347a7f0515e3fba
tree77d33c5cbc2aa556911fb2647ca57ff16e0b4909
parent5708a686d494b6b57bbce5c8ff876a3012d031fd
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