[Intel-gfx] [PATCH igt] igt/gem_eio: Exercise set-wedging against request submission

2018-03-17 Thread Chris Wilson
Build up a large stockpile of requests, ~500,000, and feed them into the system at 20KHz whilst simultaneously triggering set-wedged in order to try and race i915_gem_set_wedged() against the engine->submit_request() callback. v2: Tweak sleep for flushing timer signals. Signed-off-by: Chris Wilso

[Intel-gfx] [PATCH igt] igt/gem_eio: Exercise set-wedging against request submission

2018-03-16 Thread Chris Wilson
Build up a large stockpile of requests, ~500,000, and feed them into the system at 20KHz whilst simultaneously triggering set-wedged in order to try and race i915_gem_set_wedged() against the engine->submit_request() callback. Signed-off-by: Chris Wilson Cc: Mika Kuoppala Acked-by: Antonio Argen

[Intel-gfx] [PATCH igt] igt/gem_eio: Exercise set-wedging against request submission

2018-03-08 Thread Chris Wilson
Build up a large stockpile of requests, ~500,000, and feed them into the system at 20KHz whilst simultaneously triggering set-wedged in order to try and race i915_gem_set_wedged() against the engine->submit_request() callback. Signed-off-by: Chris Wilson Cc: Mika Kuoppala --- tests/gem_eio.c |

Re: [Intel-gfx] [PATCH igt] igt/gem_eio: Exercise set-wedging against request submission

2018-02-20 Thread Chris Wilson
Quoting Antonio Argenziano (2018-02-20 22:31:58) > On 07/02/18 01:50, Chris Wilson wrote: > > +static void test_set_wedged(int fd) > > +{ > > +#define NCTX 4096 > > + const uint32_t bbe = MI_BATCH_BUFFER_END; > > + const int ring_size = measure_ring_size(fd, 0) - 1; > > + struct drm_i91

Re: [Intel-gfx] [PATCH igt] igt/gem_eio: Exercise set-wedging against request submission

2018-02-20 Thread Antonio Argenziano
On 07/02/18 01:50, Chris Wilson wrote: Build up a large stockpile of requests, ~500,000, and feed them into the system at 20KHz whilst simultaneously triggering set-wedged in order to try and race i915_gem_set_wedged() against the engine->submit_request() callback. Signed-off-by: Chris Wilson

[Intel-gfx] [PATCH igt] igt/gem_eio: Exercise set-wedging against request submission

2018-02-07 Thread Chris Wilson
Build up a large stockpile of requests, ~500,000, and feed them into the system at 20KHz whilst simultaneously triggering set-wedged in order to try and race i915_gem_set_wedged() against the engine->submit_request() callback. Signed-off-by: Chris Wilson --- tests/gem_eio.c | 196 +++