Skip to contentSkip to conversation

cpufreq: amd-pstate: update pstate frequency transition delay time

PATCH Superseded Perry Yuan 1 participant 1 message Jul 7, 2022

Subsystems (2)

v1 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Perry Yuan

author reviewer
#0 lore raw

PATCH 9/12 cpufreq: amd-pstate: update pstate frequency transition delay time

change the default transition latency to be 20ms that is more reasonable transition delay for AMD processors.

---
 drivers/cpufreq/amd-pstate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpufreq/amd-pstate.c +1 -1
index 173a45cf292a..b54b3b559993 100644
@@ -41,7 +41,7 @@
 #include <asm/msr.h>
 #include "amd-pstate-trace.h"
 
-#define AMD_PSTATE_TRANSITION_LATENCY	0x20000
+#define AMD_PSTATE_TRANSITION_LATENCY	20000
 #define AMD_PSTATE_TRANSITION_DELAY	500
 
 /*
Signature · 1 line
2.25.1