aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-04-03 09:21:32 +0100
committerChris Wilson <[email protected]>2019-04-05 10:39:17 +0100
commitb66ea2c2cf59b80c38a14127fafb49fdf0df9180 (patch)
treebbb483368908e89aab28cf84b74870650e3ca0b8 /tools/perf/scripts/python/check-perf-trace.py
parentc2400ec3b6d15beea34d652ee18962ed13433528 (diff)
drm/i915: Use lockdep_pin_lock() over the construction of the request
During request construction, we take the timeline->mutex to ensure exclusive access to the ringbuffer (for command emission) and the timeline itself (for command ordering). The timeline->mutex should not be dropped by callers until we release it in i915_request_add(). lockdep provides a pin/unpin lock facility to detect accidental unlocks inside critical sections, so put it to use for request construction. Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions