summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Ekstrand <jason@jlekstrand.net>2021-08-12 16:55:31 -0500
committerJason Ekstrand <jason@jlekstrand.net>2021-08-12 16:55:31 -0500
commit0eacf7fdc588afd57daf6cbe6018acbeaeb1cc2b (patch)
treed6606032e723bb5398d3d57d47b9a754a9119672
parent7cc420775e53180af9fbfe7607eaf529a083f4ab (diff)
uapi updates
-rw-r--r--include/drm-uapi/xe_drm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/drm-uapi/xe_drm.h b/include/drm-uapi/xe_drm.h
index e4397f22..42ee4bf3 100644
--- a/include/drm-uapi/xe_drm.h
+++ b/include/drm-uapi/xe_drm.h
@@ -124,12 +124,12 @@ struct xe_user_extension {
#define DRM_IOCTL_XE_VM_BIND DRM_IOW( DRM_COMMAND_BASE + DRM_XE_VM_BIND, struct drm_xe_vm_bind)
#define DRM_IOCTL_XE_ENGINE_CREATE DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_ENGINE_CREATE, struct drm_xe_engine_create)
#define DRM_IOCTL_XE_ENGINE_DESTROY DRM_IOW( DRM_COMMAND_BASE + DRM_XE_ENGINE_DESTROY, struct drm_xe_engine_destroy)
-#define DRM_IOCTL_XE_EXEC DRM_IOW( DRM_COMMAND_BASE + DRM_XE_EXEC, drm_xe_exec)
+#define DRM_IOCTL_XE_EXEC DRM_IOW( DRM_COMMAND_BASE + DRM_XE_EXEC, struct drm_xe_exec)
struct drm_xe_engine_class_instance {
__u16 engine_class;
-#define DRM_XE_ENGINE_CLASS_RENDER
+#define DRM_XE_ENGINE_CLASS_RENDER 0
__u16 engine_instance;
};
@@ -224,8 +224,8 @@ struct drm_xe_vm_bind {
/** @extensions: Pointer to the first extension struct, if any */
__u64 extensions;
- /** @flags: MBZ */
- __u32 flags;
+ /** @vm_id: The ID of the VM to bind to */
+ __u32 vm_id;
/** @obj: GEM object to bind */
__u32 obj;