diff mbox

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

Message ID 1471563251-28754-4-git-send-email-seanpaul@chromium.org (mailing list archive)
State New, archived
Headers show

Commit Message

Sean Paul Aug. 18, 2016, 11:34 p.m. UTC
3 seconds is a bit too conservative, drop this to 100ms for
better power savings.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
---
 drivers/gpu/drm/rockchip/rockchip_drm_psr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Yakir Yang Aug. 26, 2016, 2:28 a.m. UTC | #1
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@chromium.org>

Reviewed-by: Yakir Yang <ykk@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,
diff mbox

Patch

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,