Home
last modified time | relevance | path

Searched refs:bo_slabs (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.c143 if (ws->bo_slabs[i].groups) in do_winsys_deinit()
144 pb_slabs_deinit(&ws->bo_slabs[i]); in do_winsys_deinit()
472 if (!pb_slabs_init(&aws->bo_slabs[i], in amdgpu_winsys_create()
489 aws->info.min_alloc_size = 1 << aws->bo_slabs[0].min_order; in amdgpu_winsys_create()
Damdgpu_winsys.h66 struct pb_slabs bo_slabs[NUM_SLAB_ALLOCATORS]; member
Damdgpu_bo.c243 pb_slabs_reclaim(&ws->bo_slabs[i]); in amdgpu_clean_up_buffer_managers()
643 struct pb_slabs *slabs = &ws->bo_slabs[i]; in get_slabs()
657 bo->base.size < 1 << ws->bo_slabs[0].min_order || in get_slab_wasted_size()
690 unsigned min_entry_size = 1 << ws->bo_slabs[0].min_order; in get_slab_pot_entry_size()
721 unsigned max_entry_size = 1 << (ws->bo_slabs[i].min_order + ws->bo_slabs[i].num_orders - 1); in amdgpu_bo_slab_alloc()
1355 struct pb_slabs *last_slab = &ws->bo_slabs[NUM_SLAB_ALLOCATORS - 1]; in amdgpu_bo_create()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_bo.c90 struct pb_slabs *bo_slabs = screen->pb.bo_slabs; in get_slabs() local
93 struct pb_slabs *slabs = &bo_slabs[i]; in get_slabs()
108 unsigned min_entry_size = 1 << screen->pb.bo_slabs[0].min_order; in get_slab_pot_entry_size()
200 pb_slabs_reclaim(&screen->pb.bo_slabs[i]); in clean_up_buffer_managers()
561 struct pb_slabs *slabs = screen->pb.bo_slabs; in zink_bo_create()
1177 struct pb_slabs *slabs = screen->pb.bo_slabs; in bo_slab_alloc()
1290 if (!pb_slabs_init(&screen->pb.bo_slabs[i], in zink_bo_init()
1301 screen->pb.min_alloc_size = 1 << screen->pb.bo_slabs[0].min_order; in zink_bo_init()
1309 if (screen->pb.bo_slabs[i].groups) in zink_bo_deinit()
1310 pb_slabs_deinit(&screen->pb.bo_slabs[i]); in zink_bo_deinit()
Dzink_screen.h136 struct pb_slabs bo_slabs[NUM_SLAB_ALLOCATORS]; member
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_winsys.h59 struct pb_slabs bo_slabs; member
Dradeon_drm_winsys.c600 pb_slabs_deinit(&ws->bo_slabs); in radeon_winsys_destroy()
830 if (!pb_slabs_init(&ws->bo_slabs, in radeon_drm_winsys_create()
924 pb_slabs_deinit(&ws->bo_slabs); in radeon_drm_winsys_create()
Dradeon_drm_bo.c761 pb_slab_free(&bo->rws->bo_slabs, &bo->u.slab.entry); in radeon_bo_slab_destroy()
1029 entry = pb_slab_alloc(&ws->bo_slabs, size, heap); in radeon_winsys_bo_create()
1034 entry = pb_slab_alloc(&ws->bo_slabs, size, heap); in radeon_winsys_bo_create()
1072 pb_slabs_reclaim(&ws->bo_slabs); in radeon_winsys_bo_create()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c245 struct pb_slabs bo_slabs[NUM_SLAB_ALLOCATORS]; member
578 struct pb_slabs *slabs = &bufmgr->bo_slabs[i]; in get_slabs()
592 unsigned min_entry_size = 1 << bufmgr->bo_slabs[0].min_order; in get_slab_pot_entry_size()
671 struct pb_slabs *slabs = bufmgr->bo_slabs; in iris_slab_alloc()
786 struct pb_slabs *last_slab = &bufmgr->bo_slabs[NUM_SLAB_ALLOCATORS - 1]; in alloc_bo_from_slabs()
1757 if (bufmgr->bo_slabs[i].groups) in iris_bufmgr_destroy()
1758 pb_slabs_deinit(&bufmgr->bo_slabs[i]); in iris_bufmgr_destroy()
2475 if (!pb_slabs_init(&bufmgr->bo_slabs[i], min_order, max_order, in iris_bufmgr_create()