<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - CNL unable to handle kernel paging request at 00000000fffffffc"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103800#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - CNL unable to handle kernel paging request at 00000000fffffffc"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103800">bug 103800</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>try
diff --git a/drivers/gpu/drm/i915/intel_lrc.c
b/drivers/gpu/drm/i915/intel_lrc.c
index fc098e6cca23..75a048eab127 100644
--- a/drivers/gpu/drm/i915/intel_lrc.c
+++ b/drivers/gpu/drm/i915/intel_lrc.c
@@ -154,8 +154,7 @@
#define GEN8_CTX_STATUS_LITE_RESTORE (1 << 15)
#define GEN8_CTX_STATUS_COMPLETED_MASK \
- (GEN8_CTX_STATUS_ACTIVE_IDLE | \
- GEN8_CTX_STATUS_PREEMPTED | \
+ (GEN8_CTX_STATUS_PREEMPTED | \
GEN8_CTX_STATUS_ELEMENT_SWITCH)
#define CTX_LRI_HEADER_0 0x01
@@ -842,8 +841,6 @@ static void execlists_submission_tasklet(unsigned long
data)
GEM_TRACE("%s csb[%dd]: status=0x%08x:0x%08x\n",
engine->name, head,
status, buf[2*head + 1]);
- if (!(status & GEN8_CTX_STATUS_COMPLETED_MASK))
- continue;
if (status & GEN8_CTX_STATUS_ACTIVE_IDLE &&
buf[2*head + 1] == PREEMPT_ID) {
@@ -862,6 +859,9 @@ static void execlists_submission_tasklet(unsigned long
data)
EXECLISTS_ACTIVE_PREEMPT))
continue;
+ if (!(status & GEN8_CTX_STATUS_COMPLETED_MASK))
+ continue;
+
GEM_BUG_ON(!execlists_is_active(execlists,
EXECLISTS_ACTIVE_USER));</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>