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

2017-01-09 Thread Joonas Lahtinen
On to, 2016-12-22 at 13:58 +, 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

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

2016-12-22 Thread Chris Wilson
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 Cc: Tvrtko U