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

2017-02-27 Thread Chris Wilson
On Mon, Feb 27, 2017 at 11:48:46AM +, Matthew Auld wrote: > On 25 February 2017 at 23:25, 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 la

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

2017-02-27 Thread Matthew Auld
On 25 February 2017 at 23:25, 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. overwriting > > Fixes: c5d092a4293f ("drm/i915: Rem

[Intel-gfx] [PATCH 1/3] 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