Lines Matching full:fence
8 #include <linux/dma-fence.h>
14 #include "fence.h"
44 * The dma_fence framework requires the fence driver to keep a in host1x_syncpt_fence_enable_signaling()
61 * The fence may get signalled at any time after the above call, in host1x_syncpt_fence_enable_signaling()
79 * Already on timeout path, but we removed the fence before in host1x_fence_signal()
113 * Managed to remove fence from queue, so it's safe to drop in do_fence_timeout()
128 struct host1x_syncpt_fence *fence; in host1x_fence_create() local
130 fence = kzalloc_obj(*fence); in host1x_fence_create()
131 if (!fence) in host1x_fence_create()
134 fence->sp = sp; in host1x_fence_create()
135 fence->threshold = threshold; in host1x_fence_create()
136 fence->timeout = timeout; in host1x_fence_create()
138 dma_fence_init(&fence->base, &host1x_syncpt_fence_ops, &sp->fences.lock, in host1x_fence_create()
141 INIT_DELAYED_WORK(&fence->timeout_work, do_fence_timeout); in host1x_fence_create()
143 return &fence->base; in host1x_fence_create()