]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/rockchip: Reduce psr flush time to 100ms
authorSean Paul <seanpaul@chromium.org>
Thu, 18 Aug 2016 19:03:22 +0000 (12:03 -0700)
committerSean Paul <seanpaul@chromium.org>
Wed, 21 Sep 2016 13:55:48 +0000 (06:55 -0700)
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>
drivers/gpu/drm/rockchip/rockchip_drm_psr.c

index de6252f6cb8905c127b7bc892fbe0d7005d3f378..2cdd6eb359f22aa6390e6c55cfc948b5c62a1172 100644 (file)
@@ -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,