drm/amdgpu: add the smu_v13_0_6 and gfx_v9_4_3 ip block
authorShiwu Zhang <shiwu.zhang@amd.com>
Wed, 17 May 2023 05:49:08 +0000 (13:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:41:02 +0000 (10:41 -0400)
Signed-off-by: Shiwu Zhang <shiwu.zhang@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 caae6bf..a0685a5 100644 (file)
@@ -30,6 +30,7 @@
 
 #include "soc15.h"
 #include "gfx_v9_0.h"
+#include "gfx_v9_4_3.h"
 #include "gmc_v9_0.h"
 #include "df_v1_7.h"
 #include "df_v3_6.h"
@@ -1795,6 +1796,7 @@ static int amdgpu_discovery_set_smu_ip_blocks(struct amdgpu_device *adev)
        case IP_VERSION(13, 0, 3):
        case IP_VERSION(13, 0, 4):
        case IP_VERSION(13, 0, 5):
+       case IP_VERSION(13, 0, 6):
        case IP_VERSION(13, 0, 7):
        case IP_VERSION(13, 0, 8):
        case IP_VERSION(13, 0, 10):
@@ -1893,6 +1895,9 @@ static int amdgpu_discovery_set_gc_ip_blocks(struct amdgpu_device *adev)
        case IP_VERSION(9, 4, 2):
                amdgpu_device_ip_block_add(adev, &gfx_v9_0_ip_block);
                break;
+       case IP_VERSION(9, 4, 3):
+               amdgpu_device_ip_block_add(adev, &gfx_v9_4_3_ip_block);
+               break;
        case IP_VERSION(10, 1, 10):
        case IP_VERSION(10, 1, 2):
        case IP_VERSION(10, 1, 1):