Lines Matching defs:fences
100 * amdgpu_pasid_free_delayed - free pasid when fences signal
102 * @resv: reservation object with the fences to wait for
105 * Free the pasid only after all the fences in resv are signaled.
140 * block for all the fences to complete.
207 struct dma_fence **fences;
215 fences = kmalloc_array(id_mgr->num_ids, sizeof(void *), GFP_KERNEL);
216 if (!fences)
226 fences[i] = amdgpu_sync_peek_fence(&(*idle)->active, r);
227 if (!fences[i])
241 dma_fence_get(fences[j]);
243 array = dma_fence_array_create(i, fences, fence_context,
247 dma_fence_put(fences[j]);
248 kfree(fences);
257 kfree(fences);
395 * Allocate an id for the vm, adding fences to the sync obj as necessary.