Home
last modified time | relevance | path

Searched refs:vamgr (Results 1 – 3 of 3) sorted by relevance

/external/libdrm/amdgpu/
Damdgpu_vamgr.c236 struct amdgpu_bo_va_mgr *vamgr; in amdgpu_va_range_alloc() local
239 vamgr = dev->vamgr_32; in amdgpu_va_range_alloc()
241 vamgr = dev->vamgr; in amdgpu_va_range_alloc()
243 va_base_alignment = MAX2(va_base_alignment, vamgr->va_alignment); in amdgpu_va_range_alloc()
244 size = ALIGN(size, vamgr->va_alignment); in amdgpu_va_range_alloc()
246 *va_base_allocated = amdgpu_vamgr_find_va(vamgr, size, in amdgpu_va_range_alloc()
252 vamgr = dev->vamgr_32; in amdgpu_va_range_alloc()
253 *va_base_allocated = amdgpu_vamgr_find_va(vamgr, size, in amdgpu_va_range_alloc()
261 amdgpu_vamgr_free_va(vamgr, *va_base_allocated, size); in amdgpu_va_range_alloc()
268 va->vamgr = vamgr; in amdgpu_va_range_alloc()
[all …]
Damdgpu_device.c133 amdgpu_vamgr_deinit(dev->vamgr); in amdgpu_device_free_internal()
134 free(dev->vamgr); in amdgpu_device_free_internal()
257 dev->vamgr = calloc(1, sizeof(struct amdgpu_bo_va_mgr)); in amdgpu_device_initialize()
258 if (dev->vamgr == NULL) in amdgpu_device_initialize()
261 amdgpu_vamgr_init(dev->vamgr, dev->dev_info.virtual_address_offset, in amdgpu_device_initialize()
266 start = amdgpu_vamgr_find_va(dev->vamgr, in amdgpu_device_initialize()
288 amdgpu_vamgr_free_va(dev->vamgr, start, in amdgpu_device_initialize()
290 amdgpu_vamgr_deinit(dev->vamgr); in amdgpu_device_initialize()
291 free(dev->vamgr); in amdgpu_device_initialize()
Damdgpu_internal.h68 struct amdgpu_bo_va_mgr *vamgr; member
87 struct amdgpu_bo_va_mgr *vamgr; member