[Intel-gfx] [PATCH] drm/i915: Convert vm->dev backpointer to vm->i915
Chris Wilson
chris at chris-wilson.co.uk
Tue Nov 29 11:46:00 UTC 2016
On Tue, Nov 29, 2016 at 12:54:12PM +0200, Joonas Lahtinen wrote:
> On ti, 2016-11-29 at 09:50 +0000, Chris Wilson wrote:
> > 99% of the time we access i915_address_space->dev we want the i915
> > device and not the drm device, so let's store the drm_i915_private
> > backpointer instead. The only real complication here are the inlines
> > in i915_vma.h where drm_i915_private is not yet defined and so we have
> > to choose an alternate path for our asserts.
> >
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> > Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>
> Agreed. i915_vma.h can be untangled in the future.
>
> Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Oops, pushed before realising CI is still playing catch up. Hopefully no
problems...
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list