From 26b8537c3d1363e56384a82787eddfbd7c0c96f9 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Tue, 9 Jul 2019 09:55:10 +0000 Subject: add dma_fence_wait_any_timeout() required for parts of amdgpu ok kettenis@ --- sys/dev/pci/drm/include/linux/dma-fence.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/dev/pci/drm/include/linux/dma-fence.h') 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 -- cgit v1.2.3