]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix HDCP reset sequence on reinitialize
authorBrandon Syu <Brandon.Syu@amd.com>
Fri, 9 Apr 2021 06:47:46 +0000 (14:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Apr 2021 03:35:50 +0000 (23:35 -0400)
commitfb0a9daf82ded4c67cfa44cb9782ec59d009f727
tree847aecdf954c90c95ecbf65bc64068938f387cc8
parent28ba55e9f044a6d8e9c87615490ca911a563d8e4
drm/amd/display: fix HDCP reset sequence on reinitialize

[why]
When setup is called after hdcp has already setup,
it would cause to disable HDCP flow won’t execute.

[how]
Don't clean up hdcp content to be 0.

Signed-off-by: Brandon Syu <Brandon.Syu@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Wayne Lin <waynelin@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