/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_bo.c | 48 struct v3dv_bo_cache *cache = &device->bo_cache; in bo_dump_stats() 97 struct v3dv_bo_cache *cache = &device->bo_cache; in bo_from_cache() 168 struct v3dv_bo_cache *cache = &device->bo_cache; in bo_cache_free_all() 237 if (!list_is_empty(&device->bo_cache.time_list) && in v3dv_bo_alloc() 386 list_inithead(&device->bo_cache.time_list); in v3dv_bo_cache_init() 390 device->bo_cache.size_list_size = 0; in v3dv_bo_cache_init() 394 device->bo_cache.max_cache_size = DEFAULT_MAX_BO_CACHE_SIZE; in v3dv_bo_cache_init() 396 device->bo_cache.max_cache_size = atoll(max_cache_size_str); in v3dv_bo_cache_init() 399 fprintf(stderr, "MAX BO CACHE SIZE: %iMB\n", device->bo_cache.max_cache_size); in v3dv_bo_cache_init() 402 device->bo_cache in v3dv_bo_cache_init() [all...] |
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_bo.c | 178 return &dev->bo_cache.buckets[pan_bucket_index(size)]; in pan_bucket() 191 pthread_mutex_lock(&dev->bo_cache.lock); in panfrost_bo_cache_fetch() 227 pthread_mutex_unlock(&dev->bo_cache.lock); in panfrost_bo_cache_fetch() 239 &dev->bo_cache.lru, lru_link) { in panfrost_bo_cache_evict_stale_bos() 269 pthread_mutex_lock(&dev->bo_cache.lock); in panfrost_bo_cache_put() 285 list_addtail(&bo->lru_link, &dev->bo_cache.lru); in panfrost_bo_cache_put() 298 pthread_mutex_unlock(&dev->bo_cache.lock); in panfrost_bo_cache_put() 312 pthread_mutex_lock(&dev->bo_cache.lock); in panfrost_bo_cache_evict_all() 313 for (unsigned i = 0; i < ARRAY_SIZE(dev->bo_cache.buckets); ++i) { in panfrost_bo_cache_evict_all() 314 struct list_head *bucket = &dev->bo_cache in panfrost_bo_cache_evict_all() [all...] |
H A D | pan_props.c | 311 pthread_mutex_init(&dev->bo_cache.lock, NULL); in panfrost_open_device() 312 list_inithead(&dev->bo_cache.lru); in panfrost_open_device() 314 for (unsigned i = 0; i < ARRAY_SIZE(dev->bo_cache.buckets); ++i) in panfrost_open_device() 315 list_inithead(&dev->bo_cache.buckets[i]); in panfrost_open_device() 344 pthread_mutex_destroy(&dev->bo_cache.lock); in panfrost_close_device()
|
H A D | pan_device.h | 238 } bo_cache; member
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3d_bufmgr.c | 46 struct v3d_bo_cache *cache = &screen->bo_cache; in v3d_bo_dump_stats() 90 struct v3d_bo_cache *cache = &screen->bo_cache; in v3d_bo_from_cache() 165 if (!list_is_empty(&screen->bo_cache.time_list) && in v3d_bo_alloc() 168 v3d_bo_cache_free_all(&screen->bo_cache); in v3d_bo_alloc() 193 mtx_lock(&screen->bo_cache.lock); in v3d_bo_last_unreference() 195 mtx_unlock(&screen->bo_cache.lock); in v3d_bo_last_unreference() 237 struct v3d_bo_cache *cache = &screen->bo_cache; in free_stale_bos() 278 struct v3d_bo_cache *cache = &screen->bo_cache; in v3d_bo_last_unreference_locked_timed() 543 struct v3d_bo_cache *cache = &screen->bo_cache; in v3d_bufmgr_destroy()
|
H A D | v3d_screen.h | 71 } bo_cache; member
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_bufmgr.c | 80 struct vc4_bo_cache *cache = &screen->bo_cache; in vc4_bo_dump_stats() 182 struct vc4_bo_cache *cache = &screen->bo_cache; in vc4_bo_from_cache() 258 if (!list_is_empty(&screen->bo_cache.time_list) && in vc4_bo_alloc() 261 vc4_bo_cache_free_all(&screen->bo_cache); in vc4_bo_alloc() 288 mtx_lock(&screen->bo_cache.lock); in vc4_bo_last_unreference() 290 mtx_unlock(&screen->bo_cache.lock); in vc4_bo_last_unreference() 296 struct vc4_bo_cache *cache = &screen->bo_cache; in free_stale_bos() 338 struct vc4_bo_cache *cache = &screen->bo_cache; in vc4_bo_last_unreference_locked_timed() 662 struct vc4_bo_cache *cache = &screen->bo_cache; in vc4_bufmgr_destroy()
|
H A D | vc4_screen.h | 88 } bo_cache; member
|
/third_party/mesa3d/src/intel/vulkan/tests/ |
H A D | state_pool_free_list_only.c | 44 anv_bo_cache_init(&device.bo_cache, &device); in main() 67 anv_bo_cache_finish(&device.bo_cache); in main()
|
H A D | state_pool.c | 45 anv_bo_cache_init(&device.bo_cache, &device); in main() 58 anv_bo_cache_finish(&device.bo_cache); in main()
|
H A D | block_pool_grow_first.c | 44 anv_bo_cache_init(&device.bo_cache, &device); in main() 66 anv_bo_cache_finish(&device.bo_cache); in main()
|
H A D | state_pool_padding.c | 38 anv_bo_cache_init(&device.bo_cache, &device); in main() 78 anv_bo_cache_finish(&device.bo_cache); in main()
|
H A D | state_pool_no_free.c | 65 anv_bo_cache_init(&device.bo_cache, &device); in run_test() 112 anv_bo_cache_finish(&device.bo_cache); in run_test()
|
H A D | block_pool_no_free.c | 122 anv_bo_cache_init(&device.bo_cache, &device); in run_test() 146 anv_bo_cache_finish(&device.bo_cache); in run_test()
|
/third_party/mesa3d/src/freedreno/drm/ |
H A D | freedreno_device.c | 92 fd_bo_cache_init(&dev->bo_cache, false); in fd_device_new() 146 fd_bo_cache_cleanup(&dev->bo_cache, 0); in fd_device_purge() 161 fd_bo_cache_cleanup(&dev->bo_cache, 0); in fd_device_del_impl()
|
/third_party/libdrm/etnaviv/ |
H A D | etnaviv_device.c | 55 etna_bo_cache_init(&dev->bo_cache); in etna_device_new() 84 etna_bo_cache_cleanup(&dev->bo_cache, 0); in etna_device_del_impl()
|
H A D | etnaviv_bo.c | 107 bo = etna_bo_cache_alloc(&dev->bo_cache, &size, flags); in etna_bo_new() 238 if (bo->reuse && (etna_bo_cache_free(&dev->bo_cache, bo) == 0)) in etna_bo_del()
|
H A D | etnaviv_priv.h | 76 struct etna_bo_cache bo_cache; member
|
/third_party/libdrm/freedreno/ |
H A D | freedreno_device.c | 84 fd_bo_cache_init(&dev->bo_cache, FALSE); in fd_device_new() 113 fd_bo_cache_cleanup(&dev->bo_cache, 0); in fd_device_del_impl()
|
H A D | freedreno_bo.c | 106 struct fd_bo *bo = bo_new(dev, size, flags, &dev->bo_cache); in fd_bo_new() 113 * instead of the normal bo_cache. The purpose is, because cmdstream 239 if ((bo->bo_reuse == BO_CACHE) && (fd_bo_cache_free(&dev->bo_cache, bo) == 0)) in fd_bo_del()
|
/third_party/mesa3d/src/etnaviv/drm/ |
H A D | etnaviv_device.c | 69 etna_bo_cache_init(&dev->bo_cache); in etna_device_new() 107 etna_bo_cache_cleanup(&dev->bo_cache, 0); in etna_device_del_impl()
|
H A D | etnaviv_bo.c | 195 bo = etna_bo_cache_alloc(&dev->bo_cache, &size, flags); in etna_bo_new() 319 if (bo->reuse && (etna_bo_cache_free(&dev->bo_cache, bo) == 0)) in etna_bo_del()
|
H A D | etnaviv_priv.h | 83 struct etna_bo_cache bo_cache; member
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
H A D | radeon_drm_winsys.h | 58 struct pb_cache bo_cache; member
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
H A D | amdgpu_winsys.h | 61 struct pb_cache bo_cache; member
|