Home
last modified time | relevance | path

Searched refs:cache_bucket (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/etnaviv/drm/
Detnaviv_bo_cache.c36 assert(i < ARRAY_SIZE(cache->cache_bucket)); in add_bucket()
38 list_inithead(&cache->cache_bucket[i].list); in add_bucket()
39 cache->cache_bucket[i].size = size; in add_bucket()
77 struct etna_bo_bucket *bucket = &cache->cache_bucket[i]; in etna_bo_cache_cleanup()
104 struct etna_bo_bucket *bucket = &cache->cache_bucket[i]; in get_bucket()
Detnaviv_priv.h61 struct etna_bo_bucket cache_bucket[14 * 4]; member
/external/libdrm/etnaviv/
Detnaviv_bo_cache.c37 assert(i < ARRAY_SIZE(cache->cache_bucket)); in add_bucket()
39 list_inithead(&cache->cache_bucket[i].list); in add_bucket()
40 cache->cache_bucket[i].size = size; in add_bucket()
78 struct etna_bo_bucket *bucket = &cache->cache_bucket[i]; in etna_bo_cache_cleanup()
104 struct etna_bo_bucket *bucket = &cache->cache_bucket[i]; in get_bucket()
Detnaviv_priv.h56 struct etna_bo_bucket cache_bucket[14 * 4]; member
/external/mesa3d/src/freedreno/drm/
Dfreedreno_bo_cache.c38 assert(i < ARRAY_SIZE(cache->cache_bucket)); in add_bucket()
40 list_inithead(&cache->cache_bucket[i].list); in add_bucket()
41 cache->cache_bucket[i].size = size; in add_bucket()
88 struct fd_bo_bucket *bucket = &cache->cache_bucket[i]; in fd_bo_cache_cleanup()
115 struct fd_bo_bucket *bucket = &cache->cache_bucket[i]; in get_bucket()
Dfreedreno_priv.h71 struct fd_bo_bucket cache_bucket[14 * 4]; member
/external/libdrm/freedreno/
Dfreedreno_bo_cache.c40 assert(i < ARRAY_SIZE(cache->cache_bucket)); in add_bucket()
42 list_inithead(&cache->cache_bucket[i].list); in add_bucket()
43 cache->cache_bucket[i].size = size; in add_bucket()
90 struct fd_bo_bucket *bucket = &cache->cache_bucket[i]; in fd_bo_cache_cleanup()
117 struct fd_bo_bucket *bucket = &cache->cache_bucket[i]; in get_bucket()
Dfreedreno_priv.h77 struct fd_bo_bucket cache_bucket[14 * 4]; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c169 struct bo_cache_bucket cache_bucket[14 * 4]; member
280 &bufmgr->cache_bucket[index] : NULL; in bucket_for_size()
900 struct bo_cache_bucket *bucket = &bufmgr->cache_bucket[i]; in cleanup_bo_cache()
1393 struct bo_cache_bucket *bucket = &bufmgr->cache_bucket[i]; in brw_bufmgr_unref()
1697 assert(i < ARRAY_SIZE(bufmgr->cache_bucket)); in add_bucket()
1699 list_inithead(&bufmgr->cache_bucket[i].head); in add_bucket()
1702 util_dynarray_init(&bufmgr->cache_bucket[i].vma_list[z], NULL); in add_bucket()
1704 bufmgr->cache_bucket[i].size = size; in add_bucket()
1707 assert(bucket_for_size(bufmgr, size) == &bufmgr->cache_bucket[i]); in add_bucket()
1708 assert(bucket_for_size(bufmgr, size - 2048) == &bufmgr->cache_bucket[i]); in add_bucket()
[all …]
/external/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c160 struct bo_cache_bucket cache_bucket[14 * 4]; member
255 &bufmgr->cache_bucket[index] : NULL; in bucket_for_size()
831 struct bo_cache_bucket *bucket = &bufmgr->cache_bucket[i]; in cleanup_bo_cache()
1313 struct bo_cache_bucket *bucket = &bufmgr->cache_bucket[i]; in iris_bufmgr_destroy()
1611 assert(i < ARRAY_SIZE(bufmgr->cache_bucket)); in add_bucket()
1613 list_inithead(&bufmgr->cache_bucket[i].head); in add_bucket()
1614 bufmgr->cache_bucket[i].size = size; in add_bucket()
1617 assert(bucket_for_size(bufmgr, size) == &bufmgr->cache_bucket[i]); in add_bucket()
1618 assert(bucket_for_size(bufmgr, size - 2048) == &bufmgr->cache_bucket[i]); in add_bucket()
1619 assert(bucket_for_size(bufmgr, size + 1) != &bufmgr->cache_bucket[i]); in add_bucket()
/external/libdrm/intel/
Dintel_bufmgr_gem.c124 struct drm_intel_gem_bo_bucket cache_bucket[14 * 4]; member
403 &bufmgr_gem->cache_bucket[i]; in drm_intel_gem_bo_bucket_for_size()
1256 &bufmgr_gem->cache_bucket[i]; in drm_intel_gem_cleanup_bo_cache()
1929 &bufmgr_gem->cache_bucket[i]; in drm_intel_bufmgr_gem_destroy()
3089 assert(i < ARRAY_SIZE(bufmgr_gem->cache_bucket)); in add_bucket()
3091 DRMINITLISTHEAD(&bufmgr_gem->cache_bucket[i].head); in add_bucket()
3092 bufmgr_gem->cache_bucket[i].size = size; in add_bucket()