[igt-dev] [PATCH i-g-t 10/20] tests/psr: Remove delay between dpms toggle.

Katarzyna Dec katarzyna.dec at intel.com
Thu Apr 12 11:26:47 UTC 2018


On Tue, Apr 10, 2018 at 07:37:22PM -0700, Dhinakaran Pandiyan wrote:
> No reason for the delay between dpms off and on.
> 
> Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan at intel.com>
> ---
>  tests/kms_psr_sink_crc.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/tests/kms_psr_sink_crc.c b/tests/kms_psr_sink_crc.c
> index d940ec89..17490726 100644
> --- a/tests/kms_psr_sink_crc.c
> +++ b/tests/kms_psr_sink_crc.c
> @@ -428,7 +428,6 @@ static void dpms_off_on(data_t data)
>  {
>  	kmstest_set_connector_dpms(data.drm_fd, data.output->config.connector,
>  				   DRM_MODE_DPMS_OFF);
> -	sleep(1);
Why there was as sleep at the first place here? Probably there was some reason.
Kasia
>  	kmstest_set_connector_dpms(data.drm_fd, data.output->config.connector,
>  				   DRM_MODE_DPMS_ON);
>  }
> -- 
> 2.14.1
> 
> _______________________________________________
> igt-dev mailing list
> igt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev


More information about the igt-dev mailing list