]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amdgpu: add GC 11.5.1 to GC 11.5.0 family
authorYifan Zhang <yifan1.zhang@amd.com>
Tue, 12 Dec 2023 09:09:18 +0000 (17:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Feb 2024 15:26:52 +0000 (10:26 -0500)
This patch to add GC 11.5.1 to GC 11.5.0 family.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index 8102e7fd0840e3a55d5cec1d88ad25a826062996..79a12665a6c9fef68fde0b0caeb0ab06af94e293 100644 (file)
@@ -2462,6 +2462,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
                adev->family = AMDGPU_FAMILY_GC_11_0_1;
                break;
        case IP_VERSION(11, 5, 0):
+       case IP_VERSION(11, 5, 1):
                adev->family = AMDGPU_FAMILY_GC_11_5_0;
                break;
        default:
@@ -2481,6 +2482,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
        case IP_VERSION(11, 0, 1):
        case IP_VERSION(11, 0, 4):
        case IP_VERSION(11, 5, 0):
+       case IP_VERSION(11, 5, 1):
                adev->flags |= AMD_IS_APU;
                break;
        default: