[Intel-gfx] [RFC i-g-t 2/4] gem_exec_basic: Exercise the default engine selection

Tvrtko Ursulin tursulin at ursulin.net
Fri Jun 23 11:31:41 UTC 2017


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Exercise the ABI with a basic test now that we have removed the
defaul engine alias from the engine list.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
---
 tests/gem_exec_basic.c                | 9 +++++++++
 tests/intel-ci/fast-feedback.testlist | 3 +++
 2 files changed, 12 insertions(+)

diff --git a/tests/gem_exec_basic.c b/tests/gem_exec_basic.c
index 2f057ef02f22..2cb6a90a01f9 100644
--- a/tests/gem_exec_basic.c
+++ b/tests/gem_exec_basic.c
@@ -111,6 +111,15 @@ igt_main
 		igt_fork_hang_detector(fd);
 	}
 
+	igt_subtest("basic-default")
+		noop(fd, I915_EXEC_DEFAULT);
+
+	igt_subtest("readonly-default")
+		readonly(fd, I915_EXEC_DEFAULT);
+
+	igt_subtest("gtt-default")
+		gtt(fd, I915_EXEC_DEFAULT);
+
 	for (e = intel_execution_engines; e->name; e++) {
 		igt_subtest_f("basic-%s", e->name)
 			noop(fd, e->exec_id | e->flags);
diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist
index 7d4f65ec2248..e90e700ec1ed 100644
--- a/tests/intel-ci/fast-feedback.testlist
+++ b/tests/intel-ci/fast-feedback.testlist
@@ -26,18 +26,21 @@ igt at gem_exec_basic@basic-blt
 igt at gem_exec_basic@basic-bsd
 igt at gem_exec_basic@basic-bsd1
 igt at gem_exec_basic@basic-bsd2
+igt at gem_exec_basic@basic-default
 igt at gem_exec_basic@basic-render
 igt at gem_exec_basic@basic-vebox
 igt at gem_exec_basic@gtt-blt
 igt at gem_exec_basic@gtt-bsd
 igt at gem_exec_basic@gtt-bsd1
 igt at gem_exec_basic@gtt-bsd2
+igt at gem_exec_basic@gtt-default
 igt at gem_exec_basic@gtt-render
 igt at gem_exec_basic@gtt-vebox
 igt at gem_exec_basic@readonly-blt
 igt at gem_exec_basic@readonly-bsd
 igt at gem_exec_basic@readonly-bsd1
 igt at gem_exec_basic@readonly-bsd2
+igt at gem_exec_basic@readonly-default
 igt at gem_exec_basic@readonly-render
 igt at gem_exec_basic@readonly-vebox
 igt at gem_exec_create@basic
-- 
2.9.4



More information about the Intel-gfx mailing list