Home
last modified time | relevance | path

Searched refs:reloc_cache (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
H A 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, e in igt_gpu_reloc()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
H A Di915_gem_execbuffer.c267 struct reloc_cache { struct
281 } reloc_cache; member
513 if (!eb->reloc_cache.has_fence) { in eb_validate_vma()
517 eb->reloc_cache.needs_unfenced) && in eb_validate_vma()
565 if (eb->reloc_cache.has_fence) in eb_add_vma()
572 static inline int use_cpu_reloc(const struct reloc_cache *cache, in use_cpu_reloc()
970 GEM_BUG_ON(eb->reloc_cache.rq); in eb_destroy()
983 static void reloc_cache_clear(struct reloc_cache *cache) in reloc_cache_clear()
991 static void reloc_cache_init(struct reloc_cache *cache, in reloc_cache_init()
1018 static inline struct i915_ggtt *cache_to_ggtt(struct reloc_cache *cach
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/
H A Di915_gem_execbuffer.c285 struct reloc_cache { struct
294 } reloc_cache; member
539 if (!eb->reloc_cache.has_fence) { in eb_validate_vma()
543 eb->reloc_cache.needs_unfenced) && in eb_validate_vma()
596 if (eb->reloc_cache.has_fence) in eb_add_vma()
631 static inline int use_cpu_reloc(const struct reloc_cache *cache, in use_cpu_reloc()
1117 static void reloc_cache_init(struct reloc_cache *cache, in reloc_cache_init()
1143 static inline struct i915_ggtt *cache_to_ggtt(struct reloc_cache *cache) in cache_to_ggtt()
1146 container_of(cache, struct i915_execbuffer, reloc_cache)->i915; in cache_to_ggtt()
1150 static void reloc_cache_unmap(struct reloc_cache *cach
[all...]

Completed in 6 milliseconds