]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: Support DCN36 HDCP
authorWayne Lin <Wayne.Lin@amd.com>
Fri, 10 Jan 2025 13:17:55 +0000 (21:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Feb 2025 02:04:08 +0000 (21:04 -0500)
Add case in hdcp_create_workqueue() to support HDCP on DCN36 as well.

Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c

index e339c7a8d541c962aa44ae25ad97b864285394b8..8238cfd276be3b6cf6f420a69966e733dff9f18b 100644 (file)
@@ -742,6 +742,7 @@ struct hdcp_workqueue *hdcp_create_workqueue(struct amdgpu_device *adev,
                    dc->ctx->dce_version == DCN_VERSION_3_15 ||
                    dc->ctx->dce_version == DCN_VERSION_3_5 ||
                    dc->ctx->dce_version == DCN_VERSION_3_51 ||
+                   dc->ctx->dce_version == DCN_VERSION_3_6 ||
                    dc->ctx->dce_version == DCN_VERSION_3_16)
                        hdcp_work[i].hdcp.config.psp.caps.dtm_v3_supported = 1;
                hdcp_work[i].hdcp.config.ddc.handle = dc_get_link_at_index(dc, i);