diff options
author | Chunming Zhou <david1.zhou@amd.com> | 2019-05-16 16:07:09 +0800 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2019-05-16 12:07:18 +0200 |
commit | ec6ae51e807e17f00457c97fc60bc5ac55d3021d (patch) | |
tree | 1cb3f19a93f516e106d096b6edff1bc89ebe17a9 /xf86drm.h | |
parent | 642ec7fc344faf11a2933d094cc3184c2b8f0126 (diff) | |
download | libdrm-ec6ae51e807e17f00457c97fc60bc5ac55d3021d.tar.gz libdrm-ec6ae51e807e17f00457c97fc60bc5ac55d3021d.tar.bz2 libdrm-ec6ae51e807e17f00457c97fc60bc5ac55d3021d.zip |
add timeline wait/query ioctl v2
v2: drop export/import
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,6 +876,12 @@ 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 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); #if defined(__cplusplus) } |