On Fri, Dec 16, 2016 at 07:25:13PM +0000, 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 new hole.
v2: Pull together the 3 identical implements (ahem, a couple were outdated) into a common routine for allocating a node and evicting as necessary.
On noes, I realized that I have used the correct spelling of colour. Needs a s/colour/color/ for consistency. -Chris