[igt-dev] [PATCH i-g-t] i915/gem_ctx_engine: Scheduler required for reordering requests

Chris Wilson chris at chris-wilson.co.uk
Sun Aug 18 12:56:30 UTC 2019


To run the independent subtests requires to issue the requests
not-in-submission order, we need a scheduler.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
 tests/i915/gem_ctx_engines.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/i915/gem_ctx_engines.c b/tests/i915/gem_ctx_engines.c
index 2e80d0f3e..1e82e51ee 100644
--- a/tests/i915/gem_ctx_engines.c
+++ b/tests/i915/gem_ctx_engines.c
@@ -431,6 +431,7 @@ static void independent(int i915)
 	uint32_t last, *map;
 
 	igt_require(gen >= 6); /* No per-engine TIMESTAMP on older gen */
+	igt_require(gem_scheduler_enabled(i915));
 
 	{
 		struct drm_i915_gem_execbuffer2 execbuf = {
-- 
2.23.0.rc1



More information about the igt-dev mailing list