[Bug 106453] [CI][drv_selftest] WARN_ON(debug_locks && !lock_is_held(&(&i915->drm.struct_mutex)->dep_map))

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 9 09:49:40 UTC 2018


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

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

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

--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk> ---
commit 1d7a99f5148fdcdb9d40367d6d0668a34df161d4
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue May 8 22:10:56 2018 +0100

    drm/i915/selftests: Create mock_engine() under struct_mutex

    Calling mock_engine() calls i915_timeline_init() and that requires
    struct_mutex to be held as it adds itself to the global list of
    timelines. This error was introduced by commit a89d1f921c15 ("drm/i915:
    Split i915_gem_timeline into individual timelines") but the issue was
    masked in CI by the earlier lockdep spam.

    Fixes: a89d1f921c15 ("drm/i915: Split i915_gem_timeline into individual
timelines")
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
    Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
    Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
    Cc: Michel Thierry <michel.thierry at intel.com>
    Reviewed-by: Michel Thierry <michel.thierry at intel.com>
    Link:
https://patchwork.freedesktop.org/patch/msgid/20180508211056.17151-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/20180509/53a3abec/attachment.html>


More information about the intel-gfx-bugs mailing list