[Intel-xe] [RFC 14/25] drm/xe/eudebug: Create/destroy user metadata
Mika Kuoppala
mika.kuoppala at linux.intel.com
Mon Nov 6 11:18:34 UTC 2023
Event definition for create/destroy user metadata
Signed-off-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
---
include/uapi/drm/xe_drm_tmp.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/include/uapi/drm/xe_drm_tmp.h b/include/uapi/drm/xe_drm_tmp.h
index 6b07f5a5c404..0c49583e453d 100644
--- a/include/uapi/drm/xe_drm_tmp.h
+++ b/include/uapi/drm/xe_drm_tmp.h
@@ -79,6 +79,18 @@ struct drm_xe_eudebug_event_eu_attention {
__u8 bitmask[0];
} __attribute__((packed));
+struct drm_xe_eudebug_event_metadata {
+ struct drm_xe_eudebug_event base;
+
+ __u64 client_handle;
+
+ /* XXX: Refer to xe_drm.h for fields */
+ __u64 type;
+ __u64 user_addr;
+ __u64 len;
+ __u64 id;
+} __attribute__((packed));
+
/*
* Debugger ABI (ioctl and events) Version History:
* 0 - No debugger available
--
2.34.1
More information about the Intel-xe
mailing list