Lines Matching defs:fence
8 struct v3d_fence *fence;
10 fence = kzalloc(sizeof(*fence), GFP_KERNEL);
11 if (!fence)
14 fence->dev = &v3d->drm;
15 fence->queue = queue;
16 fence->seqno = ++v3d->queue[queue].emit_seqno;
17 dma_fence_init(&fence->base, &v3d_fence_ops, &v3d->job_lock,
18 v3d->queue[queue].fence_context, fence->seqno);
20 return &fence->base;
23 static const char *v3d_fence_get_driver_name(struct dma_fence *fence)
28 static const char *v3d_fence_get_timeline_name(struct dma_fence *fence)
30 struct v3d_fence *f = to_v3d_fence(fence);