Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/xe/xe_exec_store: Fix number of placements in store_all
@ 2023-08-11 16:49 sai.gowtham.ch
  2023-08-11 17:56 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: sai.gowtham.ch @ 2023-08-11 16:49 UTC (permalink / raw)
  To: igt-dev, zbigniew.kempczynski, sai.gowtham.ch

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

Fix number of placements in store_all using which we can create
multiple engine instances.

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

diff --git a/tests/xe/xe_exec_store.c b/tests/xe/xe_exec_store.c
index bab5ea5bc..498aa0f7f 100644
--- a/tests/xe/xe_exec_store.c
+++ b/tests/xe/xe_exec_store.c
@@ -149,7 +149,8 @@ static void store_all(int fd, int gt, int class)
 		eci[num_placements++] = *hwe;
 	}
 
-	igt_require(num_placements);
+	if (num_placements < 2)
+		return;
 
 	for (i = 0; i < num_placements; i++) {
 		struct drm_xe_exec_queue_create create = {
-- 
2.39.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-21 10:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-11 16:49 [igt-dev] [PATCH i-g-t] tests/xe/xe_exec_store: Fix number of placements in store_all sai.gowtham.ch
2023-08-11 17:56 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2023-08-11 18:14 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
2023-08-21 10:00 ` [igt-dev] [PATCH i-g-t] " Zbigniew Kempczyński

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox