This interface allows importing the fence from a sync_file into an existing drm sync object, or exporting the fence attached to an existing drm sync object into a new sync file object. This should only be used to interact with sync files where necessary. v1.1: fence put fixes (Chris), drop fence from ioctl names (Chris) fixup for new fence replace API.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -708,6 +708,8 @@ struct drm_syncobj_destroy { · 707 unmodified lines | |||
| 708 | __u32 pad; | 708 | __u32 pad; |
| 709 | }; | 709 | }; |
| 710 | 710 | ||
| 711 | #define DRM_SYNCOBJ_FD_TO_HANDLE_FLAGS_IMPORT_SYNC_FILE (1 << 0) | ||
| 712 | #define DRM_SYNCOBJ_HANDLE_TO_FD_FLAGS_EXPORT_SYNC_FILE (1 << 0) | ||
| 711 | struct drm_syncobj_handle { | 713 | struct drm_syncobj_handle { |
| 712 | __u32 handle; | 714 | __u32 handle; |
| 713 | __u32 flags; | 715 | __u32 flags; |