[Bug 110394] Skylake GPU HANG while gstreamer H264 vaapi encoding from MJPEG vaapi decode on drm-tip

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 10 17:47:56 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110394

--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to Andy Nicholas from comment #0) 
> 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.

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;

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20190410/9a5d6918/attachment.html>


More information about the intel-gfx-bugs mailing list