Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cavitt <jonathan.cavitt@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: jonathan.cavitt@intel.com, saurabhg.gupta@intel.com
Subject: [igt-dev] [PATCH i-g-t v5 1/2] lib/i915: Add DRM_I915_QUERY_L3BANK_COUNT query
Date: Thu, 30 Nov 2023 08:02:52 -0800	[thread overview]
Message-ID: <20231130160253.3787505-2-jonathan.cavitt@intel.com> (raw)
In-Reply-To: <20231130160253.3787505-1-jonathan.cavitt@intel.com>

Add local specifications for DRM_I915_QUERY_L3BANK_COUNT query.

Signed-off-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Acked-by: Kamil Konieczny <kamil.konieczny@linux.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 af0176500d..9257c519bb 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

  reply	other threads:[~2023-11-30 16:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-30 16:02 [igt-dev] [PATCH i-g-t v5 0/2] intel/i915_query: Add query-l3-bank-count subtest Jonathan Cavitt
2023-11-30 16:02 ` Jonathan Cavitt [this message]
2023-11-30 16:02 ` [igt-dev] [PATCH i-g-t v5 2/2] tests/i915_query: " Jonathan Cavitt
2024-02-14 15:26   ` Kamil Konieczny
2024-02-14 19:55     ` Cavitt, Jonathan
2023-11-30 18:00 ` [igt-dev] ✓ Fi.CI.BAT: success for intel/i915_query: " Patchwork
2023-11-30 19:39 ` [igt-dev] ✓ CI.xeBAT: " Patchwork
2023-12-01 20:18 ` [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=20231130160253.3787505-2-jonathan.cavitt@intel.com \
    --to=jonathan.cavitt@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=saurabhg.gupta@intel.com \
    /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