[Bug 102035] [BAT][CI] kernel BUG at drivers/gpu/drm/i915/intel_lrc.c:880!

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 23 14:56:14 UTC 2017


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

--- Comment #39 from Chris Wilson <chris at chris-wilson.co.uk> ---
Talking point:

diff --git a/drivers/gpu/drm/i915/intel_lrc.c
b/drivers/gpu/drm/i915/intel_lrc.c
index 6b10a01dd371..f5be85a01f83 100644
--- a/drivers/gpu/drm/i915/intel_lrc.c
+++ b/drivers/gpu/drm/i915/intel_lrc.c
@@ -905,6 +905,8 @@ static void intel_lrc_irq_handler(unsigned long data)
                        /* After the final element, the hw should be idle */
                        GEM_BUG_ON(port_count(port) == 0 &&
                                   !(status & GEN8_CTX_STATUS_ACTIVE_IDLE));
+                       if (status & GEN8_CTX_STATUS_ACTIVE_IDLE)
+                               mdelay(2);
                }

                if (head != execlists->csb_head) {

prevents the COMPLETED | PREEMPT occurring after the COMPLETED | ACTIVE_IDLE.
(Or just significantly increased the mtbf to mask the issue.)

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


More information about the intel-gfx-bugs mailing list