[Bug 73383] [IVB/HSW ppgtt bisected] When run nightly piglit testing causes X no responsive

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 7 05:42:09 PST 2014


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

--- Comment #17 from Chris Wilson <chris at chris-wilson.co.uk> ---
Right, this is just the garbage reference counting of vm.

On this path, i915_gem_evict_vm() does not hold a reference to the object it is
trying to unbind, so indeed runs afoul of not just that object, but any object
in the list (including the next pointer) being freed. See the safeguards
i915_gem_evict_something() and __i915_gem_shrink() have in place for exactly
this reason.

The choice is either to rewrite i915_gem_evict_vm() along the same lines, drop
the recursion from unbind() (patch on the list
http://patchwork.freedesktop.org/patch/18896/) or fix the reference counting of
vm (which is not that difficult and cleans up a chunk of code and concepts).

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


More information about the intel-gfx-bugs mailing list