diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-08-05 14:21:17 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-08-05 14:21:17 +0000 |
commit | ce59e62b7f4f8783a2b038e6fd41e5c7557e030f (patch) | |
tree | 56752fab7f1f4a3853feb2f7d72fa770e1a469bf /lib/libdrm/xf86drm.h | |
parent | 86740d0b6c3f7eeeb2027dbd5b5f269b815addaa (diff) |
Merge libdrm 2.4.82
Diffstat (limited to 'lib/libdrm/xf86drm.h')
-rw-r--r-- | lib/libdrm/xf86drm.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libdrm/xf86drm.h b/lib/libdrm/xf86drm.h index d75ca8ce5..2855a3ee0 100644 --- a/lib/libdrm/xf86drm.h +++ b/lib/libdrm/xf86drm.h @@ -851,6 +851,16 @@ extern void drmFreeDevices(drmDevicePtr devices[], int count); extern int drmGetDevice2(int fd, uint32_t flags, drmDevicePtr *device); extern int drmGetDevices2(uint32_t flags, drmDevicePtr devices[], int max_devices); +extern int drmDevicesEqual(drmDevicePtr a, drmDevicePtr b); + +extern int drmSyncobjCreate(int fd, uint32_t flags, uint32_t *handle); +extern int drmSyncobjDestroy(int fd, uint32_t handle); +extern int drmSyncobjHandleToFD(int fd, uint32_t handle, int *obj_fd); +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); + #if defined(__cplusplus) } #endif |