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@xxxxxxxxxxxxxxxxxx> > Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> > Cc: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> Agreed. i915_vma.h can be untangled in the future. Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx