All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] lib/amdgpu: add GFX1150 chips for IGT tests
@ 2023-11-29  8:05 Jesse Zhang
  2023-11-29  9:36 ` [igt-dev] ✓ CI.xeBAT: success for " Patchwork
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Jesse Zhang @ 2023-11-29  8:05 UTC (permalink / raw)
  To: igt-dev; +Cc: Luben Tuikov, Alex Deucher, Christian Koenig

Add new asic id for igt.

Cc: Vitaly Prosyak <vitaly.prosyak@amd.com>
Cc: Luben Tuikov <luben.tuikov@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian Koenig <christian.koenig@amd.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>

Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
---
 lib/amdgpu/amd_family.h       | 1 +
 lib/amdgpu/amd_ip_blocks.c    | 3 +++
 lib/amdgpu/amdgpu_asic_addr.h | 4 ++++
 3 files changed, 8 insertions(+)

diff --git a/lib/amdgpu/amd_family.h b/lib/amdgpu/amd_family.h
index 9e534208d..847fb0375 100644
--- a/lib/amdgpu/amd_family.h
+++ b/lib/amdgpu/amd_family.h
@@ -104,6 +104,7 @@ enum radeon_family {
 	CHIP_GFX1102,
 	CHIP_GFX1103_R1,
 	CHIP_GFX1103_R2,
+	CHIP_GFX1150,
 	CHIP_LAST,
 };
 
diff --git a/lib/amdgpu/amd_ip_blocks.c b/lib/amdgpu/amd_ip_blocks.c
index 58a037ac0..1adea6987 100644
--- a/lib/amdgpu/amd_ip_blocks.c
+++ b/lib/amdgpu/amd_ip_blocks.c
@@ -656,6 +656,9 @@ int setup_amdgpu_ip_blocks(uint32_t major, uint32_t minor, struct amdgpu_gpu_inf
 		identify_chip(GFX1103_R1);
 		identify_chip(GFX1103_R2);
 		break;
+	case FAMILY_GFX1150:
+		identify_chip(GFX1150);
+		break;
 	}
 	if (!info->name) {
 		igt_info("amdgpu: unknown (family_id, chip_external_rev): (%u, %u)\n",
diff --git a/lib/amdgpu/amdgpu_asic_addr.h b/lib/amdgpu/amdgpu_asic_addr.h
index 1178a920e..0130ae2f0 100644
--- a/lib/amdgpu/amdgpu_asic_addr.h
+++ b/lib/amdgpu/amdgpu_asic_addr.h
@@ -29,6 +29,7 @@
 #define FAMILY_YC      0x92
 #define FAMILY_GFX1103 0x94
 #define FAMILY_GFX1036 0x95
+#define FAMILY_GFX1150 0x96
 #define FAMILY_GFX1037 0x97
 
 // AMDGPU_FAMILY_IS(familyId, familyName)
@@ -47,6 +48,7 @@
 #define FAMILY_IS_GFX1036(f) FAMILY_IS(f, GFX1036)
 #define FAMILY_IS_GFX1037(f) FAMILY_IS(f, GFX1037)
 #define FAMILY_IS_GFX1100(f) FAMILY_IS(f, GFX1100)
+#define FAMILY_IS_GFX1150(f) FAMILY_IS(f, GFX1150)
 
 #define AMDGPU_UNKNOWN          0xFF
 
@@ -104,6 +106,7 @@
 #define AMDGPU_GFX1102_RANGE     0x10, 0x20 //# 16 <= x < 32
 #define AMDGPU_GFX1103_R1_RANGE  0x01, 0x80 //# 1 <= x < 128
 #define AMDGPU_GFX1103_R2_RANGE  0x80, 0xFF //# 128 <= x < max
+#define AMDGPU_GFX1150_RANGE     0x01, 0xFF //# 01 <= x < 255
 
 #define AMDGPU_EXPAND_FIX(x) x
 #define AMDGPU_RANGE_HELPER(val, min, max) ((val >= min) && (val < max))
@@ -167,5 +170,6 @@
 #define ASICREV_IS_GFX1102(r)          ASICREV_IS(r, GFX1102)
 #define ASICREV_IS_GFX1103_R1(r)       ASICREV_IS(r, GFX1103_R1)
 #define ASICREV_IS_GFX1103_R2(r)       ASICREV_IS(r, GFX1103_R2)
+#define ASICREV_IS_GFX1150(r)          ASICREV_IS(r, GFX1150)
 
 #endif // _AMDGPU_ASIC_ADDR_H
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-12-05 12:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-29  8:05 [igt-dev] [PATCH i-g-t] lib/amdgpu: add GFX1150 chips for IGT tests Jesse Zhang
2023-11-29  9:36 ` [igt-dev] ✓ CI.xeBAT: success for " Patchwork
2023-11-29  9:39 ` [igt-dev] ✗ Fi.CI.BAT: failure " Patchwork
2023-11-30 14:09   ` Kamil Konieczny
2023-12-01 10:24     ` Illipilli, TejasreeX
2023-11-29 20:00 ` [igt-dev] [PATCH i-g-t] " vitaly prosyak
2023-12-01  9:43 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-12-02 22:25 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-12-04 10:23   ` Kamil Konieczny
2023-12-05 12:49 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.