Searched refs:vmbo (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/gpu/drm/amd/amdgpu/ |
A 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() 242 if (vmbo->shadow) in amdgpu_vm_sdma_update() 243 amdgpu_vm_sdma_set_ptes(p, vmbo->shadow, pe, addr, in amdgpu_vm_sdma_update() 252 (vmbo->shadow ? 2 : 1); in amdgpu_vm_sdma_update() 267 if (vmbo->shadow) in amdgpu_vm_sdma_update() 268 amdgpu_vm_sdma_copy_ptes(p, vmbo->shadow, pe, nptes); in amdgpu_vm_sdma_update()
|
A D | amdgpu_vm_cpu.c | 71 struct amdgpu_bo_vm *vmbo, uint64_t pe, in amdgpu_vm_cpu_update() argument 79 if (vmbo->bo.tbo.moving) { in amdgpu_vm_cpu_update() 80 r = dma_fence_wait(vmbo->bo.tbo.moving, true); in amdgpu_vm_cpu_update() 85 pe += (unsigned long)amdgpu_bo_kptr(&vmbo->bo); in amdgpu_vm_cpu_update()
|
A D | amdgpu_vm.c | 793 struct amdgpu_bo_vm *vmbo, in amdgpu_vm_clear_bo() argument 799 struct amdgpu_bo *ancestor = &vmbo->bo; in amdgpu_vm_clear_bo() 800 struct amdgpu_bo *bo = &vmbo->bo; in amdgpu_vm_clear_bo() 840 if (vmbo->shadow) { in amdgpu_vm_clear_bo() 841 struct amdgpu_bo *shadow = vmbo->shadow; in amdgpu_vm_clear_bo() 851 r = vm->update_funcs->map_table(vmbo); in amdgpu_vm_clear_bo() 922 struct amdgpu_bo_vm **vmbo) in amdgpu_vm_pt_create() argument 954 r = amdgpu_bo_create_vm(adev, &bp, vmbo); in amdgpu_vm_pt_create() 958 bo = &(*vmbo)->bo; in amdgpu_vm_pt_create() 960 (*vmbo)->shadow = NULL; in amdgpu_vm_pt_create() [all …]
|
A D | amdgpu_object.c | 82 struct amdgpu_bo_vm *vmbo; in amdgpu_bo_vm_destroy() local 84 vmbo = to_amdgpu_bo_vm(bo); in amdgpu_bo_vm_destroy() 86 if (!list_empty(&vmbo->shadow_list)) { in amdgpu_bo_vm_destroy() 88 list_del_init(&vmbo->shadow_list); in amdgpu_bo_vm_destroy() 704 void amdgpu_bo_add_to_shadow_list(struct amdgpu_bo_vm *vmbo) in amdgpu_bo_add_to_shadow_list() argument 706 struct amdgpu_device *adev = amdgpu_ttm_adev(vmbo->bo.tbo.bdev); in amdgpu_bo_add_to_shadow_list() 709 list_add_tail(&vmbo->shadow_list, &adev->shadow_list); in amdgpu_bo_add_to_shadow_list()
|
A D | amdgpu_object.h | 331 void amdgpu_bo_add_to_shadow_list(struct amdgpu_bo_vm *vmbo);
|
A D | amdgpu_device.c | 4231 struct amdgpu_bo_vm *vmbo; in amdgpu_device_recover_vram() local 4241 list_for_each_entry(vmbo, &adev->shadow_list, shadow_list) { in amdgpu_device_recover_vram() 4242 shadow = &vmbo->bo; in amdgpu_device_recover_vram()
|
Completed in 19 milliseconds