]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Flush all active callbacks
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Nov 2019 18:10:22 +0000 (18:10 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 2 Nov 2019 08:34:53 +0000 (08:34 +0000)
commit38813767c7c5d9f8e0bd6b14136add861cc79b33
treebc787670a1b6d3655366f195905c7c19642b8c56
parent9278bbb6e43cde306f07f9a60274195b5b24f90a
drm/i915/selftests: Flush all active callbacks

Flushing the outer i915_active is not enough, as we need the barrier to
be applied across all the active dma_fence callbacks. So we must
serialise with each outstanding fence.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112096
References: f79520bb3337 ("drm/i915/selftests: Synchronize checking active status with retirement")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191101181022.25633-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c
drivers/gpu/drm/i915/i915_active.h
drivers/gpu/drm/i915/selftests/i915_active.c