]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdgpu: Add gfx v12_1_0 to discovery list
authorLikun Gao <Likun.Gao@amd.com>
Thu, 13 Feb 2025 02:16:04 +0000 (10:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 18:56:43 +0000 (13:56 -0500)
Include gfx v12_1_0 in the discovery list for
gfx IP blocks

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Mukul Joshi <mukul.joshi@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index 0b94a23d03b6811c409640373708e1fe729a2471..ffffc60c98db5d1b1634ddd94f2ecfc512088328 100644 (file)
@@ -79,6 +79,7 @@
 #include "gfx_v10_0.h"
 #include "gfx_v11_0.h"
 #include "gfx_v12_0.h"
+#include "gfx_v12_1.h"
 #include "sdma_v5_0.h"
 #include "sdma_v5_2.h"
 #include "sdma_v6_0.h"
@@ -2363,6 +2364,9 @@ static int amdgpu_discovery_set_gc_ip_blocks(struct amdgpu_device *adev)
        case IP_VERSION(12, 0, 1):
                amdgpu_device_ip_block_add(adev, &gfx_v12_0_ip_block);
                break;
+       case IP_VERSION(12, 1, 0):
+               amdgpu_device_ip_block_add(adev, &gfx_v12_1_ip_block);
+               break;
        default:
                dev_err(adev->dev, "Failed to add gfx ip block(GC_HWIP:0x%x)\n",
                        amdgpu_ip_version(adev, GC_HWIP, 0));