Re: [Intel-gfx] [PATCH] drm/i915: Only unwind the local pgtable layer if empty

2017-02-25 Thread Chris Wilson
On Sat, Feb 25, 2017 at 09:41:56PM +, Chris Wilson wrote: > On Sat, Feb 25, 2017 at 09:19:59PM +, Chris Wilson wrote: > > Only if we allocated the layer and the lower level failed should we > > remove this layer when unwinding. Otherwise we ignore the overlapping > > entries by overwritting

Re: [Intel-gfx] [PATCH] drm/i915: Only unwind the local pgtable layer if empty

2017-02-25 Thread Chris Wilson
On Sat, Feb 25, 2017 at 09:19:59PM +, Chris Wilson wrote: > Only if we allocated the layer and the lower level failed should we > remove this layer when unwinding. Otherwise we ignore the overlapping > entries by overwritting the old layer with scratch. > > Fixes: c5d092a4293f ("drm/i915: Remo

[Intel-gfx] [PATCH] drm/i915: Only unwind the local pgtable layer if empty

2017-02-25 Thread Chris Wilson
Only if we allocated the layer and the lower level failed should we remove this layer when unwinding. Otherwise we ignore the overlapping entries by overwritting the old layer with scratch. Fixes: c5d092a4293f ("drm/i915: Remove bitmap tracking for used-pml4") Fixes: e2b763caa6eb ("drm/i915: Remov