diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-06-22 07:21:09 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-07-12 21:52:41 +0100 |
commit | 93256e3e548c14117afb7e8178f56b0e0f520d10 (patch) | |
tree | 03cf740ee5c520c2b04f64e1e17e69871197c37f /lib/igt_vgem.h | |
parent | 36ffa375d33e4e0b9ce05e8d62df04cda8591903 (diff) |
vgem: Add basic dma-buf fence interop
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/igt_vgem.h')
-rw-r--r-- | lib/igt_vgem.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/igt_vgem.h b/lib/igt_vgem.h index 9e4a55e8..91c77baf 100644 --- a/lib/igt_vgem.h +++ b/lib/igt_vgem.h @@ -39,4 +39,8 @@ void vgem_create(int fd, struct vgem_bo *bo); void *__vgem_mmap(int fd, struct vgem_bo *bo, unsigned prot); void *vgem_mmap(int fd, struct vgem_bo *bo, unsigned prot); +bool vgem_has_fences(int fd); +uint32_t vgem_fence_attach(int fd, struct vgem_bo *bo, bool write); +void vgem_fence_signal(int fd, uint32_t fence); + #endif /* IGT_VGEM_H */ |