Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/xe_intel_bb: Reduce render subtest execution time
@ 2024-07-03  6:33 Zbigniew Kempczyński
  2024-07-03  7:39 ` Piecielska, Katarzyna
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Zbigniew Kempczyński @ 2024-07-03  6:33 UTC (permalink / raw)
  To: igt-dev; +Cc: Zbigniew Kempczyński, Kamil Konieczny

Test xe_intel_bb verifies intel-bb so it doesn't make sense to perform
large render operations as those are covered in xe_render_copy test.
Use 256px surface for render instead 512 and 1024 px.

Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
---
 tests/intel/xe_intel_bb.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/tests/intel/xe_intel_bb.c b/tests/intel/xe_intel_bb.c
index 5dd794b186..647fd64e7e 100644
--- a/tests/intel/xe_intel_bb.c
+++ b/tests/intel/xe_intel_bb.c
@@ -40,6 +40,7 @@
 #define HEIGHT	64
 #define STRIDE	(WIDTH * 4)
 #define SIZE	(HEIGHT * STRIDE)
+#define RENDER_WIDTH 256
 
 #define COLOR_00	0x00
 #define COLOR_33	0x33
@@ -1054,11 +1055,11 @@ igt_main_args("dpib", NULL, help_str, opt_handler, NULL)
 			if (!render_supports_tiling(xe, tiling, false))
 				continue;
 
-			for (width = 512; width <= 1024; width += 512)
-				igt_dynamic_f("render-%s-%u",
-					      blt_tiling_name(tiling), width)
-					render(bops, blt_tile_to_i915_tile(tiling),
-					       width, width);
+			width = RENDER_WIDTH;
+			igt_dynamic_f("render-%s-%u",
+				      blt_tiling_name(tiling), width)
+				render(bops, blt_tile_to_i915_tile(tiling),
+				       width, width);
 		}
 	}
 
-- 
2.34.1


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

end of thread, other threads:[~2024-07-03 14:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-03  6:33 [PATCH i-g-t] tests/xe_intel_bb: Reduce render subtest execution time Zbigniew Kempczyński
2024-07-03  7:39 ` Piecielska, Katarzyna
2024-07-03 10:12 ` Kamil Konieczny
2024-07-03 12:06   ` Zbigniew Kempczyński
2024-07-03 14:43 ` ✗ Fi.CI.BAT: failure for " Patchwork

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