Lines Matching refs:vamgr
198 struct amdgpu_bo_va_mgr *vamgr; in amdgpu_va_range_alloc() local
206 vamgr = &dev->vamgr_high_32; in amdgpu_va_range_alloc()
208 vamgr = &dev->vamgr_high; in amdgpu_va_range_alloc()
211 vamgr = &dev->vamgr_32; in amdgpu_va_range_alloc()
213 vamgr = &dev->vamgr; in amdgpu_va_range_alloc()
216 va_base_alignment = MAX2(va_base_alignment, vamgr->va_alignment); in amdgpu_va_range_alloc()
217 size = ALIGN(size, vamgr->va_alignment); in amdgpu_va_range_alloc()
219 *va_base_allocated = amdgpu_vamgr_find_va(vamgr, size, in amdgpu_va_range_alloc()
226 vamgr = &dev->vamgr_high_32; in amdgpu_va_range_alloc()
228 vamgr = &dev->vamgr_32; in amdgpu_va_range_alloc()
229 *va_base_allocated = amdgpu_vamgr_find_va(vamgr, size, in amdgpu_va_range_alloc()
237 amdgpu_vamgr_free_va(vamgr, *va_base_allocated, size); in amdgpu_va_range_alloc()
244 va->vamgr = vamgr; in amdgpu_va_range_alloc()
258 amdgpu_vamgr_free_va(va_range_handle->vamgr, in amdgpu_va_range_free()