Lines Matching defs:fence
218 u32 fence;
228 fence = host1x_syncpt_incr_max(sp, 1);
233 submit_wait(job, job->syncpt->id, fence, job->class);
240 fence = host1x_syncpt_incr_max(sp, 1);
245 submit_wait(job, job->syncpt->id, fence, job->class);
279 static void job_complete_callback(struct dma_fence *fence, struct dma_fence_cb *cb)
323 * Create fence before submitting job to HW to avoid job completing
324 * before the fence is set up.
326 job->fence = host1x_fence_create(sp, syncval, true);
327 if (WARN(IS_ERR(job->fence), "Failed to create submit complete fence")) {
328 job->fence = NULL;
330 err = dma_fence_add_callback(job->fence, &job->fence_cb,