Re: [Intel-gfx] [PATCH v4 01/38] drm/i915: Use the MRU stack search after evicting

2016-12-27 Thread Daniel Vetter
On Thu, Dec 22, 2016 at 08:36:04AM +, Chris Wilson wrote: > When we evict from the GTT to make room for an object, the hole we > create is put onto the MRU stack inside the drm_mm range manager. On the > next search pass, we can speed up a PIN_HIGH allocation by referencing > that stack for the

[Intel-gfx] [PATCH v4 01/38] drm/i915: Use the MRU stack search after evicting

2016-12-22 Thread Chris Wilson
When we evict from the GTT to make room for an object, the hole we create is put onto the MRU stack inside the drm_mm range manager. On the next search pass, we can speed up a PIN_HIGH allocation by referencing that stack for the new hole. v2: Pull together the 3 identical implements (ahem, a coup