aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák2017-09-11 14:57:32 -0500
committerMarek Olšák2017-10-12 13:35:57 -0500
commit2048a9e7278d64954080077fb29d603fbb611873 (patch)
treea7b3843e561cbd31d331fe32e9a7abdda19887f9 /xf86drm.h
parentb6e24501a1f8c58501fdfa39b435e440ee667feb (diff)
downloadexternal-libdrm-2048a9e7278d64954080077fb29d603fbb611873.tar.gz
external-libdrm-2048a9e7278d64954080077fb29d603fbb611873.tar.xz
external-libdrm-2048a9e7278d64954080077fb29d603fbb611873.zip
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);
860 860
861extern int drmSyncobjImportSyncFile(int fd, uint32_t handle, int sync_file_fd); 861extern int drmSyncobjImportSyncFile(int fd, uint32_t handle, int sync_file_fd);
862extern int drmSyncobjExportSyncFile(int fd, uint32_t handle, int *sync_file_fd); 862extern int drmSyncobjExportSyncFile(int fd, uint32_t handle, int *sync_file_fd);
863extern int drmSyncobjWait(int fd, uint32_t *handles, unsigned num_handles,
864 int64_t timeout_nsec, unsigned flags,
865 uint32_t *first_signaled);
863 866
864#if defined(__cplusplus) 867#if defined(__cplusplus)
865} 868}