diff options
author | Chris Wilson <[email protected]> | 2018-05-08 22:10:56 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2018-05-09 07:52:00 +0100 |
commit | 1d7a99f5148fdcdb9d40367d6d0668a34df161d4 (patch) | |
tree | 9cfca3634fe62069e414b06b59e737534b445530 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 0adb90d330bb5f0d7fba511af5af3fc1ba93fb7a (diff) |
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 <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Michel Thierry <[email protected]>
Reviewed-by: Michel Thierry <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions