[Bug 78792] [regression] module reload Oopses all over the place

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 16 10:53:22 PDT 2014


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

Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|chris at chris-wilson.co.uk    |intel-gfx-bugs at lists.freede
                   |                            |sktop.org

--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk> ---
For the final explosion:

diff --git a/drivers/gpu/drm/i915/i915_gem_context.c
b/drivers/gpu/drm/i915/i915_gem_context.c
index 55b3e52..4c7cd24 100644
--- a/drivers/gpu/drm/i915/i915_gem_context.c
+++ b/drivers/gpu/drm/i915/i915_gem_context.c
@@ -454,6 +454,8 @@ void i915_gem_context_fini(struct drm_device *dev)
                        i915_gem_context_unreference(dctx);
                        dev_priv->ring[RCS].last_context = NULL;
                }
+
+               i915_gem_object_ggtt_unpin(dctx->obj);
        }

        for (i = 0; i < I915_NUM_RINGS; i++) {
@@ -466,7 +468,6 @@ void i915_gem_context_fini(struct drm_device *dev)
                ring->last_context = NULL;
        }

-       i915_gem_object_ggtt_unpin(dctx->obj);
        i915_gem_context_unreference(dctx);
 }

-- 
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: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140516/f94f0550/attachment.html>


More information about the intel-gfx-bugs mailing list