public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/prime_busy: Increase timeout to mind pre-silicon.
@ 2019-05-29 13:53 Tomasz Lis
  2019-05-29 14:46 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tomasz Lis @ 2019-05-29 13:53 UTC (permalink / raw)
  To: igt-dev

From: "Lis, Tomasz" <tomasz.lis@intel.com>

On silicon, simple submission is finished much faster than in a second.
But for pre-silicon, it is not always the case. Six seconds should be
enough though.

Signed-off-by: Tomasz Lis <tomasz.lis@intel.com>
Cc: Mrzyglod Daniel T <daniel.t.mrzyglod@intel.com>
Cc: Michal Winiarski <michal.winiarski@intel.com>
Cc: Katarzyna Dec <katarzyna.dec@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
---
 tests/prime_busy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/prime_busy.c b/tests/prime_busy.c
index a82acbdb..8e0f3ca6 100644
--- a/tests/prime_busy.c
+++ b/tests/prime_busy.c
@@ -147,7 +147,7 @@ static void busy(int fd, unsigned ring, unsigned flags)
 	if ((flags & HANG) == 0) {
 		*bbe = MI_BATCH_BUFFER_END;
 		__sync_synchronize();
-		timeout = 1;
+		timeout = 6;
 	}
 
 	/* Calling busy in a loop should be enough to flush the rendering */
-- 
2.14.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2019-05-31 10:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-29 13:53 [igt-dev] [PATCH i-g-t] tests/prime_busy: Increase timeout to mind pre-silicon Tomasz Lis
2019-05-29 14:46 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-05-29 23:12 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-05-31 10:23 ` [igt-dev] [PATCH i-g-t] " Katarzyna Dec

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