Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c395 if (!info || !info->eviction_fence) in amdgpu_amdkfd_remove_fence_on_pt_pd_bos()
398 ef = container_of(dma_fence_get(&info->eviction_fence->base), in amdgpu_amdkfd_remove_fence_on_pt_pd_bos()
1397 info->eviction_fence = in init_kfd_vm()
1401 if (!info->eviction_fence) { in init_kfd_vm()
1433 &vm->process_info->eviction_fence->base, in init_kfd_vm()
1443 *ef = dma_fence_get(&vm->process_info->eviction_fence->base); in init_kfd_vm()
1455 dma_fence_put(&info->eviction_fence->base); in init_kfd_vm()
1601 dma_fence_put(&process_info->eviction_fence->base); in amdgpu_amdkfd_gpuvm_destroy_cb()
1866 if (avm->process_info->eviction_fence && in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1867 !dma_fence_is_signaled(&avm->process_info->eviction_fence->base)) in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
[all …]
Damdgpu_gem.c206 if (!WARN_ON(!vm->process_info->eviction_fence)) { in amdgpu_gem_object_open()
208 &vm->process_info->eviction_fence->base); in amdgpu_gem_object_open()
Damdgpu_amdkfd.h143 struct amdgpu_amdkfd_fence *eviction_fence; member
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_svm.h47 struct amdgpu_amdkfd_fence *eviction_fence; member
Dkfd_svm.c409 if (mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_range_bo_release()
414 mm = svm_bo->eviction_fence->mm; in svm_range_bo_release()
429 if (!dma_fence_is_signaled(&svm_bo->eviction_fence->base)) in svm_range_bo_release()
431 dma_fence_signal(&svm_bo->eviction_fence->base); in svm_range_bo_release()
432 dma_fence_put(&svm_bo->eviction_fence->base); in svm_range_bo_release()
503 f = dma_fence_get(&svm_bo->eviction_fence->base); in svm_range_validate_svm_bo()
584 svm_bo->eviction_fence = in svm_range_vram_node_new()
635 amdgpu_bo_fence(bo, &svm_bo->eviction_fence->base, true); in svm_range_vram_node_new()
657 dma_fence_put(&svm_bo->eviction_fence->base); in svm_range_vram_node_new()
3547 if (mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_range_evict_svm_bo_worker()
[all …]
Dkfd_migrate.c945 if (!mmget_not_zero(svm_bo->eviction_fence->mm)) { in svm_migrate_to_ram()
950 mm = svm_bo->eviction_fence->mm; in svm_migrate_to_ram()