[Bug 95634] [BAT BYT] "HW access outside of RPM atomic section" on driver unload
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue May 24 10:52:32 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=95634
--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk> ---
Oh, fun.
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index f78d4ca..981d279 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -3428,6 +3428,9 @@ int i915_gpu_idle(struct drm_device *dev)
/* Flush everything onto the inactive list. */
for_each_engine(engine, dev_priv) {
+ if (engine->last_context == NULL)
+ continue;
+
if (!i915.enable_execlists) {
struct drm_i915_gem_request *req;
--
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/20160524/3c60b262/attachment.html>
More information about the intel-gfx-bugs
mailing list