Lines Matching refs:abo
614 struct amdgpu_bo *abo; in amdgpu_bo_fault_reserve_notify() local
621 abo = container_of(bo, struct amdgpu_bo, tbo); in amdgpu_bo_fault_reserve_notify()
622 adev = abo->adev; in amdgpu_bo_fault_reserve_notify()
632 amdgpu_ttm_placement_from_domain(abo, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_bo_fault_reserve_notify()
634 for (i = 0; i < abo->placement.num_placement; i++) { in amdgpu_bo_fault_reserve_notify()
636 if ((abo->placements[i].flags & TTM_PL_FLAG_VRAM) && in amdgpu_bo_fault_reserve_notify()
637 (!abo->placements[i].lpfn || abo->placements[i].lpfn > lpfn)) in amdgpu_bo_fault_reserve_notify()
638 abo->placements[i].lpfn = lpfn; in amdgpu_bo_fault_reserve_notify()
640 r = ttm_bo_validate(bo, &abo->placement, false, false); in amdgpu_bo_fault_reserve_notify()
642 amdgpu_ttm_placement_from_domain(abo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_bo_fault_reserve_notify()
643 return ttm_bo_validate(bo, &abo->placement, false, false); in amdgpu_bo_fault_reserve_notify()