]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdgpu: add soc v1_0 common block for IP discovery
authorLe Ma <le.ma@amd.com>
Mon, 24 Feb 2025 13:09:58 +0000 (21:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 18:56:38 +0000 (13:56 -0500)
add soc v1_0 common block

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index 0e743f6ff90ae53d84d0318427c1e7d31101444d..4e123af894e86eef05dcd1464c345b3911211a4e 100644 (file)
@@ -71,6 +71,7 @@
 #include "nv.h"
 #include "soc21.h"
 #include "soc24.h"
+#include "soc_v1_0.h"
 #include "navi10_ih.h"
 #include "ih_v6_0.h"
 #include "ih_v6_1.h"
@@ -1990,6 +1991,9 @@ static int amdgpu_discovery_set_common_ip_blocks(struct amdgpu_device *adev)
        case IP_VERSION(12, 0, 1):
                amdgpu_device_ip_block_add(adev, &soc24_common_ip_block);
                break;
+       case IP_VERSION(12, 1, 0):
+               amdgpu_device_ip_block_add(adev, &soc_v1_0_common_ip_block);
+               break;
        default:
                dev_err(adev->dev,
                        "Failed to add common ip block(GC_HWIP:0x%x)\n",