Searched refs:bo_slabs (Results 1 – 9 of 9) sorted by relevance
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_winsys.c | 143 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()
|
D | amdgpu_winsys.h | 66 struct pb_slabs bo_slabs[NUM_SLAB_ALLOCATORS]; member
|
D | amdgpu_bo.c | 243 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/ |
D | zink_bo.c | 90 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()
|
D | zink_screen.h | 136 struct pb_slabs bo_slabs[NUM_SLAB_ALLOCATORS]; member
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_winsys.h | 59 struct pb_slabs bo_slabs; member
|
D | radeon_drm_winsys.c | 600 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()
|
D | radeon_drm_bo.c | 761 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/ |
D | iris_bufmgr.c | 245 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()
|