Searched refs:bo_cache (Results 1 – 15 of 15) sorted by relevance
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_bufmgr.c | 54 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()
|
D | vc4_screen.h | 84 } bo_cache; member
|
D | vc4_screen.c | 613 list_inithead(&screen->bo_cache.time_list); in vc4_screen_create()
|
/external/libdrm/etnaviv/ |
D | etnaviv_device.c | 59 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()
|
D | etnaviv_bo.c | 120 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()
|
D | etnaviv_priv.h | 95 struct etna_bo_cache bo_cache; member
|
/external/libdrm/freedreno/ |
D | freedreno_device.c | 88 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()
|
D | freedreno_bo.c | 92 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()
|
D | freedreno_priv.h | 102 struct fd_bo_cache bo_cache; member
|
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_winsys.h | 50 struct pb_cache bo_cache; member
|
D | amdgpu_bo.c | 303 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()
|
D | amdgpu_winsys.c | 392 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/ |
D | radeon_drm_winsys.h | 72 struct pb_cache bo_cache; member
|
D | radeon_drm_bo.c | 449 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()
|
D | radeon_drm_winsys.c | 553 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()
|