[igt-dev] [PATCH i-g-t v2] tests/prime_vgem: Fix timeout/incomplete issue in MTL simulation
Vikas Srivastava
vikas.srivastava at intel.com
Mon Nov 7 08:39:26 UTC 2022
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 at intel.com>
Acked-by: Priyanka Dandamudi <priyanka.dandamudi at 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
More information about the igt-dev
mailing list