Lines Matching refs:fences
273 * Get a fence from syncs, exec queue, and VM. If syncs contain in-fences create
274 * and return a composite fence of all in-fences + last fence. If no in-fences
284 struct dma_fence **fences = NULL;
291 /* Count in-fences */
306 fences = kmalloc_array(num_in_fence + 1, sizeof(*fences), GFP_KERNEL);
307 if (!fences)
312 fences[current_fence++] = sync[i].fence;
315 fences[current_fence++] = xe_exec_queue_last_fence_get(q, vm);
316 cf = dma_fence_array_create(num_in_fence, fences,
329 dma_fence_put(fences[--current_fence]);
330 kfree(fences);