Quoting Chris Wilson (2021-01-05 11:19:26) > Disable banning as we deliberately inject GPU resets to test isolation. > > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Cc: Venkata Ramana Nayana <venkata.ramana.nayana@xxxxxxxxx> > --- > tests/i915/gem_ctx_isolation.c | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git a/tests/i915/gem_ctx_isolation.c b/tests/i915/gem_ctx_isolation.c > index 58a35b487..4f1742685 100644 > --- a/tests/i915/gem_ctx_isolation.c > +++ b/tests/i915/gem_ctx_isolation.c > @@ -762,10 +762,21 @@ static void isolation(int fd, > #define S4 (4 << 8) > #define SLEEP_MASK (0xf << 8) > > +static uint32_t create_reset_context(int i915) > +{ > + struct drm_i915_gem_context_param param = { > + .ctx_id = gem_context_clone_with_engines(i915, 0), An alternative is that we pass CLONE_FLAGS to gem_context_clone_with_engines(). Danger is context_clone_with_engines is widely used. -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx