Quoting Antonio Argenziano (2017-12-06 23:03:44) > To hang a context we were effectively reimplementing a spinning batch > and never stopping it. This patch reuses the recursive batch from > igt_dummyload to hang a context. > > Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Antonio Argenziano <antonio.argenziano@xxxxxxxxx> > --- > #define SCRATCH 0 > @@ -168,6 +168,8 @@ static void emit_recursive_batch(igt_spin_t *spin, > execbuf.flags = engines[i]; > gem_execbuf(fd, &execbuf); > } > + > + spin->spinning_offset = obj->offset; s/spinning_offset/gtt_offset; spin->gtt_offset = obj[BATCH].offset; which should fix up the CI failures. -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx