drm/amdgpu/discovery: Fix device family for DCN42
authorRoman Li <Roman.Li@amd.com>
Thu, 14 May 2026 01:49:15 +0000 (21:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Jul 2026 23:12:34 +0000 (19:12 -0400)
GC 11.7.0 and 11.7.1 should map to AMDGPU_FAMILY_GC_11_5_4 for DCN42.

Fixes: cf591e67c095 ("drm/amdgpu: add support for GC IP version 11.7.0")
Fixes: a928d8d81ec5 ("drm/amdgpu: add support for GC IP version 11.7.1")
Signed-off-by: Roman Li <Roman.Li@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index d9edac5..44e7d2e 100644 (file)
@@ -3367,9 +3367,11 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
        case IP_VERSION(11, 5, 3):
        case IP_VERSION(11, 5, 4):
        case IP_VERSION(11, 5, 6):
+               adev->family = AMDGPU_FAMILY_GC_11_5_0;
+               break;
        case IP_VERSION(11, 7, 0):
        case IP_VERSION(11, 7, 1):
-               adev->family = AMDGPU_FAMILY_GC_11_5_0;
+               adev->family = AMDGPU_FAMILY_GC_11_5_4;
                break;
        case IP_VERSION(12, 0, 0):
        case IP_VERSION(12, 0, 1):