/external/mesa3d/src/broadcom/vulkan/ |
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() 164 struct v3dv_bo_cache *cache = &device->bo_cache; in bo_cache_free_all() 238 if (!list_is_empty(&device->bo_cache.time_list) && in v3dv_bo_alloc() 384 list_inithead(&device->bo_cache.time_list); in v3dv_bo_cache_init() 388 device->bo_cache.size_list_size = 0; in v3dv_bo_cache_init() 392 device->bo_cache.max_cache_size = DEFAULT_MAX_BO_CACHE_SIZE; in v3dv_bo_cache_init() 394 device->bo_cache.max_cache_size = atoll(max_cache_size_str); in v3dv_bo_cache_init() 397 fprintf(stderr, "MAX BO CACHE SIZE: %iMB\n", device->bo_cache.max_cache_size); in v3dv_bo_cache_init() 400 device->bo_cache.max_cache_size *= 1024 * 1024; in v3dv_bo_cache_init() [all …]
|
/external/mesa3d/src/panfrost/lib/ |
D | pan_bo.c | 181 return &dev->bo_cache.buckets[pan_bucket_index(size)]; in pan_bucket() 193 pthread_mutex_lock(&dev->bo_cache.lock); in panfrost_bo_cache_fetch() 226 pthread_mutex_unlock(&dev->bo_cache.lock); in panfrost_bo_cache_fetch() 238 &dev->bo_cache.lru, lru_link) { in panfrost_bo_cache_evict_stale_bos() 267 pthread_mutex_lock(&dev->bo_cache.lock); in panfrost_bo_cache_put() 282 list_addtail(&bo->lru_link, &dev->bo_cache.lru); in panfrost_bo_cache_put() 290 pthread_mutex_unlock(&dev->bo_cache.lock); in panfrost_bo_cache_put() 305 pthread_mutex_lock(&dev->bo_cache.lock); in panfrost_bo_cache_evict_all() 306 for (unsigned i = 0; i < ARRAY_SIZE(dev->bo_cache.buckets); ++i) { in panfrost_bo_cache_evict_all() 307 struct list_head *bucket = &dev->bo_cache.buckets[i]; in panfrost_bo_cache_evict_all() [all …]
|
D | pan_props.c | 221 pthread_mutex_init(&dev->bo_cache.lock, NULL); in panfrost_open_device() 222 list_inithead(&dev->bo_cache.lru); in panfrost_open_device() 224 for (unsigned i = 0; i < ARRAY_SIZE(dev->bo_cache.buckets); ++i) in panfrost_open_device() 225 list_inithead(&dev->bo_cache.buckets[i]); in panfrost_open_device() 241 pthread_mutex_destroy(&dev->bo_cache.lock); in panfrost_close_device()
|
D | pan_device.h | 143 } bo_cache; member
|
/external/mesa3d/src/gallium/drivers/v3d/ |
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()
|
D | v3d_screen.h | 70 } bo_cache; member
|
/external/mesa3d/src/gallium/drivers/vc4/ |
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()
|
D | vc4_screen.h | 88 } bo_cache; member
|
/external/libdrm/etnaviv/ |
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()
|
D | etnaviv_bo.c | 116 bo = etna_bo_cache_alloc(&dev->bo_cache, &size, flags); in etna_bo_new() 247 if (bo->reuse && (etna_bo_cache_free(&dev->bo_cache, bo) == 0)) in etna_bo_del()
|
D | etnaviv_priv.h | 76 struct etna_bo_cache bo_cache; member
|
/external/mesa3d/src/etnaviv/drm/ |
D | etnaviv_device.c | 48 etna_bo_cache_init(&dev->bo_cache); in etna_device_new() 85 etna_bo_cache_cleanup(&dev->bo_cache, 0); in etna_device_del_impl()
|
D | etnaviv_bo.c | 128 bo = etna_bo_cache_alloc(&dev->bo_cache, &size, flags); in etna_bo_new() 269 if (bo->reuse && (etna_bo_cache_free(&dev->bo_cache, bo) == 0)) in etna_bo_del()
|
/external/libdrm/freedreno/ |
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()
|
D | freedreno_bo.c | 109 struct fd_bo *bo = bo_new(dev, size, flags, &dev->bo_cache); in fd_bo_new() 242 if ((bo->bo_reuse == BO_CACHE) && (fd_bo_cache_free(&dev->bo_cache, bo) == 0)) in fd_bo_del()
|
/external/mesa3d/src/freedreno/drm/ |
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()
|
D | freedreno_bo.c | 113 struct fd_bo *bo = bo_new(dev, size, flags, &dev->bo_cache); in _fd_bo_new() 259 if ((bo->bo_reuse == BO_CACHE) && (fd_bo_cache_free(&dev->bo_cache, bo) == 0)) in fd_bo_del()
|
/external/mesa3d/src/intel/vulkan/tests/ |
D | state_pool.c | 45 anv_bo_cache_init(&device.bo_cache); in main()
|
D | state_pool_free_list_only.c | 44 anv_bo_cache_init(&device.bo_cache); in main()
|
D | block_pool_grow_first.c | 44 anv_bo_cache_init(&device.bo_cache); in main()
|
D | state_pool_padding.c | 38 anv_bo_cache_init(&device.bo_cache); in main()
|
D | state_pool_no_free.c | 65 anv_bo_cache_init(&device.bo_cache); in run_test()
|
D | block_pool_no_free.c | 120 anv_bo_cache_init(&device.bo_cache); in run_test()
|
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_winsys.h | 48 struct pb_cache bo_cache; member
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_winsys.h | 58 struct pb_cache bo_cache; member
|