drm/i915/gt: Drop atomic for engine->fw_active tracking
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 15 Jan 2021 14:23:27 +0000 (14:23 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 15 Jan 2021 21:30:22 +0000 (21:30 +0000)
commit2c421896adb099e3a905063581f8720f6ce59638
tree233d5899ec24122dc9b0cdce416f69aafc55878e
parent0bd080497bb8712054e5e1ddd2ced13364c610b8
drm/i915/gt: Drop atomic for engine->fw_active tracking

Since schedule-in/out is now entirely serialised by the tasklet bitlock,
we do not need to worry about concurrent in/out operations and so reduce
the atomic operations to plain instructions.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210115142331.24458-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine_cs.c
drivers/gpu/drm/i915/gt/intel_engine_types.h
drivers/gpu/drm/i915/gt/intel_execlists_submission.c