projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d41318
)
drm/i915/gt: Warn CI about an unrecoverable wedge
author
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 2 Oct 2019 16:00:34 +0000
(17:00 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Thu, 10 Oct 2019 10:19:32 +0000
(11:19 +0100)
If we have a wedged GPU that we need to recover, but fail, add a taint
for CI to pickup and schedule a reboot.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
Reviewed-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20191002160034.5121-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_reset.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/gt/intel_reset.c
b/drivers/gpu/drm/i915/gt/intel_reset.c
index 34791fc79deacefa6d2518f6e9f07cb87f0e3919..77445d100ca8292e6362c4eef14551b0ee7f22fa 100644
(file)
--- a/
drivers/gpu/drm/i915/gt/intel_reset.c
+++ b/
drivers/gpu/drm/i915/gt/intel_reset.c
@@
-872,8
+872,14
@@
static bool __intel_gt_unset_wedged(struct intel_gt *gt)
ok = !HAS_EXECLISTS(gt->i915); /* XXX better agnosticism desired */
if (!INTEL_INFO(gt->i915)->gpu_reset_clobbers_display)
ok = __intel_gt_reset(gt, ALL_ENGINES) == 0;
- if (!ok)
+ if (!ok) {
+ /*
+ * Warn CI about the unrecoverable wedged condition.
+ * Time for a reboot.
+ */
+ add_taint_for_CI(TAINT_WARN);
return false;
+ }
/*
* Undo nop_submit_request. We prevent all new i915 requests from