<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Skylake GPU HANG while gstreamer H264 vaapi encoding from MJPEG vaapi decode on drm-tip"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110394#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Skylake GPU HANG while gstreamer H264 vaapi encoding from MJPEG vaapi decode on drm-tip"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110394">bug 110394</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>(In reply to Andy Nicholas from <a href="show_bug.cgi?id=110394#c0">comment #0</a>)
<span class="quote">> Especially concerning is that the machine is usable (but the GPU seems dead)
> after this crash. We would like to figure out a way of determining that the
> GPU has died and to kernel panic so that we can, eventually, reboot.
> Modifying the kernel is A-OK to avoid this issue, so if Intel doesn't have a
> mechanism then I will try to add something myself.</span >
Watch /proc/sys/kernel/tainted. Currently we set TAINT_WARN, but you can change
that to TAINT_DIE if you fancy something less likely to be set by others.
diff --git a/drivers/gpu/drm/i915/i915_reset.c
b/drivers/gpu/drm/i915/i915_reset.c
index 68875ba43b8d..11795677bf6e 100644
--- a/drivers/gpu/drm/i915/i915_reset.c
+++ b/drivers/gpu/drm/i915/i915_reset.c
@@ -1088,7 +1088,7 @@ void i915_reset(struct drm_i915_private *i915,
* rather than continue on into oblivion. For everyone else,
* the system should still plod along, but they have been warned!
*/
- add_taint(TAINT_WARN, LOCKDEP_STILL_OK);
+ add_taint(TAINT_DIE, LOCKDEP_STILL_OK);
error:
__i915_gem_set_wedged(i915);
goto finish;</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are on the CC list for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>