summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-12-02 14:01:32 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2019-12-02 21:57:23 +0000
commitae30300490fe9790857d3780f46aa5ad926d6261 (patch)
tree659db03954fbefc380e2fd759d06d1c44af5d098 /tools/perf/scripts/python/export-to-sqlite.py
parent7d0aa0db4375edb0a2de66e9099fe0f9b197b80d (diff)
downloadlinux-ae30300490fe9790857d3780f46aa5ad926d6261.tar.gz
linux-ae30300490fe9790857d3780f46aa5ad926d6261.zip
drm/i915: Specialise i915_active.work lock classes
Similar to for i915_active.mutex, we require each class of i915_active to have distinct lockdep chains as some, but by no means all, i915_active are used within the shrinker and so have much more severe usage constraints. By using a lockclass local to i915_active_init() all i915_active workers have the same lock class, and we may generate false positives when waiting for the i915_active. If we push the lockclass into the caller, each class of i915_active will have distinct lockdep chains. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191202140133.2444217-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions