Searched refs:vmbo (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vm_pt.c | 376 struct amdgpu_bo_vm *vmbo, bool immediate) in amdgpu_vm_pt_clear() argument 381 struct amdgpu_bo *ancestor = &vmbo->bo; in amdgpu_vm_pt_clear() 383 struct amdgpu_bo *bo = &vmbo->bo; in amdgpu_vm_pt_clear() 423 if (vmbo->shadow) { in amdgpu_vm_pt_clear() 424 struct amdgpu_bo *shadow = vmbo->shadow; in amdgpu_vm_pt_clear() 434 r = vm->update_funcs->map_table(vmbo); in amdgpu_vm_pt_clear() 458 r = vm->update_funcs->update(¶ms, vmbo, addr, 0, in amdgpu_vm_pt_clear() 481 r = vm->update_funcs->update(¶ms, vmbo, addr, 0, entries, in amdgpu_vm_pt_clear() 503 int level, bool immediate, struct amdgpu_bo_vm **vmbo) in amdgpu_vm_pt_create() argument 525 bp.bo_ptr_size = struct_size((*vmbo), entries, num_entries); in amdgpu_vm_pt_create() [all …]
|
D | amdgpu_vm_sdma.c | 200 struct amdgpu_bo_vm *vmbo, uint64_t pe, in amdgpu_vm_sdma_update() argument 204 struct amdgpu_bo *bo = &vmbo->bo; in amdgpu_vm_sdma_update() 247 if (vmbo->shadow) in amdgpu_vm_sdma_update() 248 amdgpu_vm_sdma_set_ptes(p, vmbo->shadow, pe, addr, in amdgpu_vm_sdma_update() 257 (vmbo->shadow ? 2 : 1); in amdgpu_vm_sdma_update() 272 if (vmbo->shadow) in amdgpu_vm_sdma_update() 273 amdgpu_vm_sdma_copy_ptes(p, vmbo->shadow, pe, nptes); in amdgpu_vm_sdma_update()
|
D | amdgpu_vm_cpu.c | 71 struct amdgpu_bo_vm *vmbo, uint64_t pe, in amdgpu_vm_cpu_update() argument 79 r = dma_resv_wait_timeout(vmbo->bo.tbo.base.resv, DMA_RESV_USAGE_KERNEL, in amdgpu_vm_cpu_update() 84 pe += (unsigned long)amdgpu_bo_kptr(&vmbo->bo); in amdgpu_vm_cpu_update()
|
D | amdgpu_object.c | 83 struct amdgpu_bo_vm *vmbo; in amdgpu_bo_vm_destroy() local 85 vmbo = to_amdgpu_bo_vm(bo); in amdgpu_bo_vm_destroy() 87 if (!list_empty(&vmbo->shadow_list)) { in amdgpu_bo_vm_destroy() 89 list_del_init(&vmbo->shadow_list); in amdgpu_bo_vm_destroy() 708 void amdgpu_bo_add_to_shadow_list(struct amdgpu_bo_vm *vmbo) in amdgpu_bo_add_to_shadow_list() argument 710 struct amdgpu_device *adev = amdgpu_ttm_adev(vmbo->bo.tbo.bdev); in amdgpu_bo_add_to_shadow_list() 713 list_add_tail(&vmbo->shadow_list, &adev->shadow_list); in amdgpu_bo_add_to_shadow_list()
|
D | amdgpu_vm.h | 462 struct amdgpu_bo_vm *vmbo, bool immediate); 464 int level, bool immediate, struct amdgpu_bo_vm **vmbo);
|
D | amdgpu_object.h | 330 void amdgpu_bo_add_to_shadow_list(struct amdgpu_bo_vm *vmbo);
|
D | amdgpu_device.c | 4406 struct amdgpu_bo_vm *vmbo; in amdgpu_device_recover_vram() local 4416 list_for_each_entry(vmbo, &adev->shadow_list, shadow_list) { in amdgpu_device_recover_vram() 4417 shadow = &vmbo->bo; in amdgpu_device_recover_vram()
|