[Bug 103830] [CI] igt at gem_userptr_blits@dmabuf-unsync - dmesg-warn - WARNING: possible circular locking dependency detecte

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 21 23:02:36 UTC 2017


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

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

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

--- Comment #3 from Chris Wilson <chris at chris-wilson.co.uk> ---
commit f9eb63b98c91f4cfaddf54b769f971c77da10917
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Nov 21 11:06:52 2017 +0000

    drm/i915/selftests: Avoid drm_gem_handle_create under struct_mutex

    Despite us reloading the module around every selftest, the lockclasses
    persist and the chains used in selftesting may then dictate how we are
    allowed to nest locks during runtime testing. As such we have to be just
    as careful, and in particular it turns out we are not allowed to nest
    dev->object_name_lock (drm_gem_handle_create) inside dev->struct_mutex.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103830
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
    Cc: Matthew Auld <matthew.auld at intel.com>
    Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
    Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
    Link:
https://patchwork.freedesktop.org/patch/msgid/20171121110652.1107-1-chris@chris-wilson.co.uk
    Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

-- 
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/20171121/e61cc834/attachment.html>


More information about the intel-gfx-bugs mailing list