diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-07-19 09:51:47 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-07-19 09:51:47 +0000 |
commit | bf1e882779026f84b0729de9356234b61be07078 (patch) | |
tree | dfab21216f49b8510883b50cb07a9afa51139fe8 /sys/dev | |
parent | 53bcd8104e54b480a01cec7bee159c287b487498 (diff) |
drm/amd/display: fix HDCP reset sequence on reinitialize
From Brandon Syu
fb7479d64d77a3bb0ee992f9e450cf52d56c6b2c in linux 5.10.y/5.10.51
99c248c41c2199bd34232ce8e729d18c4b343b64 in mainline linux
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/drm/amd/display/modules/hdcp/hdcp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/display/modules/hdcp/hdcp.c b/sys/dev/pci/drm/amd/display/modules/hdcp/hdcp.c index 3a4fcbbbd93..8c1df717314 100644 --- a/sys/dev/pci/drm/amd/display/modules/hdcp/hdcp.c +++ b/sys/dev/pci/drm/amd/display/modules/hdcp/hdcp.c @@ -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); |