]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Use the local engine wakeref when checking RING registers
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 12 Aug 2019 09:10:44 +0000 (10:10 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 12 Aug 2019 12:18:31 +0000 (13:18 +0100)
commite17785b51c20f2955b1b04272d7de7c5c2fb6e17
tree59f577c472741885dc04935159f2f7c76a8e184f
parent373a7985496d39ec5a2a23a0508346292fb9da8d
drm/i915/gt: Use the local engine wakeref when checking RING registers

Now that we can atomically acquire the engine wakeref, make use of it
when check whether the RING registers are idle.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190812091045.29587-7-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine_cs.c