[igt-dev] [PATCH i-g-t] tests/i915/kms_frintbuffer_tracking: Increase the poll timeout for simulation platform
Karthik B S
karthik.b.s at intel.com
Fri Jul 15 04:36:28 UTC 2022
On 7/14/2022 2:58 PM, Nidhi Gupta wrote:
> Currently the poll timeout value is 1000ms which is very less for
> simulation, hence increased it to 10000ms.
>
> Signed-off-by: Nidhi Gupta <nidhi1.gupta at intel.com>
Please fix the typo in subject line. 'frintbuffer -> frontbuffer'
With that,
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");
More information about the igt-dev
mailing list