Home
last modified time | relevance | path

Searched refs:bo_cache (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_bufmgr.c54 struct vc4_bo_cache *cache = &screen->bo_cache; in vc4_bo_dump_stats()
93 struct vc4_bo_cache *cache = &screen->bo_cache; in vc4_bo_from_cache()
163 if (!list_empty(&screen->bo_cache.time_list) && in vc4_bo_alloc()
166 vc4_bo_cache_free_all(&screen->bo_cache); in vc4_bo_alloc()
191 pipe_mutex_lock(screen->bo_cache.lock); in vc4_bo_last_unreference()
193 pipe_mutex_unlock(screen->bo_cache.lock); in vc4_bo_last_unreference()
235 struct vc4_bo_cache *cache = &screen->bo_cache; in free_stale_bos()
277 struct vc4_bo_cache *cache = &screen->bo_cache; in vc4_bo_last_unreference_locked_timed()
602 struct vc4_bo_cache *cache = &screen->bo_cache; in vc4_bufmgr_destroy()
Dvc4_screen.h84 } bo_cache; member
Dvc4_screen.c613 list_inithead(&screen->bo_cache.time_list); in vc4_screen_create()
/external/libdrm/etnaviv/
Detnaviv_device.c59 etna_bo_cache_init(&dev->bo_cache); in etna_device_new()
88 etna_bo_cache_cleanup(&dev->bo_cache, 0); in etna_device_del_impl()
Detnaviv_bo.c120 bo = etna_bo_cache_alloc(&dev->bo_cache, &size, flags); in etna_bo_new()
245 if (bo->reuse && (etna_bo_cache_free(&dev->bo_cache, bo) == 0)) in etna_bo_del()
Detnaviv_priv.h95 struct etna_bo_cache bo_cache; member
/external/libdrm/freedreno/
Dfreedreno_device.c88 fd_bo_cache_init(&dev->bo_cache, FALSE); in fd_device_new()
115 fd_bo_cache_cleanup(&dev->bo_cache, 0); in fd_device_del_impl()
Dfreedreno_bo.c92 bo = fd_bo_cache_alloc(&dev->bo_cache, &size, flags); in fd_bo_new()
204 if (bo->bo_reuse && (fd_bo_cache_free(&dev->bo_cache, bo) == 0)) in fd_bo_del()
Dfreedreno_priv.h102 struct fd_bo_cache bo_cache; member
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c303 pb_cache_release_all_buffers(&real->ws->bo_cache); in amdgpu_bo_map()
377 pb_cache_init_entry(&ws->bo_cache, &bo->u.real.cache_entry, &bo->base, in amdgpu_create_bo()
709 pb_cache_release_all_buffers(&ws->bo_cache); in amdgpu_bo_create()
751 assert(pb_cache_bucket < ARRAY_SIZE(ws->bo_cache.buckets)); in amdgpu_bo_create()
755 pb_cache_reclaim_buffer(&ws->bo_cache, size, alignment, usage, in amdgpu_bo_create()
766 pb_cache_release_all_buffers(&ws->bo_cache); in amdgpu_bo_create()
Damdgpu_winsys.h50 struct pb_cache bo_cache; member
Damdgpu_winsys.c392 pb_cache_deinit(&ws->bo_cache); in amdgpu_winsys_destroy()
553 pb_cache_init(&ws->bo_cache, 500000, ws->check_vm ? 1.0f : 2.0f, 0, in amdgpu_winsys_create()
615 pb_cache_deinit(&ws->bo_cache); in amdgpu_winsys_create()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_winsys.h72 struct pb_cache bo_cache; member
Dradeon_drm_bo.c449 pb_cache_release_all_buffers(&bo->rws->bo_cache); in radeon_bo_do_map()
655 pb_cache_init_entry(&rws->bo_cache, &bo->u.real.cache_entry, &bo->base, in radeon_create_bo()
984 pb_cache_release_all_buffers(&ws->bo_cache); in radeon_winsys_bo_create()
1026 assert(pb_cache_bucket < ARRAY_SIZE(ws->bo_cache.buckets)); in radeon_winsys_bo_create()
1028 bo = radeon_bo(pb_cache_reclaim_buffer(&ws->bo_cache, size, alignment, in radeon_winsys_bo_create()
1038 pb_cache_release_all_buffers(&ws->bo_cache); in radeon_winsys_bo_create()
Dradeon_drm_winsys.c553 pb_cache_deinit(&ws->bo_cache); in radeon_winsys_destroy()
764 pb_cache_init(&ws->bo_cache, 500000, ws->check_vm ? 1.0f : 2.0f, 0, in radeon_drm_winsys_create()
852 pb_cache_deinit(&ws->bo_cache); in radeon_drm_winsys_create()