Re: [Intel-gfx] [PATCH v3 16/37] drm/i915/lmem: support CPU relocations

2019-08-10 Thread Chris Wilson
Quoting Matthew Auld (2019-08-09 23:26:22) > @@ -1017,10 +1020,14 @@ static void reloc_cache_reset(struct reloc_cache > *cache) > } else { > struct i915_ggtt *ggtt = cache_to_ggtt(cache); > > - intel_gt_flush_ggtt_writes(ggtt->vm.gt); > + if

[PATCH v3 16/37] drm/i915/lmem: support CPU relocations

2019-08-09 Thread Matthew Auld
Add LMEM support for the CPU reloc path. When doing relocations we have both a GPU and CPU reloc path, as well as some debugging options to force a particular path. The GPU reloc path is preferred when the object is not currently idle, otherwise we use the CPU reloc path. Since we can't kmap the