]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdgpu: Add hwid for AIGC
authorHawking Zhang <Hawking.Zhang@amd.com>
Wed, 23 Jul 2025 08:53:30 +0000 (16:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 18:56:29 +0000 (13:56 -0500)
Add hwid for a new ip block named AIGC

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
drivers/gpu/drm/amd/include/soc15_hw_ip.h

index 45af9c56d6b9931c926603dc5291e44a038d1f35..790e84fec949f512b9048c45c9cc834fcaf02de0 100644 (file)
@@ -796,6 +796,7 @@ enum amd_hw_ip_block_type {
        PCIE_HWIP,
        ISP_HWIP,
        ATU_HWIP,
+       AIGC_HWIP,
        MAX_HWIP
 };
 
index 00c1d73b9a0cea1ccd0b9b154512a7bfdfd8d2e8..87588d0c8a13b915da03b535fbfbdce8a8d3cb71 100644 (file)
@@ -210,6 +210,7 @@ static const char *hw_id_names[HW_ID_MAX] = {
        [MP0_HWID]              = "MP0",
        [VPE_HWID]              = "VPE",
        [ATU_HWID]              = "ATU",
+       [AIGC_HWID]             = "AIGC",
 };
 
 static int hw_id_map[MAX_HWIP] = {
index c2efc2d2bee1ce462bc362dcaf4b65470ebc89a7..a20e59584dde7880fce43258bd2b8c08e536e5e2 100644 (file)
 #define XGBE_HWID                                        216
 #define MP0_HWID                                         255
 #define ATU_HWID                                         294
+#define AIGC_HWID                                        295
 
 #endif