[PATCH i-g-t] tests/intel/gem_exec_balancer: Disable parallel tests on execlists

Krzysztof Niemiec krzysztof.niemiec at intel.com
Wed Oct 16 13:27:21 UTC 2024


The functionality of parallel execbuf tests is not supported in
execlists mode. Fix the check in has_parallel_execbuf() to take that
into account.

Signed-off-by: Krzysztof Niemiec <krzysztof.niemiec at intel.com>
---
 tests/intel/gem_exec_balancer.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/intel/gem_exec_balancer.c b/tests/intel/gem_exec_balancer.c
index 20e31baf0..30f2cb241 100644
--- a/tests/intel/gem_exec_balancer.c
+++ b/tests/intel/gem_exec_balancer.c
@@ -3378,6 +3378,9 @@ static bool has_parallel_execbuf(int i915)
 	const intel_ctx_t *ctx = NULL;
 	int err;
 
+	if (gem_using_execlists(i915))
+		return false;
+
 	for (int class = 0; class < 32; class++) {
 		struct i915_engine_class_instance *siblings;
 		unsigned int count;
-- 
2.45.2



More information about the igt-dev mailing list