diff options
| author | Chris Wilson <[email protected]> | 2019-10-09 11:09:54 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-10-09 19:46:40 +0100 |
| commit | c949ae431467764277cdd88d7c26ff963a9db40a (patch) | |
| tree | 46321fab5e4279e890276f0b44f48a9ebfd0c9e9 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 2a86972f60fcfaa0daa02b9fe461935ea2063791 (diff) | |
drm/i915/execlists: Protect peeking at execlists->active
Now that we dropped the engine->active.lock serialisation from around
process_csb(), direct submission can run concurrently to the interrupt
handler. As such execlists->active may be advanced as we dequeue,
dropping the reference to the request. We need to employ our RCU request
protection to ensure that the request is not freed too early.
Fixes: df403069029d ("drm/i915/execlists: Lift process_csb() out of the irq-off spinlock")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions