public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/prime_vgem: Fix timeout/incomplete issue in MTL simulation
@ 2022-11-04  7:19 Vikas Srivastava
  2022-11-04  8:50 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  2022-11-04 22:13 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Vikas Srivastava @ 2022-11-04  7:19 UTC (permalink / raw)
  To: igt-dev

Fixed Timeout issue seen on MTL, Simulation environment
takes more then 1625s and gets timed out. Reduced
run from 1024 to 64 to get test executed under 150s.

Signed-off-by: Arjun Melkaveri <arjun.melkaveri@intel.com>
Acked-by: Priyanka Dandamudi <priyanka.dandamudi@intel.com>

---
 tests/prime_vgem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/prime_vgem.c b/tests/prime_vgem.c
index 95c8e4fe..be3f3ac7 100644
--- a/tests/prime_vgem.c
+++ b/tests/prime_vgem.c
@@ -536,7 +536,7 @@ static void test_blt_interleaved(int vgem, int i915)
 	foreign = vgem_mmap(vgem, &scratch, PROT_WRITE);
 	local = gem_mmap__device_coherent(i915, native, 0, scratch.size, PROT_WRITE);
 
-	for (i = 0; i < scratch.height; i++) {
+	for (i = 0; i < SLOW_QUICK(scratch.height, 64); i++) {
 		local[scratch.pitch * i / sizeof(*local)] = i;
 		igt_blitter_src_copy(i915, ahnd, 0, native, 0, scratch.pitch,
 				     I915_TILING_NONE, 0, i, scratch.size,
-- 
2.25.1

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

end of thread, other threads:[~2022-11-04 22:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-04  7:19 [igt-dev] [PATCH i-g-t] tests/prime_vgem: Fix timeout/incomplete issue in MTL simulation Vikas Srivastava
2022-11-04  8:50 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2022-11-04 22:13 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

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