[PATCH 2/8] drm/amdgpu: add asic type for aqua_vanjaram

Shiwu Zhang shiwu.zhang at amd.com
Thu May 18 10:53:19 UTC 2023


From: Le Ma <le.ma at amd.com>

Add aqua_vanjaram in amdgpu_asic_name array and amdgpu_asic_type enum

Signed-off-by: Le Ma <le.ma at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |  1 +
 include/drm/amd_asic_type.h                | 23 +++++++++++-----------
 2 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index a9d9bbe8586b..a1312e1b5af3 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -125,6 +125,7 @@ const char *amdgpu_asic_name[] = {
 	"ARCTURUS",
 	"RENOIR",
 	"ALDEBARAN",
+	"AQUA_VANJARAM",
 	"NAVI10",
 	"CYAN_SKILLFISH",
 	"NAVI14",
diff --git a/include/drm/amd_asic_type.h b/include/drm/amd_asic_type.h
index 90b69270f2fa..2b926f9888bd 100644
--- a/include/drm/amd_asic_type.h
+++ b/include/drm/amd_asic_type.h
@@ -52,17 +52,18 @@ enum amd_asic_type {
 	CHIP_ARCTURUS,	/* 23 */
 	CHIP_RENOIR,	/* 24 */
 	CHIP_ALDEBARAN, /* 25 */
-	CHIP_NAVI10,	/* 26 */
-	CHIP_CYAN_SKILLFISH,	/* 27 */
-	CHIP_NAVI14,	/* 28 */
-	CHIP_NAVI12,	/* 29 */
-	CHIP_SIENNA_CICHLID,	/* 30 */
-	CHIP_NAVY_FLOUNDER,	/* 31 */
-	CHIP_VANGOGH,	/* 32 */
-	CHIP_DIMGREY_CAVEFISH,	/* 33 */
-	CHIP_BEIGE_GOBY,	/* 34 */
-	CHIP_YELLOW_CARP,	/* 35 */
-	CHIP_IP_DISCOVERY,	/* 36 */
+	CHIP_AQUA_VANJARAM,	/* 26 */
+	CHIP_NAVI10,	/* 27 */
+	CHIP_CYAN_SKILLFISH,	/* 28 */
+	CHIP_NAVI14,	/* 29 */
+	CHIP_NAVI12,	/* 30 */
+	CHIP_SIENNA_CICHLID,	/* 31 */
+	CHIP_NAVY_FLOUNDER,	/* 32 */
+	CHIP_VANGOGH,	/* 33 */
+	CHIP_DIMGREY_CAVEFISH,	/* 34 */
+	CHIP_BEIGE_GOBY,	/* 35 */
+	CHIP_YELLOW_CARP,	/* 36 */
+	CHIP_IP_DISCOVERY,	/* 37 */
 	CHIP_LAST,
 };
 
-- 
2.17.1



More information about the amd-gfx mailing list