[Bug 90400] [KBL APL SKL BSW BDW]igt/gem_ppgtt/flink-and-close-vma-leak fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 4 08:37:49 UTC 2016


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

--- Comment #18 from yann <yann.argotti at intel.com> ---
(In reply to Chris Wilson from comment #17)
> commit b1f788c6acb2f34622dd5f4c3d5210c6e3945e78
> Author: Chris Wilson <chris at chris-wilson.co.uk>
> Date:   Thu Aug 4 07:52:45 2016 +0100
> 
>     drm/i915: Release vma when the handle is closed
>     
>     In order to prevent a leak of the vma on shared objects, we need to
>     hook into the object_close callback to destroy the vma on the object for
>     this file. However, if we destroyed that vma immediately we may cause
>     unexpected application stalls as we try to unbind a busy vma - hence we
>     defer the unbind to when we retire the vma.
>     
>     v2: Keep vma allocated until closed. This is useful for a later
>     optimisation, but it is required now in order to handle potential
>     recursion of i915_vma_unbind() by retiring itself.
>     v3: Comments are important.

Christophe, please re-test and close the bug if this issue is not occurring
anymore

-- 
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/20160804/82c1a5a5/attachment.html>


More information about the intel-gfx-bugs mailing list