Home
last modified time | relevance | path

Searched refs:eviction_fence (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c386 if (!info || !info->eviction_fence) in amdgpu_amdkfd_remove_fence_on_pt_pd_bos()
389 ef = container_of(dma_fence_get(&info->eviction_fence->base), in amdgpu_amdkfd_remove_fence_on_pt_pd_bos()
1332 info->eviction_fence = in init_kfd_vm()
1336 if (!info->eviction_fence) { in init_kfd_vm()
1347 *ef = dma_fence_get(&info->eviction_fence->base); in init_kfd_vm()
1369 &vm->process_info->eviction_fence->base, in init_kfd_vm()
1390 dma_fence_put(&info->eviction_fence->base); in init_kfd_vm()
1521 dma_fence_put(&process_info->eviction_fence->base); in amdgpu_amdkfd_gpuvm_destroy_cb()
1858 process_info->eviction_fence); in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
2024 &avm->process_info->eviction_fence->base, in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()
[all …]
Damdgpu_amdkfd.h137 struct amdgpu_amdkfd_fence *eviction_fence; member
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_svm.h47 struct amdgpu_amdkfd_fence *eviction_fence; member
Dkfd_svm.c394 if (!dma_fence_is_signaled(&svm_bo->eviction_fence->base)) in svm_range_bo_release()
396 dma_fence_signal(&svm_bo->eviction_fence->base); in svm_range_bo_release()
397 dma_fence_put(&svm_bo->eviction_fence->base); in svm_range_bo_release()
468 f = dma_fence_get(&svm_bo->eviction_fence->base); in svm_range_validate_svm_bo()
548 svm_bo->eviction_fence = in svm_range_vram_node_new()
599 amdgpu_bo_fence(bo, &svm_bo->eviction_fence->base, true); in svm_range_vram_node_new()
617 dma_fence_put(&svm_bo->eviction_fence->base); in svm_range_vram_node_new()
3447 if (mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_range_evict_svm_bo_worker()
3448 mm = svm_bo->eviction_fence->mm; in svm_range_evict_svm_bo_worker()
3490 dma_fence_signal(&svm_bo->eviction_fence->base); in svm_range_evict_svm_bo_worker()
Dkfd_migrate.c906 if (!mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_migrate_to_ram()
911 mm = svm_bo->eviction_fence->mm; in svm_migrate_to_ram()