Re: [Intel-gfx] [PATCH 3/4] drm/i915: Reload PD tables after semaphore wait on gen8

2016-04-11 Thread Ville Syrjälä
On Mon, Apr 11, 2016 at 09:16:21AM +0100, Chris Wilson wrote: > On Mon, Apr 11, 2016 at 10:34:14AM +0300, Ville Syrjälä wrote: > > On Sat, Apr 09, 2016 at 11:14:45AM +0100, Chris Wilson wrote: > > > When the engine idles waiting upon a semaphore, it loses its > > > pagetables and we must reload the

Re: [Intel-gfx] [PATCH 3/4] drm/i915: Reload PD tables after semaphore wait on gen8

2016-04-11 Thread Chris Wilson
On Mon, Apr 11, 2016 at 10:34:14AM +0300, Ville Syrjälä wrote: > On Sat, Apr 09, 2016 at 11:14:45AM +0100, Chris Wilson wrote: > > When the engine idles waiting upon a semaphore, it loses its > > pagetables and we must reload them before executing the batch. > > RCS shouldn't lose them IIRC, other

Re: [Intel-gfx] [PATCH 3/4] drm/i915: Reload PD tables after semaphore wait on gen8

2016-04-11 Thread Ville Syrjälä
On Sat, Apr 09, 2016 at 11:14:45AM +0100, Chris Wilson wrote: > When the engine idles waiting upon a semaphore, it loses its > pagetables and we must reload them before executing the batch. RCS shouldn't lose them IIRC, other engines yes. As I recall the other way to avoid this would be to prevent

[Intel-gfx] [PATCH 3/4] drm/i915: Reload PD tables after semaphore wait on gen8

2016-04-09 Thread Chris Wilson
When the engine idles waiting upon a semaphore, it loses its pagetables and we must reload them before executing the batch. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/intel_ringbuffer.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_ringbuffe