From: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] [PATCH v2 2/2] HAX: drm/i915/selftest: Temporarily avoid tainting the kernel on engine reset failure
Date: Fri, 5 Nov 2021 07:44:39 +0100 [thread overview]
Message-ID: <20211105064439.764336-2-thomas.hellstrom@linux.intel.com> (raw)
In-Reply-To: <20211105064439.764336-1-thomas.hellstrom@linux.intel.com>
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 --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;
}
--
2.31.1
next prev parent reply other threads:[~2021-11-05 6:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-05 6:44 [Intel-gfx] [PATCH v2 1/2] drm/i915/selftests: Use clear_and_wake_up_bit() for the per-engine reset bitlocks Thomas Hellström
2021-11-05 6:44 ` Thomas Hellström [this message]
2021-11-05 7:31 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [v2,1/2] " Patchwork
2021-11-05 10:01 ` [Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [v2,1/2] drm/i915/selftests: Use clear_and_wake_up_bit() for the per-engine reset bitlocks (rev2) Patchwork
2021-11-05 11:36 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211105064439.764336-2-thomas.hellstrom@linux.intel.com \
--to=thomas.hellstrom@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox