[Bug 103800] CNL unable to handle kernel paging request at 00000000fffffffc
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Nov 17 21:27:51 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=103800
--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk> ---
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));
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee 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/20171117/81814e7a/attachment-0001.html>
More information about the intel-gfx-bugs
mailing list