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