summaryrefslogtreecommitdiff
path: root/xf86drm.h
diff options
context:
space:
mode:
authorChunming Zhou <david1.zhou@amd.com>2019-05-16 16:07:09 +0800
committerChristian König <christian.koenig@amd.com>2019-05-16 12:07:18 +0200
commitec6ae51e807e17f00457c97fc60bc5ac55d3021d (patch)
tree1cb3f19a93f516e106d096b6edff1bc89ebe17a9 /xf86drm.h
parent642ec7fc344faf11a2933d094cc3184c2b8f0126 (diff)
downloadlibdrm-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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/xf86drm.h b/xf86drm.h
index 887ecc76..60c7a84f 100644
--- a/xf86drm.h
+++ b/xf86drm.h
@@ -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)
}