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 <[email protected]>
> Cc: Joonas Lahtinen <[email protected]>
> Cc: Tvrtko Ursulin <[email protected]>

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

Reviewed-by: Joonas Lahtinen <[email protected]>

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

Reply via email to