Re: [Intel-gfx] [PATCH igt 08/10] igt/gem_exec_fence: Exercise merging fences

2017-07-31 Thread Chris Wilson
Quoting Michał Winiarski (2017-07-31 09:26:44) > On Fri, Jul 28, 2017 at 01:08:06PM +0100, Chris Wilson wrote: > > + for_each_engine(fd, engine) { > > + int fence, new; > > + > > + execbuf.flags = engine | LOCAL_EXEC_FENCE_OUT; > > + execbuf.rsvd2 = -1; > > +

Re: [Intel-gfx] [PATCH igt 08/10] igt/gem_exec_fence: Exercise merging fences

2017-07-31 Thread Michał Winiarski
On Fri, Jul 28, 2017 at 01:08:06PM +0100, Chris Wilson wrote: > Execute the same batch on each engine and check that the composite fence > across all engines completes only after the batch is completed on every > engine. > > Signed-off-by: Chris Wilson > --- > tests/gem_exec_fence.c | 120 > +++

[Intel-gfx] [PATCH igt 08/10] igt/gem_exec_fence: Exercise merging fences

2017-07-28 Thread Chris Wilson
Execute the same batch on each engine and check that the composite fence across all engines completes only after the batch is completed on every engine. Signed-off-by: Chris Wilson --- tests/gem_exec_fence.c | 120 + 1 file changed, 120 insertions(