Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Francois Dugast <francois.dugast@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Francois Dugast <francois.dugast@intel.com>
Subject: [PATCH i-g-t,v1 3/4] drm-uapi/xe: Expose the L3 bank mask
Date: Wed, 17 Apr 2024 14:50:48 +0000	[thread overview]
Message-ID: <20240417145049.7-4-francois.dugast@intel.com> (raw)
In-Reply-To: <20240417145049.7-1-francois.dugast@intel.com>

Align with kernel commit:
ca83f9d20171 ("drm/xe/uapi: Expose the L3 bank mask").

Signed-off-by: Francois Dugast <francois.dugast@intel.com>
---
 include/drm-uapi/xe_drm.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/drm-uapi/xe_drm.h b/include/drm-uapi/xe_drm.h
index d8816df83..ca4ed704d 100644
--- a/include/drm-uapi/xe_drm.h
+++ b/include/drm-uapi/xe_drm.h
@@ -508,6 +508,7 @@ struct drm_xe_query_gt_list {
  *    containing the following in mask:
  *    ``DSS_COMPUTE    ff ff ff ff 00 00 00 00``
  *    means 32 DSS are available for compute.
+ *  - %DRM_XE_TOPO_L3_BANK - To query the mask of enabled L3 banks
  *  - %DRM_XE_TOPO_EU_PER_DSS - To query the mask of Execution Units (EU)
  *    available per Dual Sub Slices (DSS). For example a query response
  *    containing the following in mask:
@@ -520,6 +521,7 @@ struct drm_xe_query_topology_mask {
 
 #define DRM_XE_TOPO_DSS_GEOMETRY	1
 #define DRM_XE_TOPO_DSS_COMPUTE		2
+#define DRM_XE_TOPO_L3_BANK		3
 #define DRM_XE_TOPO_EU_PER_DSS		4
 	/** @type: type of mask */
 	__u16 type;
-- 
2.34.1


  parent reply	other threads:[~2024-04-17 14:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-17 14:50 [PATCH i-g-t,v1 0/4] L3 bank mask Francois Dugast
2024-04-17 14:50 ` [PATCH i-g-t,v1 1/4] drm-uapi/xe: Align header with drm-xe-next Francois Dugast
2024-04-17 14:50 ` [PATCH i-g-t, v1 2/4] drm-uapi/xe: Define topology types as indexes rather than masks Francois Dugast
2024-04-17 14:50 ` Francois Dugast [this message]
2024-04-17 14:50 ` [PATCH i-g-t,v1 4/4] lib/xe/xe_query: Add L3 bank mask test Francois Dugast
2024-04-17 16:07 ` [PATCH i-g-t,v1 0/4] L3 bank mask Lucas De Marchi
2024-04-18 13:27   ` Francois Dugast
2024-04-19 16:05     ` Lucas De Marchi
2024-04-19 13:14   ` Kamil Konieczny
2024-04-19 16:02     ` Lucas De Marchi
2024-04-22  6:02   ` Zbigniew Kempczyński
2024-04-17 22:10 ` ✓ Fi.CI.BAT: success for " Patchwork
2024-04-17 22:27 ` ✓ CI.xeBAT: " Patchwork
2024-04-19  0:08 ` ✗ 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=20240417145049.7-4-francois.dugast@intel.com \
    --to=francois.dugast@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