From 604bac48a7d97b305b126731c443e79a78253582 Mon Sep 17 00:00:00 2001 From: Sean Paul Date: Thu, 18 Aug 2016 12:03:22 -0700 Subject: [PATCH] drm/rockchip: Reduce psr flush time to 100ms 3 seconds is a bit too conservative, drop this to 100ms for better power savings. Reviewed-by: Yakir Yang Signed-off-by: Sean Paul --- 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 de6252f6cb89..2cdd6eb359f2 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,