tests/i915/kms_frontbuffer_tracking: Increase the poll timeout for simulation platform
PATCH v3 1/1 tests/i915/kms_frontbuffer_tracking: Increase the poll timeout for simulation platform
Currently the poll timeout value is 1000ms which is very less for simulation, hence increased it to 10000ms.
Signed-off-by Nidhi Gupta <[email protected]>
Reviewed-by Karthik B S <[email protected]>
--- tests/i915/kms_frontbuffer_tracking.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
tests/i915/kms_frontbuffer_tracking.c +3 -1
@@ -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" );
Signature · 1 line
2.26.2
Quoted 4 lines · Nidhi Gupta
Currently the poll timeout value is 1000ms which is very less for simulation, hence increased it to 10000ms.
It seems, you tagged a wrong issue.
- Bhanu
Quoted 28 lines
Signed-off-by Nidhi Gupta <[email protected]>Reviewed-by Karthik B S <[email protected]>--- tests/i915/kms_frontbuffer_tracking.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)tests/i915/kms_frontbuffer_tracking.c +3
-1@@ -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" );