diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-03-02 23:12:25 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-03-02 23:13:57 +0000 |
commit | 91b36b61e76901a2bd09fe93ac7bf7b8a60f258c (patch) | |
tree | efb350774ed48041862123f350bdef2d96540ce3 | |
parent | 1707153df224ffb6333c6c660a792b7f334eb3d3 (diff) |
i915/gem_exec_balancer: Relax spinner checks around INVALID_CS
If we submit a second spinner along the same virtual engine as an
INVALID_CS spinner, it may be terminated before we can check it is still
alive.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
-rw-r--r-- | tests/i915/gem_exec_balancer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/i915/gem_exec_balancer.c b/tests/i915/gem_exec_balancer.c index 71c27e38..69f0100f 100644 --- a/tests/i915/gem_exec_balancer.c +++ b/tests/i915/gem_exec_balancer.c @@ -1665,8 +1665,8 @@ static void hangme(int i915) if (!gem_has_cmdparser(i915, ALL_ENGINES)) flags |= IGT_SPIN_INVALID_CS; for (int j = 0; j < ARRAY_SIZE(c->spin); j++) { - c->spin[j] = igt_spin_new(i915, ctx, - .flags = flags); + c->spin[j] = __igt_spin_new(i915, ctx, + .flags = flags); flags = IGT_SPIN_FENCE_OUT; } |