summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/include/linux/dma-fence.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-07-09 09:55:10 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-07-09 09:55:10 +0000
commit26b8537c3d1363e56384a82787eddfbd7c0c96f9 (patch)
treec21ce340975d5965f247f7054c7ae05ab8dd7567 /sys/dev/pci/drm/include/linux/dma-fence.h
parent11bcd6f6066517c67a4f07f82d7082c7c451a767 (diff)
add dma_fence_wait_any_timeout() required for parts of amdgpu
ok kettenis@
Diffstat (limited to 'sys/dev/pci/drm/include/linux/dma-fence.h')
-rw-r--r--sys/dev/pci/drm/include/linux/dma-fence.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/include/linux/dma-fence.h b/sys/dev/pci/drm/include/linux/dma-fence.h
index f7ad95bb167..159c03be587 100644
--- a/sys/dev/pci/drm/include/linux/dma-fence.h
+++ b/sys/dev/pci/drm/include/linux/dma-fence.h
@@ -285,4 +285,7 @@ dma_fence_set_error(struct dma_fence *fence, int error)
fence->error = error;
}
+long dma_fence_wait_any_timeout(struct dma_fence **, uint32_t, bool, long,
+ uint32_t *);
+
#endif