On 07/12/17 03:05, Chris Wilson wrote:
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 <[email protected]>
Signed-off-by: Antonio Argenziano <[email protected]>
---
  #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;

Ops, thanks for catching this.

-Antonio


which should fix up the CI failures.
-Chris

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to