Home
last modified time | relevance | path

Searched refs:vm_bo (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm.c177 static void amdgpu_vm_bo_evicted(struct amdgpu_vm_bo_base *vm_bo) in amdgpu_vm_bo_evicted() argument
179 struct amdgpu_vm *vm = vm_bo->vm; in amdgpu_vm_bo_evicted()
180 struct amdgpu_bo *bo = vm_bo->bo; in amdgpu_vm_bo_evicted()
182 vm_bo->moved = true; in amdgpu_vm_bo_evicted()
183 spin_lock(&vm_bo->vm->status_lock); in amdgpu_vm_bo_evicted()
185 list_move(&vm_bo->vm_status, &vm->evicted); in amdgpu_vm_bo_evicted()
187 list_move_tail(&vm_bo->vm_status, &vm->evicted); in amdgpu_vm_bo_evicted()
188 spin_unlock(&vm_bo->vm->status_lock); in amdgpu_vm_bo_evicted()
198 static void amdgpu_vm_bo_moved(struct amdgpu_vm_bo_base *vm_bo) in amdgpu_vm_bo_moved() argument
200 spin_lock(&vm_bo->vm->status_lock); in amdgpu_vm_bo_moved()
[all …]
Damdgpu_vm_pt.c159 return parent->vm_bo; in amdgpu_vm_pt_parent()
408 pt = ancestor->vm_bo; in amdgpu_vm_pt_clear()
646 entry->bo->vm_bo = NULL; in amdgpu_vm_pt_free()
Damdgpu_amdkfd_gpuvm.c367 struct amdgpu_vm_bo_base *vm_bo; in amdgpu_amdkfd_remove_fence_on_pt_pd_bos() local
377 vm_bo = root->vm_bo; in amdgpu_amdkfd_remove_fence_on_pt_pd_bos()
378 if (!vm_bo) in amdgpu_amdkfd_remove_fence_on_pt_pd_bos()
381 vm = vm_bo->vm; in amdgpu_amdkfd_remove_fence_on_pt_pd_bos()
2147 bo, bo->vm_bo->vm->process_info->eviction_fence); in amdgpu_amdkfd_map_gtt_bo_to_gart()
Damdgpu_object.h105 struct amdgpu_vm_bo_base *vm_bo; member
Damdgpu_dma_buf.c384 for (bo_base = bo->vm_bo; bo_base; bo_base = bo_base->next) { in amdgpu_dma_buf_move_notify()
Damdgpu_gem.c850 for (base = robj->vm_bo; base; base = base->next) in amdgpu_gem_op_ioctl()
Damdgpu_object.c585 bo->vm_bo = NULL; in amdgpu_bo_create()