diff options
| author | Chris Wilson <[email protected]> | 2019-08-16 13:09:59 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-08-16 18:02:06 +0100 |
| commit | 6c69a45445af924378371ce3ae3fbe20c4657b94 (patch) | |
| tree | 5426a2907e0afa73ecfa02e9a5a5027795f7bc31 /tools/perf/scripts/python/sctop.py | |
| parent | f789fbb1eb16de8db1e2eb7b6648f85464326195 (diff) | |
drm/i915/gt: Mark context->active_count as protected by timeline->mutex
We use timeline->mutex to protect modifications to
context->active_count, and the associated enable/disable callbacks.
Due to complications with engine-pm barrier there is a path where we used
a "superlock" to provide serialised protect and so could not
unconditionally assert with lockdep that it was always held. However,
we can mark the mutex as taken (noting that we may be nested underneath
ourselves) which means we can be reassured the right timeline->mutex is
always treated as held and let lockdep roam free.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions