summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_debugfs_crc.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-10-09 17:09:06 +0100
committerRodrigo Vivi <rodrigo.vivi@intel.com>2019-10-09 14:39:31 -0700
commite137d3abdfca0fb6fc270da576a9d9d6a1f8d8b3 (patch)
treed19b413b597628c6d6c7a4cfc818460d6d6420f5 /drivers/gpu/drm/drm_debugfs_crc.c
parent749085a2131f7e328dd33635eb3d37b519f451f9 (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 <chris@chris-wilson.co.uk> Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191009160906.16195-1-chris@chris-wilson.co.uk (cherry picked from commit c36eebd9ba5d70b84e1e7408ccc7632566f285c4) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/drm_debugfs_crc.c')
0 files changed, 0 insertions, 0 deletions