Lines Matching refs:vamgr
232 struct amdgpu_bo_va_mgr *vamgr; in amdgpu_va_range_alloc() local
242 vamgr = &dev->vamgr_high_32; in amdgpu_va_range_alloc()
244 vamgr = &dev->vamgr_high; in amdgpu_va_range_alloc()
247 vamgr = &dev->vamgr_32; in amdgpu_va_range_alloc()
249 vamgr = &dev->vamgr; in amdgpu_va_range_alloc()
252 va_base_alignment = MAX2(va_base_alignment, vamgr->va_alignment); in amdgpu_va_range_alloc()
253 size = ALIGN(size, vamgr->va_alignment); in amdgpu_va_range_alloc()
255 ret = amdgpu_vamgr_find_va(vamgr, size, in amdgpu_va_range_alloc()
262 vamgr = &dev->vamgr_high_32; in amdgpu_va_range_alloc()
264 vamgr = &dev->vamgr_32; in amdgpu_va_range_alloc()
265 ret = amdgpu_vamgr_find_va(vamgr, size, in amdgpu_va_range_alloc()
274 amdgpu_vamgr_free_va(vamgr, *va_base_allocated, size); in amdgpu_va_range_alloc()
281 va->vamgr = vamgr; in amdgpu_va_range_alloc()
293 amdgpu_vamgr_free_va(va_range_handle->vamgr, in amdgpu_va_range_free()