diff options
author | Chris Wilson <[email protected]> | 2019-10-09 17:09:06 +0100 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2019-10-09 14:39:31 -0700 |
commit | e137d3abdfca0fb6fc270da576a9d9d6a1f8d8b3 (patch) | |
tree | d19b413b597628c6d6c7a4cfc818460d6d6420f5 /lib/memory-notifier-error-inject.c | |
parent | 749085a2131f7e328dd33635eb3d37b519f451f9 (diff) |
drm/i915/gt: execlists->active is serialised by the tasklet
The active/pending execlists is no longer protected by the
engine->active.lock, but is serialised by the tasklet instead. Update
the locking around the debug and stats to follow suit.
v2: local_bh_disable() to prevent recursing into the tasklet in case we
trigger a softirq (Tvrtko)
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]
(cherry picked from commit c36eebd9ba5d70b84e1e7408ccc7632566f285c4)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions