drm/amd/display: fix HDCP reset sequence on reinitialize
[ Upstream commit 99c248c41c ]
[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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d055669e66
commit
fb7479d64d
@@ -260,7 +260,6 @@ enum mod_hdcp_status mod_hdcp_setup(struct mod_hdcp *hdcp,
|
||||
struct mod_hdcp_output output;
|
||||
enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS;
|
||||
|
||||
memset(hdcp, 0, sizeof(struct mod_hdcp));
|
||||
memset(&output, 0, sizeof(output));
|
||||
hdcp->config = *config;
|
||||
HDCP_TOP_INTERFACE_TRACE(hdcp);
|
||||
|
||||
Reference in New Issue
Block a user