summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/rockchip
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2016-08-18 12:03:22 -0700
committerSean Paul <seanpaul@chromium.org>2016-09-21 06:55:48 -0700
commit604bac48a7d97b305b126731c443e79a78253582 (patch)
tree157f74033d2038579b704e05505844fc0ec70ec1 /drivers/gpu/drm/rockchip
parentb883c9ba18a4d527fddc952a35565e34a5d22e15 (diff)
downloadtalos-op-linux-604bac48a7d97b305b126731c443e79a78253582.tar.gz
talos-op-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.c2
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,
OpenPOWER on IntegriCloud