diff options
| author | Mahesh Sivasubramanian <msivasub@codeaurora.org> | 2016-10-26 12:41:35 -0600 |
|---|---|---|
| committer | Mahesh Sivasubramanian <msivasub@codeaurora.org> | 2016-10-26 13:28:07 -0600 |
| commit | bf3c04884ede022001f79a13ccfc33aa0785b211 (patch) | |
| tree | 0837c07275a4c6128c707da5f4135676e902757f | |
| parent | 5b7da258870763a6fe394b3ed1d96ddba59cce28 (diff) | |
drivers: cpuidle: lpm-levels: Enable Sleep prediction
Enable Sleep mode prediction by default. This predictions provides better
power and CPU performance.
Change-Id: Ic4791164cee1dea0cc36c8445f546b9ec56785d4
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
| -rw-r--r-- | drivers/cpuidle/lpm-levels.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/cpuidle/lpm-levels.c b/drivers/cpuidle/lpm-levels.c index 37e504381313..de033cc37a15 100644 --- a/drivers/cpuidle/lpm-levels.c +++ b/drivers/cpuidle/lpm-levels.c @@ -85,7 +85,9 @@ struct lpm_debug { struct lpm_cluster *lpm_root_node; -static bool lpm_prediction; +#define MAXSAMPLES 5 + +static bool lpm_prediction = true; module_param_named(lpm_prediction, lpm_prediction, bool, S_IRUGO | S_IWUSR | S_IWGRP); |
