diff options
| author | Chris Wilson <[email protected]> | 2020-02-07 11:02:13 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-02-07 13:07:28 +0000 |
| commit | 793c226173675ea7f8591d22803a1432e2b724e0 (patch) | |
| tree | 1e7773a8568888c759ae83b3976f5a220a109ebf /tools/perf/scripts/python | |
| parent | 5eae8ca3738e8bec249d68422d9323cea670ff42 (diff) | |
drm/i915/gt: Protect execlists_hold/unhold from new waiters
As we may add new waiters to a request as it is being run, we need to
mark the list iteration as being safe for concurrent addition.
v2: Mika spotted that we used the same trick for signalers_list, so warn
the compiler about the lockless walk there as well.
Fixes: 32ff621fd744 ("drm/i915/gt: Allow temporary suspension of inflight requests")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions