[igt-dev] [PATCH 1/2] [PATCH i-g-t] i915/sysfs_heartbeat_interval: Update test to work with GuC submission

pallavi.mishra at intel.com pallavi.mishra at intel.com
Mon Feb 27 18:52:58 UTC 2023


From: Pallavi Mishra <pallavi.mishra at intel.com>

Increase reset timeout as resets can take a bit longer with GuC
submission because an error capture is done and with a large GuC log (16
MB) these take a while.

Co-authored-by: Matthew Brost <matthew.brost at intel.com>
Signed-off-by: Pallavi Mishra <pallavi.mishra at intel.com>
---
 tests/i915/sysfs_heartbeat_interval.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/sysfs_heartbeat_interval.c b/tests/i915/sysfs_heartbeat_interval.c
index 8cebf627..63e56cbf 100644
--- a/tests/i915/sysfs_heartbeat_interval.c
+++ b/tests/i915/sysfs_heartbeat_interval.c
@@ -43,7 +43,7 @@
 #include "sw_sync.h"
 
 #define ATTR "heartbeat_interval_ms"
-#define RESET_TIMEOUT 50 /* milliseconds, at least one jiffie for kworker */
+#define RESET_TIMEOUT 1000 /* milliseconds, long enough for an error capture */
 
 static bool __enable_hangcheck(int dir, bool state)
 {
-- 
2.34.1



More information about the igt-dev mailing list