Searched refs:to_amdgpu_bo_vm (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm_pt.c | 207 cursor->entry = &to_amdgpu_bo_vm(cursor->entry->bo)->entries[idx]; in amdgpu_vm_pt_descendant() 235 parent = to_amdgpu_bo_vm(cursor->parent->bo); in amdgpu_vm_pt_sibling() 410 if ((pt - to_amdgpu_bo_vm(vm->root.bo)->entries) >= in amdgpu_vm_pt_clear() 751 if (to_amdgpu_bo_vm(vm->root.bo)->entries[i].bo) in amdgpu_vm_pt_is_root_clean() 783 pde = (entry - to_amdgpu_bo_vm(parent->bo)->entries) * 8; in amdgpu_vm_pde_update() 784 return vm->update_funcs->update(params, to_amdgpu_bo_vm(bo), pde, pt, in amdgpu_vm_pde_update() 1042 amdgpu_vm_pte_update_flags(params, to_amdgpu_bo_vm(pt), in amdgpu_vm_ptes_update() 1104 bo = to_amdgpu_bo_vm(entry->bo); in amdgpu_vm_pt_map_tables()
|
H A D | amdgpu_object.h | 46 #define to_amdgpu_bo_vm(abo) container_of((abo), struct amdgpu_bo_vm, bo) macro 283 return to_amdgpu_bo_vm(bo)->shadow; in amdgpu_bo_shadowed()
|
H A D | amdgpu_object.c | 86 vmbo = to_amdgpu_bo_vm(bo); in amdgpu_bo_vm_destroy() 723 *vmbo_ptr = to_amdgpu_bo_vm(bo_ptr); in amdgpu_bo_create_vm()
|
H A D | amdgpu_vm.c | 483 vm->update_funcs->map_table(to_amdgpu_bo_vm(bo)); in amdgpu_vm_validate_pt_bos() 2279 r = amdgpu_vm_pt_clear(adev, vm, to_amdgpu_bo_vm(vm->root.bo), in amdgpu_vm_make_compute() 2315 amdgpu_bo_unref(&to_amdgpu_bo_vm(vm->root.bo)->shadow); in amdgpu_vm_make_compute()
|