OSDN Git Service

drm/i915/selftests: Flush live_evict
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 18 Jun 2019 16:19:50 +0000 (17:19 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 18 Jun 2019 17:12:13 +0000 (18:12 +0100)
commit1422768fa2600442bfc4be4b1fe112bf9d6bb5cf
treec534881eb10bb315b1330b33afb9214b70d20c31
parent0bd6cb6b58f7332c61cef2e4ae48db1ca9910b6b
drm/i915/selftests: Flush live_evict

Be sure to cleanup after live_evict by flushing any residual state off
the GPU using igt_flush_test.

Tvrtko mentioned that it is probably wise to stop repeating this ad hoc
around the tests and implement a live test runner.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190618161951.28820-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_evict.c