Message ID | 1471563251-28754-4-git-send-email-seanpaul@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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 --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,
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(-)