Lines Matching refs:mfence
133 struct dma_fence **mfence) in svm_migrate_copy_memory_gart() argument
168 dma_fence_put(*mfence); in svm_migrate_copy_memory_gart()
169 *mfence = next; in svm_migrate_copy_memory_gart()
199 svm_migrate_copy_done(struct amdgpu_device *adev, struct dma_fence *mfence) in svm_migrate_copy_done() argument
203 if (mfence) { in svm_migrate_copy_done()
204 r = dma_fence_wait(mfence, false); in svm_migrate_copy_done()
205 dma_fence_put(mfence); in svm_migrate_copy_done()
297 struct migrate_vma *migrate, struct dma_fence **mfence, in svm_migrate_copy_to_vram() argument
346 mfence); in svm_migrate_copy_to_vram()
364 mfence); in svm_migrate_copy_to_vram()
375 FROM_RAM_TO_VRAM, mfence); in svm_migrate_copy_to_vram()
412 struct dma_fence *mfence = NULL; in svm_migrate_vma_to_vram() local
460 r = svm_migrate_copy_to_vram(adev, prange, &migrate, &mfence, scratch); in svm_migrate_vma_to_vram()
466 svm_migrate_copy_done(adev, mfence); in svm_migrate_vma_to_vram()
565 struct migrate_vma *migrate, struct dma_fence **mfence, in svm_migrate_copy_to_ram() argument
595 mfence); in svm_migrate_copy_to_ram()
607 mfence); in svm_migrate_copy_to_ram()
636 FROM_VRAM_TO_RAM, mfence); in svm_migrate_copy_to_ram()
676 struct dma_fence *mfence = NULL; in svm_migrate_vma_to_ram() local
728 r = svm_migrate_copy_to_ram(adev, prange, &migrate, &mfence, in svm_migrate_vma_to_ram()
736 svm_migrate_copy_done(adev, mfence); in svm_migrate_vma_to_ram()