diff mbox

[5/5] intel_pstate: Adjust default IIR filter gain.

Message ID 1428811830-15006-6-git-send-email-dsmythies@telus.net (mailing list archive)
State RFC, archived
Headers show

Commit Message

Doug Smythies April 12, 2015, 4:10 a.m. UTC
A default IIR filter gain of 10 percent is
recommended. It best matches a rising edge step
function load increase response time to the
previous version of this driver. Although not by
a lot, it better damps lower frequency load / sleep
rate response oscillations.

Signed-off-by: Doug Smythies <dsmythies@telus.net>
---
 drivers/cpufreq/intel_pstate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
index 66e662d..a374309 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -626,7 +626,7 @@  static struct cpu_defaults core_params = {
 		.sample_rate_ms = 10,
 		.deadband = 0,
 		.setpoint = 97,
-		.p_gain_pct = 20,
+		.p_gain_pct = 10,
 		.d_gain_pct = 0,
 		.i_gain_pct = 0,
 		.c0_ceiling = 950,
@@ -646,7 +646,7 @@  static struct cpu_defaults byt_params = {
 		.sample_rate_ms = 10,
 		.deadband = 0,
 		.setpoint = 97,
-		.p_gain_pct = 20,
+		.p_gain_pct = 10,
 		.d_gain_pct = 0,
 		.i_gain_pct = 4,
 		.c0_ceiling = 950,