[Intel-gfx] [PATCH igt] igt/gem_spin_batch: Skip overloading aliased BSD engines

Chris Wilson chris at chris-wilson.co.uk
Wed Dec 20 17:56:00 UTC 2017


BSD == BSD1 or BSD2. Since we already emit spinners to the explicit BSD
rins, skip the aliased ring.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104352
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
 tests/gem_spin_batch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/gem_spin_batch.c b/tests/gem_spin_batch.c
index 896311304..cccba75a7 100644
--- a/tests/gem_spin_batch.c
+++ b/tests/gem_spin_batch.c
@@ -77,7 +77,7 @@ static void spin_on_all_engines(int fd, unsigned int timeout_sec)
 	unsigned engine;
 
 	for_each_engine(fd, engine) {
-		if (engine == 0)
+		if (engine == 0 || engine == I915_EXEC_BSD)
 			continue;
 
 		igt_fork(child, 1) {
-- 
2.15.1



More information about the Intel-gfx mailing list