-
-
Save Sonicadvance1/66a34f175d467b266629f7a5423ba2cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/include/fex-drm/xe_drm.h b/include/fex-drm/xe_drm.h | |
index f564860..a3dcca0 100644 | |
--- a/include/fex-drm/xe_drm.h | |
+++ b/include/fex-drm/xe_drm.h | |
@@ -288,6 +288,8 @@ struct drm_xe_gem_create { | |
*/ | |
__u32 handle; | |
+ __u32 pad; | |
+ | |
/** @reserved: Reserved */ | |
__u64 reserved[2]; | |
}; | |
@@ -376,6 +378,8 @@ struct drm_xe_vm_bind_op { | |
*/ | |
__u32 obj; | |
+ __u32 pad; | |
+ | |
union { | |
/** | |
* @obj_offset: Offset into the object, MBZ for CLEAR_RANGE, | |
@@ -466,6 +470,9 @@ struct drm_xe_vm_bind { | |
/** @num_binds: number of binds in this IOCTL */ | |
__u32 num_binds; | |
+ /** @num_syncs: amount of syncs to wait on */ | |
+ __u32 num_syncs; | |
+ | |
union { | |
/** @bind: used if num_binds == 1 */ | |
struct drm_xe_vm_bind_op bind; | |
@@ -476,9 +483,6 @@ struct drm_xe_vm_bind { | |
__u64 vector_of_binds; | |
}; | |
- /** @num_syncs: amount of syncs to wait on */ | |
- __u32 num_syncs; | |
- | |
/** @syncs: pointer to struct drm_xe_sync array */ | |
__u64 syncs; | |
@@ -634,6 +638,7 @@ struct drm_xe_exec { | |
* the width of the engine | |
*/ | |
__u16 num_batch_buffer; | |
+ __u16 pad[3]; | |
/** @reserved: Reserved */ | |
__u64 reserved[2]; | |
@@ -697,6 +702,9 @@ struct drm_xe_wait_user_fence { | |
#define DRM_XE_UFENCE_WAIT_ABSTIME (1 << 1) | |
#define DRM_XE_UFENCE_WAIT_VM_ERROR (1 << 2) | |
__u16 flags; | |
+ | |
+ __u16 pad[2]; | |
+ | |
/** @value: compare value */ | |
__u64 value; | |
/** @mask: comparison mask */ | |
@@ -729,6 +737,8 @@ struct drm_xe_vm_madvise { | |
/** @vm_id: The ID VM in which the VMA exists */ | |
__u32 vm_id; | |
+ __u32 pad; | |
+ | |
/** @range: Number of bytes in the VMA */ | |
__u64 range; | |
@@ -773,6 +783,8 @@ struct drm_xe_vm_madvise { | |
/** @property: property to set */ | |
__u32 property; | |
+ __u32 pad2; | |
+ | |
/** @value: property value */ | |
__u64 value; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment