[igt-dev] [PATCH i-g-t 2/2] tests/psr: Check for PSR entry less frequently

Souza, Jose jose.souza at intel.com
Fri Sep 28 17:48:15 UTC 2018


On Thu, 2018-09-27 at 21:19 -0700, Dhinakaran Pandiyan wrote:
> We currently read debugfs every 1 ms, given that it takes about 140
> ms
> for PSR entry on the CI machines and entry can occur at frame time
> intervals, bump the debugfs read interval to 20 ms.
> 

Reviewed-by: José Roberto de Souza <jose.souza at intel.com>

> Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan at intel.com>
> ---
>  lib/igt_psr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/igt_psr.c b/lib/igt_psr.c
> index 355fe627..0ddfb64f 100644
> --- a/lib/igt_psr.c
> +++ b/lib/igt_psr.c
> @@ -39,7 +39,7 @@ static bool psr_active(int debugfs_fd, bool
> check_active)
>  
>  bool psr_wait_entry(int debugfs_fd)
>  {
> -	return igt_wait(psr_active(debugfs_fd, true), 500, 1);
> +	return igt_wait(psr_active(debugfs_fd, true), 500, 20);
>  }
>  
>  bool psr_wait_exit(int debugfs_fd)


More information about the igt-dev mailing list