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 <ch...@chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahti...@linux.intel.com>
> Cc: Tvrtko Ursulin <tvrtko.ursu...@intel.com>

Agreed. i915_vma.h can be untangled in the future.

Reviewed-by: Joonas Lahtinen <joonas.lahti...@linux.intel.com>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to