aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBas Nieuwenhuizen2017-12-16 17:27:09 -0600
committerDave Airlie2017-12-17 17:51:50 -0600
commit1abccedc4d18305e8c3e3dd00d3262c134ef1d44 (patch)
treee75ab1c0579e1985251b813f7955119569e6068f /xf86drm.h
parent7d984e609470aa38d4c3f7d48e26fa763a03af13 (diff)
downloadexternal-libdrm-1abccedc4d18305e8c3e3dd00d3262c134ef1d44.tar.gz
external-libdrm-1abccedc4d18305e8c3e3dd00d3262c134ef1d44.tar.xz
external-libdrm-1abccedc4d18305e8c3e3dd00d3262c134ef1d44.zip
drm: Add drmSyncobjReset & drmSyncobjSignal wrappers.
anv already uses the ioctls but does not use libdrm, so these were not wrapped yet. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'xf86drm.h')
-rw-r--r--xf86drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xf86drm.h b/xf86drm.h
index ea650eff..0dbf4941 100644
--- a/xf86drm.h
+++ b/xf86drm.h
@@ -863,6 +863,8 @@ extern int drmSyncobjExportSyncFile(int fd, uint32_t handle, int *sync_file_fd);
863extern int drmSyncobjWait(int fd, uint32_t *handles, unsigned num_handles, 863extern int drmSyncobjWait(int fd, uint32_t *handles, unsigned num_handles,
864 int64_t timeout_nsec, unsigned flags, 864 int64_t timeout_nsec, unsigned flags,
865 uint32_t *first_signaled); 865 uint32_t *first_signaled);
866extern int drmSyncobjReset(int fd, const uint32_t *handles, uint32_t handle_count);
867extern int drmSyncobjSignal(int fd, const uint32_t *handles, uint32_t handle_count);
866 868
867#if defined(__cplusplus) 869#if defined(__cplusplus)
868} 870}