]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Update live.evict to wait on requests / idle GPU after each loop
authorMatthew Brost <matthew.brost@intel.com>
Thu, 21 Oct 2021 21:40:40 +0000 (14:40 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Fri, 22 Oct 2021 18:33:47 +0000 (11:33 -0700)
commitdc3ecec21a1d2d056652df261f8b82dafd91ceab
treeaabaa8ffa25eaa649b6cd823db563053bfa4f8ad
parentd114dc0bab93f6c190d76b8717f9d322d711d7c4
drm/i915/selftests: Update live.evict to wait on requests / idle GPU after each loop

Update live.evict to wait on last request and idle GPU after each loop.
This not only enhances the test to fill the GGTT on each engine class
but also avoid timeouts from igt_flush_test when using GuC submission.
igt_flush_test (idle GPU) can take a long time with GuC submission if
losts of contexts are created due to H2G / G2H required to destroy
contexts.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211021214040.33292-1-matthew.brost@intel.com
drivers/gpu/drm/i915/selftests/i915_gem_evict.c