Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/intel/*_query: Add new hwconfig table entry
@ 2024-09-10  1:12 Julia Filipchuk
  2024-09-12  0:03 ` ✓ CI.xeBAT: success for " Patchwork
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Julia Filipchuk @ 2024-09-10  1:12 UTC (permalink / raw)
  To: igt-dev; +Cc: Julia Filipchuk

Two new entries added to the hardware config table. Updated enum and
tests accordingly.

Signed-off-by: Julia Filipchuk <julia.filipchuk@intel.com>
---
 lib/intel_hwconfig_types.h | 2 ++
 tests/intel/i915_query.c   | 2 ++
 tests/intel/xe_query.c     | 4 +++-
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/lib/intel_hwconfig_types.h b/lib/intel_hwconfig_types.h
index 0e6ce5b17..b5d9f1c9e 100644
--- a/lib/intel_hwconfig_types.h
+++ b/lib/intel_hwconfig_types.h
@@ -97,6 +97,8 @@ enum intel_hwconfig {
 	INTEL_HWCONFIG_MIN_MESH_URB_ENTRIES,			/* 79 */
 	INTEL_HWCONFIG_MAX_MESH_URB_ENTRIES,			/* 80 */
 	INTEL_HWCONFIG_MAX_GSC,					/* 81 */
+	INTEL_HWCONFIG_SYNC_NUM_RT_STACKS_PER_DSS,		/* 82 */
+	INTEL_HWCONFIG_NUM_XECU,				/* 83 */
 	__INTEL_HWCONFIG_KEY_LIMIT
 };
 
diff --git a/tests/intel/i915_query.c b/tests/intel/i915_query.c
index 54dbb193a..df7e46a63 100644
--- a/tests/intel/i915_query.c
+++ b/tests/intel/i915_query.c
@@ -1340,6 +1340,8 @@ static const char * const hwconfig_keys[] = {
 	[INTEL_HWCONFIG_MIN_MESH_URB_ENTRIES] = "Min Mesh URB Entries",
 	[INTEL_HWCONFIG_MAX_MESH_URB_ENTRIES] = "Max Mesh URB Entries",
 	[INTEL_HWCONFIG_MAX_GSC] = "MaxGSC",
+	[INTEL_HWCONFIG_SYNC_NUM_RT_STACKS_PER_DSS] = "Sync Num RT Stacks Per DSS",
+	[INTEL_HWCONFIG_NUM_XECU] = "Num of XeCU",
 };
 
 static const char * const hwconfig_memtypes[] = {
diff --git a/tests/intel/xe_query.c b/tests/intel/xe_query.c
index ddb2e76e5..3a0a83135 100644
--- a/tests/intel/xe_query.c
+++ b/tests/intel/xe_query.c
@@ -50,7 +50,7 @@ void dump_hex_debug(void *buffer, int len)
 /* Please reflect intel_hwconfig_types.h changes below
  * static_asserti_value + get_hwconfig_name
  *   Thanks :-) */
-static_assert(INTEL_HWCONFIG_MAX_GSC + 1 == __INTEL_HWCONFIG_KEY_LIMIT, "");
+static_assert(INTEL_HWCONFIG_NUM_XECU + 1 == __INTEL_HWCONFIG_KEY_LIMIT, "");
 
 #define CASE_STRINGIFY(A) case INTEL_HWCONFIG_##A: return #A;
 const char* get_hwconfig_name(int param)
@@ -137,6 +137,8 @@ const char* get_hwconfig_name(int param)
 	CASE_STRINGIFY(MIN_MESH_URB_ENTRIES);
 	CASE_STRINGIFY(MAX_MESH_URB_ENTRIES);
 	CASE_STRINGIFY(MAX_GSC);
+	CASE_STRINGIFY(SYNC_NUM_RT_STACKS_PER_DSS);
+	CASE_STRINGIFY(NUM_XECU);
 	}
 	igt_assert_lt(param, __INTEL_HWCONFIG_KEY_LIMIT);
 	igt_assert(!"Missing config table enum");
-- 
2.45.2


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

end of thread, other threads:[~2025-01-03  6:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-10  1:12 [PATCH] tests/intel/*_query: Add new hwconfig table entry Julia Filipchuk
2024-09-12  0:03 ` ✓ CI.xeBAT: success for " Patchwork
2024-09-12  0:18 ` ✓ Fi.CI.BAT: " Patchwork
2024-09-12  2:09 ` ✗ CI.xeFULL: failure " Patchwork
2024-09-12  7:21 ` ✗ Fi.CI.IGT: " Patchwork
2024-09-12  8:57 ` [PATCH] " Kamil Konieczny
2024-09-13 20:02 ` John Harrison
2025-01-03  6:11 ` Jordan Justen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox