[igt-dev] [PATCH i-g-t v3] tests/i915/kms_frontbuffer_tracking: Increase the poll timeout for simulation platform
Nidhi Gupta
nidhi1.gupta at intel.com
Mon Jul 18 09:23:29 UTC 2022
Currently the poll timeout value is 1000ms which is very less for
simulation, hence increased it to 10000ms.
Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/6435
Signed-off-by: Nidhi Gupta <nidhi1.gupta at intel.com>
Reviewed-by: Karthik B S <karthik.b.s at intel.com>
---
tests/i915/kms_frontbuffer_tracking.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/i915/kms_frontbuffer_tracking.c b/tests/i915/kms_frontbuffer_tracking.c
index 814ddb46..248ff36b 100644
--- a/tests/i915/kms_frontbuffer_tracking.c
+++ b/tests/i915/kms_frontbuffer_tracking.c
@@ -36,6 +36,8 @@
#include "igt_sysfs.h"
#include "igt_psr.h"
+#define TIME SLOW_QUICK(1000, 10000)
+
IGT_TEST_DESCRIPTION("Test the Kernel's frontbuffer tracking mechanism and "
"its related features: FBC, PSR and DRRS");
@@ -2306,7 +2308,7 @@ static void wait_flip_event(void)
pfd.events = POLLIN;
pfd.revents = 0;
- rc = poll(&pfd, 1, 1000);
+ rc = poll(&pfd, 1, TIME);
switch (rc) {
case 0:
igt_assert_f(false, "Poll timeout\n");
--
2.26.2
More information about the igt-dev
mailing list