Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_execbuffer.c24 GENMASK_ULL(eb->reloc_cache.use_64bit_reloc ? 63 : 31, 0); in __igt_gpu_reloc()
55 i -= eb->reloc_cache.rq_size; in __igt_gpu_reloc()
56 memset32(eb->reloc_cache.rq_cmd + eb->reloc_cache.rq_size, in __igt_gpu_reloc()
58 eb->reloc_cache.rq_size += i; in __igt_gpu_reloc()
65 GEM_BUG_ON(!eb->reloc_cache.rq); in __igt_gpu_reloc()
66 rq = i915_request_get(eb->reloc_cache.rq); in __igt_gpu_reloc()
67 reloc_gpu_flush(eb, &eb->reloc_cache); in __igt_gpu_reloc()
68 GEM_BUG_ON(eb->reloc_cache.rq); in __igt_gpu_reloc()
128 reloc_cache_init(&eb.reloc_cache, eb.i915); in igt_gpu_reloc()
/Linux-v5.10/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c268 struct reloc_cache { struct
282 } reloc_cache; member
514 if (!eb->reloc_cache.has_fence) { in eb_validate_vma()
518 eb->reloc_cache.needs_unfenced) && in eb_validate_vma()
566 if (eb->reloc_cache.has_fence) in eb_add_vma()
573 static inline int use_cpu_reloc(const struct reloc_cache *cache, in use_cpu_reloc()
971 GEM_BUG_ON(eb->reloc_cache.rq); in eb_destroy()
984 static void reloc_cache_clear(struct reloc_cache *cache) in reloc_cache_clear()
992 static void reloc_cache_init(struct reloc_cache *cache, in reloc_cache_init()
1019 static inline struct i915_ggtt *cache_to_ggtt(struct reloc_cache *cache) in cache_to_ggtt()
[all …]