Re: [Intel-gfx] [PATCH] drm/i915: Suppress switch_mm emission between the same aliasing_ppgtt

2017-01-11 Thread Chris Wilson
On Wed, Jan 11, 2017 at 05:35:08PM +0200, Martin Peres wrote: > On 11/01/17 14:58, Joonas Lahtinen wrote: > >On ke, 2017-01-11 at 12:14 +, Chris Wilson wrote: > >>When switching between contexts using the aliasing_ppgtt, the VM is > >>shared. We don't need to reload the PD registers unless

Re: [Intel-gfx] [PATCH] drm/i915: Suppress switch_mm emission between the same aliasing_ppgtt

2017-01-11 Thread Martin Peres
On 11/01/17 14:58, Joonas Lahtinen wrote: On ke, 2017-01-11 at 12:14 +, Chris Wilson wrote: When switching between contexts using the aliasing_ppgtt, the VM is shared. We don't need to reload the PD registers unless they are dirty. Martin Peres reported an issue that looks like corruption

Re: [Intel-gfx] [PATCH] drm/i915: Suppress switch_mm emission between the same aliasing_ppgtt

2017-01-11 Thread Joonas Lahtinen
On ke, 2017-01-11 at 12:14 +, Chris Wilson wrote: > When switching between contexts using the aliasing_ppgtt, the VM is > shared. We don't need to reload the PD registers unless they are dirty. > > Martin Peres reported an issue that looks like corruption between > Haswell context switches,

[Intel-gfx] [PATCH] drm/i915: Suppress switch_mm emission between the same aliasing_ppgtt

2017-01-11 Thread Chris Wilson
When switching between contexts using the aliasing_ppgtt, the VM is shared. We don't need to reload the PD registers unless they are dirty. Martin Peres reported an issue that looks like corruption between Haswell context switches, bisecting to commit f9326be5f1d3 ("drm/i915: Rearrange