diff options
author | Marek Olšák <marek.olsak@amd.com> | 2017-09-11 21:57:32 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2017-10-12 20:35:57 +0200 |
commit | 2048a9e7278d64954080077fb29d603fbb611873 (patch) | |
tree | a7b3843e561cbd31d331fe32e9a7abdda19887f9 /xf86drm.h | |
parent | b6e24501a1f8c58501fdfa39b435e440ee667feb (diff) |
drm: add drmSyncobjWait wrapper
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Diffstat (limited to 'xf86drm.h')
-rw-r--r-- | xf86drm.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) } |