lkml.org 
[lkml]   [2019]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/4] PM / devfreq: Kconfig: add DEVFREQ_DELAYED_TIMER option
Date
Add Kconfig option DEVFREQ_DELAYED_TIMER. If set, devfreq workqueue
will use delayed timer from its start.

Signed-off-by: Kamil Konieczny <k.konieczny@samsung.com>
---
drivers/devfreq/Kconfig | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig
index 38a94df749a2..c799917c34c9 100644
--- a/drivers/devfreq/Kconfig
+++ b/drivers/devfreq/Kconfig
@@ -74,6 +74,18 @@ config DEVFREQ_GOV_PASSIVE
through sysfs entries. The passive governor recommends that
devfreq device uses the OPP table to get the frequency/voltage.

+comment "DEVFREQ Options"
+
+config DEVFREQ_DELAYED_TIMER
+ bool "Use delayed timer in Simple Ondemand Governor"
+ default false
+ help
+ Simple Ondemand Governor uses polling for reading buses counters.
+ A default timer used is deferred, which saves power, but can
+ miss increased demand for higher bus frequency if timer was
+ assigned to idle cpu. If you want to change this to delayed
+ timer at the cost of more power used, say Yes here.
+
comment "DEVFREQ Drivers"

config ARM_EXYNOS_BUS_DEVFREQ
--
2.24.0
\
 
 \ /
  Last update: 2019-12-09 15:46    [W:0.115 / U:3.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site