summaryrefslogtreecommitdiff
path: root/xf86drm.h
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2017-09-11 21:57:32 +0200
committerMarek Olšák <marek.olsak@amd.com>2017-10-12 20:35:57 +0200
commit2048a9e7278d64954080077fb29d603fbb611873 (patch)
treea7b3843e561cbd31d331fe32e9a7abdda19887f9 /xf86drm.h
parentb6e24501a1f8c58501fdfa39b435e440ee667feb (diff)
drm: add drmSyncobjWait wrapper
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Diffstat (limited to 'xf86drm.h')
-rw-r--r--xf86drm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xf86drm.h b/xf86drm.h
index 2855a3ee..ea650eff 100644
--- a/xf86drm.h
+++ b/xf86drm.h
@@ -860,6 +860,9 @@ extern int drmSyncobjFDToHandle(int fd, int obj_fd, uint32_t *handle);
extern int drmSyncobjImportSyncFile(int fd, uint32_t handle, int sync_file_fd);
extern int drmSyncobjExportSyncFile(int fd, uint32_t handle, int *sync_file_fd);
+extern int drmSyncobjWait(int fd, uint32_t *handles, unsigned num_handles,
+ int64_t timeout_nsec, unsigned flags,
+ uint32_t *first_signaled);
#if defined(__cplusplus)
}