diff options
author | Chris Wilson <[email protected]> | 2019-11-03 16:23:05 +0000 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2019-11-18 11:25:16 -0800 |
commit | c0fa92ec8902492a599e6eabff9e3ef43d1afee6 (patch) | |
tree | 0deedfd1f4bba1099195309b11024e5451071997 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2d691aeca4aecbb8d0414a777a46981a8e142b05 (diff) |
drm/i915: Protect request peeking with RCU
Since the execlists_active() is no longer protected by the
engine->active.lock, we need to protect the request pointer with RCU to
prevent it being freed as we evaluate whether or not we need to preempt.
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: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 7d148635253328dda7cfe55d57e3c828e9564427)
Signed-off-by: Joonas Lahtinen <[email protected]>
(cherry picked from commit 8eb4704b124cbd44f189709959137d77063ecfa1)
(cherry picked from commit 7e27238e149ce4f00d9cd801fe3aa0ea55e986a2)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions