]> 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)
commite338828a6703f38c9600f0a488928691839a6294
tree59f577c472741885dc04935159f2f7c76a8e184f
parent4f4fe90ca18139532e88737a48520512802495d2
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