diff options
author | Chunming Zhou <david1.zhou@amd.com> | 2019-05-16 16:07:11 +0800 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2019-05-16 12:07:18 +0200 |
commit | 12712eb6e313c990d86e53657b8bc3722da3a6ec (patch) | |
tree | 2dce5bad27a389eedb70d33bb419d89171b6cecd /xf86drm.h | |
parent | 46f930d962b60109d3876324c95a9ff1b80a3f4e (diff) | |
download | libdrm-12712eb6e313c990d86e53657b8bc3722da3a6ec.tar.gz libdrm-12712eb6e313c990d86e53657b8bc3722da3a6ec.tar.bz2 libdrm-12712eb6e313c990d86e53657b8bc3722da3a6ec.zip |
add timeline signal/transfer ioctls v2
v2: use one transfer ioctl
Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Diffstat (limited to 'xf86drm.h')
-rw-r--r-- | xf86drm.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -876,12 +876,18 @@ extern int drmSyncobjWait(int fd, uint32_t *handles, unsigned num_handles, uint32_t *first_signaled); extern int drmSyncobjReset(int fd, const uint32_t *handles, uint32_t handle_count); extern int drmSyncobjSignal(int fd, const uint32_t *handles, uint32_t handle_count); +extern int drmSyncobjTimelineSignal(int fd, const uint32_t *handles, + uint64_t *points, uint32_t handle_count); extern int drmSyncobjTimelineWait(int fd, uint32_t *handles, uint64_t *points, unsigned num_handles, int64_t timeout_nsec, unsigned flags, uint32_t *first_signaled); extern int drmSyncobjQuery(int fd, uint32_t *handles, uint64_t *points, uint32_t handle_count); +extern int drmSyncobjTransfer(int fd, + uint32_t dst_handle, uint64_t dst_point, + uint32_t src_handle, uint64_t src_point, + uint32_t flags); #if defined(__cplusplus) } |