Re: [Intel-gfx] [PATCH 2/2] tests/gem_eio: Resilience against "hanging too fast"

2015-11-30 Thread Daniel Vetter
On Thu, Nov 26, 2015 at 09:10:57PM +, Chris Wilson wrote: > On Thu, Nov 26, 2015 at 04:51:13PM +0100, Daniel Vetter wrote: > > On Thu, Nov 26, 2015 at 03:34:05PM +, Chris Wilson wrote: > > > On Thu, Nov 26, 2015 at 03:46:06PM +0100, Daniel Vetter wrote: > > > > On Thu, Nov 26, 2015 at 12:59

Re: [Intel-gfx] [PATCH 2/2] tests/gem_eio: Resilience against "hanging too fast"

2015-11-26 Thread Chris Wilson
On Thu, Nov 26, 2015 at 04:51:13PM +0100, Daniel Vetter wrote: > On Thu, Nov 26, 2015 at 03:34:05PM +, Chris Wilson wrote: > > On Thu, Nov 26, 2015 at 03:46:06PM +0100, Daniel Vetter wrote: > > > On Thu, Nov 26, 2015 at 12:59:37PM +, Chris Wilson wrote: > > > > On Thu, Nov 26, 2015 at 12:34

Re: [Intel-gfx] [PATCH 2/2] tests/gem_eio: Resilience against "hanging too fast"

2015-11-26 Thread Daniel Vetter
On Thu, Nov 26, 2015 at 03:34:05PM +, Chris Wilson wrote: > On Thu, Nov 26, 2015 at 03:46:06PM +0100, Daniel Vetter wrote: > > On Thu, Nov 26, 2015 at 12:59:37PM +, Chris Wilson wrote: > > > On Thu, Nov 26, 2015 at 12:34:35PM +0100, Daniel Vetter wrote: > > > > Since $debugfs/i915_wedged re

Re: [Intel-gfx] [PATCH 2/2] tests/gem_eio: Resilience against "hanging too fast"

2015-11-26 Thread Chris Wilson
On Thu, Nov 26, 2015 at 03:46:06PM +0100, Daniel Vetter wrote: > On Thu, Nov 26, 2015 at 12:59:37PM +, Chris Wilson wrote: > > On Thu, Nov 26, 2015 at 12:34:35PM +0100, Daniel Vetter wrote: > > > Since $debugfs/i915_wedged restores a wedged gpu by using a normal gpu > > > hang we need to be car

Re: [Intel-gfx] [PATCH 2/2] tests/gem_eio: Resilience against "hanging too fast"

2015-11-26 Thread Daniel Vetter
On Thu, Nov 26, 2015 at 12:59:37PM +, Chris Wilson wrote: > On Thu, Nov 26, 2015 at 12:34:35PM +0100, Daniel Vetter wrote: > > Since $debugfs/i915_wedged restores a wedged gpu by using a normal gpu > > hang we need to be careful to not run into the "hanging too fast > > check": > > > > - don't

Re: [Intel-gfx] [PATCH 2/2] tests/gem_eio: Resilience against "hanging too fast"

2015-11-26 Thread Chris Wilson
On Thu, Nov 26, 2015 at 12:34:35PM +0100, Daniel Vetter wrote: > Since $debugfs/i915_wedged restores a wedged gpu by using a normal gpu > hang we need to be careful to not run into the "hanging too fast > check": > > - don't restore the ban period, but instead keep it at 0. > - make sure we idle t

[Intel-gfx] [PATCH 2/2] tests/gem_eio: Resilience against "hanging too fast"

2015-11-26 Thread Daniel Vetter
Since $debugfs/i915_wedged restores a wedged gpu by using a normal gpu hang we need to be careful to not run into the "hanging too fast check": - don't restore the ban period, but instead keep it at 0. - make sure we idle the gpu fully before hanging it again (wait subtest missted that). With t