From: Tim Huang Date: Thu, 2 Jan 2025 06:30:35 +0000 (+0800) Subject: drm/amdgpu: add discovery support for DCN IP version 3.6.0 X-Git-Tag: v6.15-rc1~120^2~17^2~88 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=76e0410fe07ea236477adf7468636a9def0769bd;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu: add discovery support for DCN IP version 3.6.0 Add discovery entry for DCN IP version 3.6.0. Signed-off-by: Tim Huang Reviewed-by: Yifan Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c index eca431e520386..998a5e48ba0d1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c @@ -2162,6 +2162,7 @@ static int amdgpu_discovery_set_display_ip_blocks(struct amdgpu_device *adev) case IP_VERSION(3, 2, 1): case IP_VERSION(3, 5, 0): case IP_VERSION(3, 5, 1): + case IP_VERSION(3, 6, 0): case IP_VERSION(4, 1, 0): /* TODO: Fix IP version. DC code expects version 4.0.1 */ if (adev->ip_versions[DCE_HWIP][0] == IP_VERSION(4, 1, 0))