Disable banning as we deliberately inject GPU resets to test norecovery handling. Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> Cc: Venkata Ramana Nayana <venkata.ramana.nayana@xxxxxxxxx> --- tests/i915/gem_ctx_exec.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/i915/gem_ctx_exec.c b/tests/i915/gem_ctx_exec.c index 897761856..c80a98473 100644 --- a/tests/i915/gem_ctx_exec.c +++ b/tests/i915/gem_ctx_exec.c @@ -171,14 +171,16 @@ static void norecovery(int i915) for (int pass = 1; pass >= 0; pass--) { struct drm_i915_gem_context_param param = { .ctx_id = gem_context_create(i915), - .param = I915_CONTEXT_PARAM_RECOVERABLE, - .value = pass, + .param = I915_CONTEXT_PARAM_BANNABLE, }; int expect = pass == 0 ? -EIO : 0; igt_spin_t *spin; gem_context_set_param(i915, ¶m); + param.param = I915_CONTEXT_PARAM_RECOVERABLE; + param.value = pass; + gem_context_set_param(i915, ¶m); param.value = !pass; gem_context_get_param(i915, ¶m); igt_assert_eq(param.value, pass); -- 2.30.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx