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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jul 2021 07:44:36 +0000 (09:44 +0200)
commitfb7479d64d77a3bb0ee992f9e450cf52d56c6b2c
treef0fd5bb0149847bc25bbecd311086fb71e1f0fa9
parentd055669e669ad488b298465dbe8ff5e2a14c437a
drm/amd/display: fix HDCP reset sequence on reinitialize

[ Upstream commit 99c248c41c2199bd34232ce8e729d18c4b343b64 ]

[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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp.c