Home
last modified time | relevance | path

Searched refs:cache_list (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/i915/
Di915_gem_batch_pool.c54 for (n = 0; n < ARRAY_SIZE(pool->cache_list); n++) in i915_gem_batch_pool_init()
55 INIT_LIST_HEAD(&pool->cache_list[n]); in i915_gem_batch_pool_init()
70 for (n = 0; n < ARRAY_SIZE(pool->cache_list); n++) { in i915_gem_batch_pool_fini()
74 &pool->cache_list[n], in i915_gem_batch_pool_fini()
78 INIT_LIST_HEAD(&pool->cache_list[n]); in i915_gem_batch_pool_fini()
111 if (n >= ARRAY_SIZE(pool->cache_list)) in i915_gem_batch_pool_get()
112 n = ARRAY_SIZE(pool->cache_list) - 1; in i915_gem_batch_pool_get()
113 list = &pool->cache_list[n]; in i915_gem_batch_pool_get()
Di915_gem_batch_pool.h34 struct list_head cache_list[4]; member
Di915_debugfs.c342 for (j = 0; j < ARRAY_SIZE(engine->batch_pool.cache_list); j++) { in print_batch_pool_stats()
344 &engine->batch_pool.cache_list[j], in print_batch_pool_stats()
618 for (j = 0; j < ARRAY_SIZE(engine->batch_pool.cache_list); j++) { in i915_gem_batch_pool_info()
623 &engine->batch_pool.cache_list[j], in i915_gem_batch_pool_info()
630 &engine->batch_pool.cache_list[j], in i915_gem_batch_pool_info()
/drivers/gpu/drm/vc4/
Dvc4_bo.c301 struct list_head *cache_list; in vc4_free_object() local
325 cache_list = vc4_get_cache_list_for_size(dev, gem_bo->size); in vc4_free_object()
326 if (!cache_list) { in vc4_free_object()
339 list_add(&bo->size_head, cache_list); in vc4_free_object()