diff options
author | Chris Wilson <[email protected]> | 2019-11-14 17:25:35 +0000 |
---|---|---|
committer | Joonas Lahtinen <[email protected]> | 2019-11-20 11:53:00 +0200 |
commit | 093b922873633f57cb2d488a538afd15c4e4dcdb (patch) | |
tree | 9b91f39175e965b58508d30eaaec3f3f38fae653 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | fa039b936cf518c50d99c694a757b18bf3ea3f5e (diff) |
drm/i915: Split i915_active.mutex into an irq-safe spinlock for the rbtree
As we want to be able to run inside atomic context for retiring the
i915_active, and we are no longer allowed to abuse mutex_trylock, split
the tree management portion of i915_active.mutex into an irq-safe
spinlock.
References: a0855d24fc22d ("locking/mutex: Complain upon mutex API misuse in IRQ contexts")
References: https://bugs.freedesktop.org/show_bug.cgi?id=111626
Fixes: 274cbf20fd10 ("drm/i915: Push the i915_active.retire into a worker")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit c9ad602feabe4271d2adf1bdae5d8b20c2dc84f1)
Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions