projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7b3812
)
cpufreq: ondemand: rk29 up threshold set to 80
author
黄涛
<huangtao@rock-chips.com>
Tue, 22 Feb 2011 09:30:35 +0000
(17:30 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Tue, 22 Feb 2011 09:30:35 +0000
(17:30 +0800)
drivers/cpufreq/cpufreq_ondemand.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/cpufreq_ondemand.c
b/drivers/cpufreq/cpufreq_ondemand.c
index 5211924e45fba3ae7cce81586265a84cec2a3429..2081b289a8090b0ba2ca3c32fabf7c8e7fb11f68 100644
(file)
--- a/
drivers/cpufreq/cpufreq_ondemand.c
+++ b/
drivers/cpufreq/cpufreq_ondemand.c
@@
-30,8
+30,13
@@
#define DEF_FREQUENCY_DOWN_DIFFERENTIAL (10)
#define DEF_FREQUENCY_UP_THRESHOLD (80)
+#ifdef CONFIG_ARCH_RK29
+#define MICRO_FREQUENCY_DOWN_DIFFERENTIAL (10)
+#define MICRO_FREQUENCY_UP_THRESHOLD (80)
+#else
#define MICRO_FREQUENCY_DOWN_DIFFERENTIAL (3)
#define MICRO_FREQUENCY_UP_THRESHOLD (95)
+#endif
#define MICRO_FREQUENCY_MIN_SAMPLE_RATE (10000)
#define MIN_FREQUENCY_UP_THRESHOLD (11)
#define MAX_FREQUENCY_UP_THRESHOLD (100)