From: Jonathan Cavitt <jonathan.cavitt@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: jonathan.cavitt@intel.com
Subject: [igt-dev] [PATCH i-g-t v3 1/2] lib/i915: Add DRM_I915_QUERY_L3BANK_COUNT query
Date: Mon, 25 Sep 2023 07:31:53 -0700 [thread overview]
Message-ID: <20230925143154.4055120-2-jonathan.cavitt@intel.com> (raw)
In-Reply-To: <20230925143154.4055120-1-jonathan.cavitt@intel.com>
Add local specifications for DRM_I915_QUERY_L3BANK_COUNT query.
Signed-off-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
---
lib/i915/i915_drm_local.h | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/lib/i915/i915_drm_local.h b/lib/i915/i915_drm_local.h
index 0f47578c63..0127eef540 100644
--- a/lib/i915/i915_drm_local.h
+++ b/lib/i915/i915_drm_local.h
@@ -22,6 +22,19 @@ extern "C" {
#define I915_ENGINE_CLASS_COMPUTE 4
#define DRM_I915_QUERY_GEOMETRY_SUBSLICES 6
+#define DRM_I915_QUERY_L3BANK_COUNT 7
+
+/**
+ * DOC: L3 Bank Count Query uAPI
+ *
+ * The L3 bank count query called through the query id
+ * DRM_I915_QUERY_L3BANK_COUNT and returns the count of
+ * the available L3 Banks on a given engine.
+ *
+ * The count itself is an integer, and since no additional
+ * data is returned, the count is returned as such.
+ */
+
#define DRM_I915_PERF_PROP_OA_ENGINE_CLASS 9
#define DRM_I915_PERF_PROP_OA_ENGINE_INSTANCE 10
--
2.25.1
next prev parent reply other threads:[~2023-09-25 14:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-25 14:31 [igt-dev] [PATCH i-g-t v3 0/2] intel/i915_query: Add query-l3-bank-count subtest Jonathan Cavitt
2023-09-25 14:31 ` Jonathan Cavitt [this message]
2023-09-25 14:31 ` [igt-dev] [PATCH i-g-t v3 2/2] tests/i915_query.c: " Jonathan Cavitt
2023-09-25 16:32 ` Kamil Konieczny
2023-09-25 19:10 ` [igt-dev] ✗ GitLab.Pipeline: warning for intel/i915_query: Add query-l3-bank-count subtest (rev2) Patchwork
2023-09-25 19:39 ` [igt-dev] ✓ CI.xeBAT: success " Patchwork
2023-09-25 19:40 ` [igt-dev] ✓ Fi.CI.BAT: " Patchwork
2023-09-25 23:40 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
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=20230925143154.4055120-2-jonathan.cavitt@intel.com \
--to=jonathan.cavitt@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