summarylogtreecommitdiffstats
path: root/0005-glitched-ondemand-pds.patch
diff options
context:
space:
mode:
Diffstat (limited to '0005-glitched-ondemand-pds.patch')
-rw-r--r--0005-glitched-ondemand-pds.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/0005-glitched-ondemand-pds.patch b/0005-glitched-ondemand-pds.patch
new file mode 100644
index 000000000000..c1929e8e7685
--- /dev/null
+++ b/0005-glitched-ondemand-pds.patch
@@ -0,0 +1,18 @@
+diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c
+index 6b423eebfd5d..61e3271675d6 100644
+--- a/drivers/cpufreq/cpufreq_ondemand.c
++++ b/drivers/cpufreq/cpufreq_ondemand.c
+@@ -21,10 +21,10 @@
+ #include "cpufreq_ondemand.h"
+
+ /* On-demand governor macros */
+-#define DEF_FREQUENCY_UP_THRESHOLD (63)
+-#define DEF_SAMPLING_DOWN_FACTOR (1)
++#define DEF_FREQUENCY_UP_THRESHOLD (55)
++#define DEF_SAMPLING_DOWN_FACTOR (5)
+ #define MAX_SAMPLING_DOWN_FACTOR (100000)
+-#define MICRO_FREQUENCY_UP_THRESHOLD (95)
++#define MICRO_FREQUENCY_UP_THRESHOLD (63)
+ #define MICRO_FREQUENCY_MIN_SAMPLE_RATE (10000)
+ #define MIN_FREQUENCY_UP_THRESHOLD (1)
+ #define MAX_FREQUENCY_UP_THRESHOLD (100)