[igt-dev] [PATCH i-g-t v1] igt/tests: Increase chamelium hotplug timeout

Stanislav Lisovskiy stanislav.lisovskiy at intel.com
Tue Oct 1 12:04:29 UTC 2019


Currently it is 20 seconds, however unfortunately
experimental results show that it might take longer
for Chamelium to recover after chamelium_reset, causing
sporadic failures in various tests. Increasing it to 30.

See the bug analysis.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111663

Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy at intel.com>
---
 tests/kms_chamelium.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_chamelium.c b/tests/kms_chamelium.c
index 52330098..6bdb5535 100644
--- a/tests/kms_chamelium.c
+++ b/tests/kms_chamelium.c
@@ -56,7 +56,7 @@ typedef struct {
 	struct chamelium_edid *edids[TEST_EDID_COUNT];
 } data_t;
 
-#define HOTPLUG_TIMEOUT 20 /* seconds */
+#define HOTPLUG_TIMEOUT 30 /* seconds */
 #define ONLINE_TIMEOUT 20 /* seconds */
 
 #define HPD_STORM_PULSE_INTERVAL_DP 100 /* ms */
-- 
2.17.1



More information about the igt-dev mailing list