reloc_cache
static void reloc_cache_init(struct reloc_cache *cache,
static struct i915_ggtt *cache_to_ggtt(struct reloc_cache *cache)
container_of(cache, struct i915_execbuffer, reloc_cache)->i915;
static void reloc_cache_unmap(struct reloc_cache *cache)
static void reloc_cache_remap(struct reloc_cache *cache,
static void reloc_cache_reset(struct reloc_cache *cache, struct i915_execbuffer *eb)
struct reloc_cache *cache,
struct reloc_cache *cache = &eb->reloc_cache;
struct reloc_cache *cache = &eb->reloc_cache;
bool wide = eb->reloc_cache.use_64bit_reloc;
eb->reloc_cache.vaddr);
reloc_cache_unmap(&eb->reloc_cache);
reloc_cache_remap(&eb->reloc_cache, ev->vma->obj);
ev->vma->size - (eb->reloc_cache.use_64bit_reloc ? 8 : 4))) {
reloc_cache_reset(&eb->reloc_cache, eb);
reloc_cache_reset(&eb->reloc_cache, eb);
} reloc_cache;
reloc_cache_init(&eb.reloc_cache, eb.i915);
if (!eb->reloc_cache.has_fence) {
eb->reloc_cache.needs_unfenced) &&
if (eb->reloc_cache.has_fence)
static int use_cpu_reloc(const struct reloc_cache *cache,