[Bug 112067] [CI][SHARDS] igt at gem_linear_blits@interruptible - incomplete - GEM_BUG_ON(atomic_read(&obj->mm.pages_pin_count) < atomic_read(&obj->bind_count))

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 31 15:28:40 UTC 2019


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Chris Wilson <chris at chris-wilson.co.uk> ---
commit dde01d943559f6b853d97a2744433d9ad1b12ace (HEAD -> drm-intel-next-queued,
drm-intel/drm-intel-next-queued)
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Oct 30 19:21:49 2019 +0000

    drm/i915: Split detaching and removing the vma

    In order to keep the assert_bind_count() valid, we need to hold the vma
    page reference until after we drop the bind count. However, we must also
    keep the drm_mm_remove_node() as the last action of i915_vma_unbind() so
    that it serialises with the unlocked check inside i915_vma_destroy(). So
    we need to split up i915_vma_remove() so that we order the detach, drop
    pages and remove as required during unbind.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112067
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
    Cc: Matthew Auld <matthew.auld at intel.com>
    Reviewed-by: Matthew Auld <matthew.auld at intel.com>
    Link:
https://patchwork.freedesktop.org/patch/msgid/20191030192159.18404-1-chris@chris-wilson.co.uk

-- 
You are receiving this mail because:
You are the assignee for the bug.
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: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20191031/39744060/attachment.html>


More information about the intel-gfx-bugs mailing list