Re: [PATCH] drm/i915: Convert vm->dev backpointer to vm->i915

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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>

Oops, pushed before realising CI is still playing catch up. Hopefully no
problems...
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux