diff mbox series

[v2,2/2] HAX: drm/i915/selftest: Temporarily avoid tainting the kernel on engine reset failure

Message ID 20211105064439.764336-2-thomas.hellstrom@linux.intel.com (mailing list archive)
State New, archived
Headers show
Series [v2,1/2] drm/i915/selftests: Use clear_and_wake_up_bit() for the per-engine reset bitlocks | expand

Commit Message

Thomas Hellstrom Nov. 5, 2021, 6:44 a.m. UTC
The taint aborts the CI test runner.

v2: Comment out GEM_TRACE_DUMP() also active_request_put().

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
---
 drivers/gpu/drm/i915/gt/selftest_hangcheck.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/gt/selftest_hangcheck.c b/drivers/gpu/drm/i915/gt/selftest_hangcheck.c
index 8590419be4c6..65c5f965e36a 100644
--- a/drivers/gpu/drm/i915/gt/selftest_hangcheck.c
+++ b/drivers/gpu/drm/i915/gt/selftest_hangcheck.c
@@ -884,7 +884,7 @@  static int active_request_put(struct i915_request *rq)
 			  rq->engine->name,
 			  rq->fence.context,
 			  rq->fence.seqno);
-		GEM_TRACE_DUMP();
+		/*GEM_TRACE_DUMP();*/
 
 		intel_gt_set_wedged(rq->engine->gt);
 		err = -EIO;
@@ -1111,8 +1111,9 @@  static int __igt_reset_engines(struct intel_gt *gt,
 					       rq->fence.seqno, rq->context->guc_id.id);
 					i915_request_put(rq);
 
-					GEM_TRACE_DUMP();
+					/* GEM_TRACE_DUMP(); */
 					intel_gt_set_wedged(gt);
+
 					err = -EIO;
 					goto restore;
 				}