From: Julia Filipchuk <julia.filipchuk@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Julia Filipchuk <julia.filipchuk@intel.com>
Subject: [PATCH] tests/intel/*_query: Add new hwconfig table entry
Date: Mon, 9 Sep 2024 18:12:38 -0700 [thread overview]
Message-ID: <20240910011238.254204-1-julia.filipchuk@intel.com> (raw)
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
next reply other threads:[~2024-09-10 1:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-10 1:12 Julia Filipchuk [this message]
2024-09-12 0:03 ` ✓ CI.xeBAT: success for tests/intel/*_query: Add new hwconfig table entry 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240910011238.254204-1-julia.filipchuk@intel.com \
--to=julia.filipchuk@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox