diff options
author | Sean Paul <seanpaul@chromium.org> | 2016-08-18 21:03:22 +0200 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2016-09-21 15:55:48 +0200 |
commit | 604bac48a7d97b305b126731c443e79a78253582 (patch) | |
tree | 157f74033d2038579b704e05505844fc0ec70ec1 /drivers/gpu/drm/rockchip | |
parent | drm/rockchip: Don't key off vblank for psr (diff) | |
download | linux-604bac48a7d97b305b126731c443e79a78253582.tar.xz linux-604bac48a7d97b305b126731c443e79a78253582.zip |
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 <ykk@rock-chips.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/rockchip')
-rw-r--r-- | drivers/gpu/drm/rockchip/rockchip_drm_psr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |