diff options
| author | Chris Wilson <[email protected]> | 2020-02-20 07:50:20 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-02-20 13:27:23 +0000 |
| commit | 66940061a52fba730fdb49e133502e19be684202 (patch) | |
| tree | 95e7e36c40ff4e23a8fb5daf9c94e432cb212e92 /tools/perf/scripts/python/netdev-times.py | |
| parent | df6b1f3da89f1ff87399316c836fc3981de96c38 (diff) | |
drm/i915/gt: Protect signaler walk with RCU
While we know that the waiters cannot disappear as we walk our list
(only that they might be added), the same cannot be said for our
signalers as they may be completed by the HW and retired as we process
this request. Ergo we need to use rcu to protect the list iteration and
remember to mark up the list_del_rcu.
v2: Mark the deps as safe-for-rcu
Fixes: 793c22617367 ("drm/i915/gt: Protect execlists_hold/unhold from new waiters")
Fixes: 32ff621fd744 ("drm/i915/gt: Allow temporary suspension of inflight requests")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions