diff options
author | Francois Dugast <francois.dugast@intel.com> | 2023-11-21 20:23:15 +0100 |
---|---|---|
committer | Francois Dugast <francois.dugast@intel.com> | 2023-12-05 09:26:37 +0100 |
commit | ce4e53b0faecde8884f1d4eac81d604b6e1904b8 (patch) | |
tree | f8c5b208afb11778932ae4c6e668a6e0bf98aeb3 /include/drm-uapi | |
parent | a2ea392bd694742de7c4897ac675b468bb34ae63 (diff) |
drm-uapi/xe: Split xe_sync types from flags
Align with commit ("drm/xe/uapi: Split xe_sync types from flags")
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/drm-uapi')
-rw-r--r-- | include/drm-uapi/xe_drm.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/drm-uapi/xe_drm.h b/include/drm-uapi/xe_drm.h index 55b3edc93..6f0586d40 100644 --- a/include/drm-uapi/xe_drm.h +++ b/include/drm-uapi/xe_drm.h @@ -940,16 +940,16 @@ struct drm_xe_sync { /** @extensions: Pointer to the first extension struct, if any */ __u64 extensions; -#define DRM_XE_SYNC_FLAG_SYNCOBJ 0x0 -#define DRM_XE_SYNC_FLAG_TIMELINE_SYNCOBJ 0x1 -#define DRM_XE_SYNC_FLAG_DMA_BUF 0x2 -#define DRM_XE_SYNC_FLAG_USER_FENCE 0x3 -#define DRM_XE_SYNC_FLAG_SIGNAL 0x10 +#define DRM_XE_SYNC_TYPE_SYNCOBJ 0x0 +#define DRM_XE_SYNC_TYPE_TIMELINE_SYNCOBJ 0x1 +#define DRM_XE_SYNC_TYPE_USER_FENCE 0x2 + /** @type: Type of the this sync object */ + __u32 type; + +#define DRM_XE_SYNC_FLAG_SIGNAL (1 << 0) + /** @flags: Sync Flags */ __u32 flags; - /** @pad: MBZ */ - __u32 pad; - union { __u32 handle; |