]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amdgpu/discovery: Add common soc24 ip block
authorLikun Gao <Likun.Gao@amd.com>
Thu, 9 Mar 2023 06:35:58 +0000 (14:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Apr 2024 13:51:06 +0000 (09:51 -0400)
Add common soc24 ip block.

v2: squash in updates (Alex)

Signed-off-by: Likun Gao <Likun.Gao@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 0e31bdb4b7cb6047e8857c4290696035d8a27571..79b43e4bf7c8bf3940491341e6496e8add5d2af9 100644 (file)
@@ -68,6 +68,7 @@
 #include "hdp_v7_0.h"
 #include "nv.h"
 #include "soc21.h"
+#include "soc24.h"
 #include "navi10_ih.h"
 #include "ih_v6_0.h"
 #include "ih_v6_1.h"
@@ -1700,6 +1701,10 @@ static int amdgpu_discovery_set_common_ip_blocks(struct amdgpu_device *adev)
        case IP_VERSION(11, 5, 1):
                amdgpu_device_ip_block_add(adev, &soc21_common_ip_block);
                break;
+       case IP_VERSION(12, 0, 0):
+       case IP_VERSION(12, 0, 1):
+               amdgpu_device_ip_block_add(adev, &soc24_common_ip_block);
+               break;
        default:
                dev_err(adev->dev,
                        "Failed to add common ip block(GC_HWIP:0x%x)\n",