OSDN Git Service

drm/i915/selftests: Flush any i915_active callback work as well
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 Oct 2019 23:53:59 +0000 (00:53 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 24 Oct 2019 08:19:32 +0000 (09:19 +0100)
commit7f47211e73e93812def71004f0f81d6c3e7a0da6
tree8fa5f1b17347204274932c6b823f4b6c1d237fa8
parent93100fdeb4de5b13a7f9113ede93cd062ba779f1
drm/i915/selftests: Flush any i915_active callback work as well

Make trebly sure that all possible callbacks and their delayed brethren
are complete before asserting that the i915_active should be idle after
flushing all barriers.

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/20191023235359.27132-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c