[igt-dev] [PATCH i-g-t] tests/xe/xe_exec_store: Fix the num of placements check to run test on all engines.

sai.gowtham.ch at intel.com sai.gowtham.ch at intel.com
Wed Jul 26 06:24:03 UTC 2023


From: Sai Gowtham Ch <sai.gowtham.ch at intel.com>

Intension is to submit workload on all engine instances, this change
will make test to run on all engines including render and copy engines.

Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch at intel.com>
---
 tests/xe/xe_exec_store.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/xe/xe_exec_store.c b/tests/xe/xe_exec_store.c
index ab1bde36e..fbce1aecc 100644
--- a/tests/xe/xe_exec_store.c
+++ b/tests/xe/xe_exec_store.c
@@ -149,7 +149,7 @@ static void store_all(int fd, int gt, int class)
 		eci[num_placements++] = *hwe;
 	}
 
-	igt_require(num_placements > 1);
+	igt_require(num_placements);
 
 	for (i = 0; i < num_placements; i++) {
 		struct drm_xe_engine_create create = {
-- 
2.39.1



More information about the igt-dev mailing list