[PATCH 3/3] drm/rockchip: Reduce psr flush time to 100ms

Yakir Yang ykk at rock-chips.com
Fri Aug 26 02:28:23 UTC 2016


Sean,

On 08/19/2016 07:34 AM, Sean Paul wrote:
> 3 seconds is a bit too conservative, drop this to 100ms for
> better power savings.
>
> Signed-off-by: Sean Paul <seanpaul at chromium.org>

Reviewed-by: Yakir Yang <ykk at rock-chips.com>

> ---
>   drivers/gpu/drm/rockchip/rockchip_drm_psr.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_psr.c b/drivers/gpu/drm/rockchip/rockchip_drm_psr.c
> index de6252f..2cdd6eb 100644
> --- a/drivers/gpu/drm/rockchip/rockchip_drm_psr.c
> +++ b/drivers/gpu/drm/rockchip/rockchip_drm_psr.c
> @@ -18,7 +18,7 @@
>   #include "rockchip_drm_drv.h"
>   #include "rockchip_drm_psr.h"
>   
> -#define PSR_FLUSH_TIMEOUT	msecs_to_jiffies(3000) /* 3 seconds */
> +#define PSR_FLUSH_TIMEOUT	msecs_to_jiffies(100)
>   
>   enum psr_state {
>   	PSR_FLUSH,




More information about the dri-devel mailing list