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)
commit99c248c41c2199bd34232ce8e729d18c4b343b64
tree847aecdf954c90c95ecbf65bc64068938f387cc8
parent760d2d818d2dbf232d2e1df2317381c59b95f86d
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