Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] drm-uapi/xe: Add check for access counter granularity
@ 2023-11-10 14:24 Francois Dugast
  2023-11-10 16:04 ` [igt-dev] ✓ CI.xeBAT: success for " Patchwork
  2023-11-15 12:32 ` [igt-dev] [PATCH i-g-t] " Kamil Konieczny
  0 siblings, 2 replies; 3+ messages in thread
From: Francois Dugast @ 2023-11-10 14:24 UTC (permalink / raw)
  To: igt-dev

Align with commit ("drm/xe/xe_exec_queue: Add check for access counter granularity")

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

diff --git a/include/drm-uapi/xe_drm.h b/include/drm-uapi/xe_drm.h
index d6dd9a388..b316868de 100644
--- a/include/drm-uapi/xe_drm.h
+++ b/include/drm-uapi/xe_drm.h
@@ -730,6 +730,20 @@ struct drm_xe_vm_bind {
 	__u64 reserved[2];
 };
 
+/* For use with XE_EXEC_QUEUE_SET_PROPERTY_ACC_GRANULARITY */
+
+/* Monitor 128KB contiguous region with 4K sub-granularity */
+#define XE_ACC_GRANULARITY_128K 0
+
+/* Monitor 2MB contiguous region with 64KB sub-granularity */
+#define XE_ACC_GRANULARITY_2M 1
+
+/* Monitor 16MB contiguous region with 512KB sub-granularity */
+#define XE_ACC_GRANULARITY_16M 2
+
+/* Monitor 64MB contiguous region with 2M sub-granularity */
+#define XE_ACC_GRANULARITY_64M 3
+
 /**
  * struct drm_xe_exec_queue_set_property - exec queue set property
  *
-- 
2.34.1

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

end of thread, other threads:[~2023-11-15 12:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-10 14:24 [igt-dev] [PATCH i-g-t] drm-uapi/xe: Add check for access counter granularity Francois Dugast
2023-11-10 16:04 ` [igt-dev] ✓ CI.xeBAT: success for " Patchwork
2023-11-15 12:32 ` [igt-dev] [PATCH i-g-t] " Kamil Konieczny

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