On 6 June 2018 at 07:26, Chris Wilson <ch...@chris-wilson.co.uk> wrote: > In order to allow ourselves to use VMA to wrap other entities other than > GEM objects, we need to allow for the vma->obj backpointer to be NULL. > In most cases, we know we are operating on a GEM object and its vma, but > we need the core code (such as i915_vma_pin/insert/bind/unbind) to work > regardless of the innards. > > The remaining eyesore here is vma->obj->cache_level and related (but > less of an issue) vma->obj->gt_ro. With a bit of care we should mirror > those on the vma itself. > > Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> > Cc: Joonas Lahtinen <joonas.lahti...@linux.intel.com> > Cc: Mika Kuoppala <mika.kuopp...@linux.intel.com> > Cc: Matthew Auld <matthew.william.a...@gmail.com> Reviewed-by: Matthew Auld <matthew.william.a...@gmail.com> _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
- [Intel-gfx] [PATCH 15/17] drm/i915/gtt: Skip clearing the GGT... Chris Wilson
- [Intel-gfx] [PATCH 03/17] drm/i915: Decouple vma vfuncs from ... Chris Wilson
- [Intel-gfx] [PATCH 01/17] drm/i915/gtt: Invalidate GGTT cache... Chris Wilson
- [Intel-gfx] [PATCH 13/17] drm/i915/gtt: Cache the PTE encodin... Chris Wilson
- [Intel-gfx] [PATCH 11/17] drm/i915/gtt: Free unused page tabl... Chris Wilson
- [Intel-gfx] [PATCH 09/17] drm/i915/gtt: Only keep gen6 page d... Chris Wilson
- [Intel-gfx] [PATCH 17/17] RFT drm/i915/gtt: Enable full-ppgtt... Chris Wilson
- [Intel-gfx] [PATCH 02/17] drm/i915: Prepare for non-object vm... Chris Wilson
- Re: [Intel-gfx] [PATCH 02/17] drm/i915: Prepare for non-... Matthew Auld
- [Intel-gfx] [PATCH 16/17] drm/i915/ringbuffer: Force restore ... Chris Wilson
- [Intel-gfx] [PATCH 14/17] drm/i915/gtt: Reduce a pair of runt... Chris Wilson
- [Intel-gfx] [PATCH 06/17] drm/i915/gtt Onionify error handlin... Chris Wilson
- [Intel-gfx] [PATCH 05/17] drm/i915/gtt: Subclass gen6_hw_ppgt... Chris Wilson
- [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting w... Patchwork
- [Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with ... Patchwork
- [Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [01... Patchwork