[Intel-xe] [RFC 15/25] drm/xe/eudebug: Set vm metadata
Mika Kuoppala
mika.kuoppala at linux.intel.com
Mon Nov 6 11:18:35 UTC 2023
Event definition for set vm metadata
Signed-off-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
---
include/uapi/drm/xe_drm_tmp.h | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/include/uapi/drm/xe_drm_tmp.h b/include/uapi/drm/xe_drm_tmp.h
index 0c49583e453d..776ec9d0f32f 100644
--- a/include/uapi/drm/xe_drm_tmp.h
+++ b/include/uapi/drm/xe_drm_tmp.h
@@ -91,6 +91,21 @@ struct drm_xe_eudebug_event_metadata {
__u64 id;
} __attribute__((packed));
+struct drm_xe_eudebug_event_vm_set_metadata {
+ struct drm_xe_eudebug_event base;
+
+ __u64 client_handle;
+ __u64 vm_handle;
+
+ /* XXX: Refer to xe_drm.h for fields */
+ __u64 type;
+ union {
+ __u64 cookie;
+ __u64 offset;
+ };
+ __u64 len;
+} __attribute__((packed));
+
/*
* Debugger ABI (ioctl and events) Version History:
* 0 - No debugger available
--
2.34.1
More information about the Intel-xe
mailing list