Lines Matching defs:fences
283 * Get a fence from syncs, exec queue, and VM. If syncs contain in-fences create
284 * and return a composite fence of all in-fences + last fence. If no in-fences
294 struct dma_fence **fences = NULL;
301 /* Count in-fences */
316 fences = kmalloc_array(num_in_fence + 1, sizeof(*fences), GFP_KERNEL);
317 if (!fences)
322 fences[current_fence++] = sync[i].fence;
325 fences[current_fence++] = xe_exec_queue_last_fence_get(q, vm);
326 cf = dma_fence_array_create(num_in_fence, fences,
339 dma_fence_put(fences[--current_fence]);
340 kfree(fences);