[Intel-gfx] [PATCH] drm/i915: Break after walking all GGTT vma in bump_inactive_ggtt

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Mon Jan 9 11:21:30 UTC 2017


On to, 2016-12-22 at 13:58 +0000, Chris Wilson wrote:
> Since commit db6c2b4151f2 ("drm/i915: Store the vma in an rbtree under
> the object") the vma are once again sorted into GGTT first, then ppGTT
> so that the typical case of walking the GGTT vma can stop as soon as we
> find a non-ppGTT. Apply that optimisation.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

This got reviewed by me in IRC and seems to be merged.

Regards, joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list