All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH] i915/gem_eio: increasing the timeout for forced reset completion
@ 2022-04-18  5:04 krishnaiah.bommu
  2022-04-18  5:29 ` Dixit, Ashutosh
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: krishnaiah.bommu @ 2022-04-18  5:04 UTC (permalink / raw)
  To: igt-dev; +Cc: Bommu Krishnaiah, Konieczny Kamil

From: Bommu Krishnaiah <krishnaiah.bommu@intel.com>

GUC log capture is taking more time on few platforms, so increasing the timeout

Signed-off-by: Bommu Krishnaiah <krishnaiah.bommu@intel.com>
Cc: Konieczny Kamil <kamil.konieczny@intel.com>
Cc: John Harrison <john.c.harrison@intel.com>
Cc: Andi Shyti <andi.shyti@intel.com>
---
 tests/i915/gem_eio.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/tests/i915/gem_eio.c b/tests/i915/gem_eio.c
index d9689534d5a..d7fa9e02e92 100644
--- a/tests/i915/gem_eio.c
+++ b/tests/i915/gem_eio.c
@@ -72,8 +72,14 @@ static void trigger_reset(int fd)
 	igt_kmsg(KMSG_DEBUG "Forcing GPU reset\n");
 	igt_force_gpu_reset(fd);
 
-	/* The forced reset should be immediate */
-	igt_assert_lte(igt_seconds_elapsed(&ts), 2);
+	/* The forced reset should be immediate, even though
+	 * GUC log capture is taking more time on few platforms,
+	 * so Increasing the timeout
+	 */
+	if (gem_using_guc_submission(fd))
+		igt_assert_lte(igt_seconds_elapsed(&ts), 10);
+	else
+		igt_assert_lte(igt_seconds_elapsed(&ts), 2);
 
 	/* And just check the gpu is indeed running again */
 	igt_kmsg(KMSG_DEBUG "Checking that the GPU recovered\n");
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [igt-dev] [PATCH] i915/gem_eio: increasing the timeout for forced reset completion
@ 2022-04-14 10:23 krishnaiah.bommu
  2022-04-14 13:01 ` Kamil Konieczny
  0 siblings, 1 reply; 7+ messages in thread
From: krishnaiah.bommu @ 2022-04-14 10:23 UTC (permalink / raw)
  To: igt-dev; +Cc: Bommu Krishnaiah, Konieczny Kamil

From: Bommu Krishnaiah <krishnaiah.bommu@intel.com>

GUC log capture is taking more time on few platforms, so increasing the timeout

Signed-off-by: Bommu Krishnaiah <krishnaiah.bommu@intel.com>
Cc: Konieczny Kamil <kamil.konieczny@intel.com>
Cc: John Harrison <john.c.harrison@intel.com>
Cc: Andi Shyti <andi.shyti@intel.com>
---
 tests/i915/gem_eio.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/tests/i915/gem_eio.c b/tests/i915/gem_eio.c
index d9689534d5a..94c3bc04644 100644
--- a/tests/i915/gem_eio.c
+++ b/tests/i915/gem_eio.c
@@ -72,8 +72,11 @@ static void trigger_reset(int fd)
 	igt_kmsg(KMSG_DEBUG "Forcing GPU reset\n");
 	igt_force_gpu_reset(fd);
 
-	/* The forced reset should be immediate */
-	igt_assert_lte(igt_seconds_elapsed(&ts), 2);
+	/* The forced reset should be immediate, even though
+	 * GUC log capture is taking more time on few platforms,
+	 * so Increasing the timeout
+	 */
+	igt_assert_lte(igt_seconds_elapsed(&ts), 10);
 
 	/* And just check the gpu is indeed running again */
 	igt_kmsg(KMSG_DEBUG "Checking that the GPU recovered\n");
-- 
2.25.1

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

end of thread, other threads:[~2022-04-20  9:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-18  5:04 [igt-dev] [PATCH] i915/gem_eio: increasing the timeout for forced reset completion krishnaiah.bommu
2022-04-18  5:29 ` Dixit, Ashutosh
2022-04-18  6:27 ` [igt-dev] ✓ Fi.CI.BAT: success for i915/gem_eio: increasing the timeout for forced reset completion (rev2) Patchwork
2022-04-18  7:45 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2022-04-20  9:52 ` [igt-dev] [PATCH] i915/gem_eio: increasing the timeout for forced reset completion Kamil Konieczny
  -- strict thread matches above, loose matches on Subject: below --
2022-04-14 10:23 krishnaiah.bommu
2022-04-14 13:01 ` Kamil Konieczny

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.