public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Vikas Srivastava <vikas.srivastava@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] tests/prime_vgem: Fix timeout/incomplete issue in MTL simulation
Date: Fri,  4 Nov 2022 12:49:03 +0530	[thread overview]
Message-ID: <20221104071903.324487-1-vikas.srivastava@intel.com> (raw)

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

             reply	other threads:[~2022-11-04  7:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-04  7:19 Vikas Srivastava [this message]
2022-11-04  8:50 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/prime_vgem: Fix timeout/incomplete issue in MTL simulation Patchwork
2022-11-04 22:13 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221104071903.324487-1-vikas.srivastava@intel.com \
    --to=vikas.srivastava@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox