Home
last modified time | relevance | path

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

/drivers/gpu/drm/vc4/
Dvc4_bo.c113 if (vc4->bo_cache.size_list_size <= page_index) { in vc4_get_cache_list_for_size()
114 uint32_t new_size = max(vc4->bo_cache.size_list_size * 2, in vc4_get_cache_list_for_size()
127 for (i = 0; i < vc4->bo_cache.size_list_size; i++) { in vc4_get_cache_list_for_size()
129 &vc4->bo_cache.size_list[i]; in vc4_get_cache_list_for_size()
137 for (i = vc4->bo_cache.size_list_size; i < new_size; i++) in vc4_get_cache_list_for_size()
140 kfree(vc4->bo_cache.size_list); in vc4_get_cache_list_for_size()
141 vc4->bo_cache.size_list = new_list; in vc4_get_cache_list_for_size()
142 vc4->bo_cache.size_list_size = new_size; in vc4_get_cache_list_for_size()
145 return &vc4->bo_cache.size_list[page_index]; in vc4_get_cache_list_for_size()
153 while (!list_empty(&vc4->bo_cache.time_list)) { in vc4_bo_cache_purge()
[all …]
Dvc4_drv.h44 } bo_cache; member