linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 09/12] cpufreq: amd-pstate: update pstate frequency transition delay time
@ 2022-07-07 17:00 Perry Yuan
  0 siblings, 0 replies; only message in thread
From: Perry Yuan @ 2022-07-07 17:00 UTC (permalink / raw)
  To: rafael.j.wysocki, viresh.kumar, Ray.Huang, Huang Rui,
	Rafael J. Wysocki, linux-pm, linux-kernel
  Cc: Deepak.Sharma, Mario.Limonciello, Nathan.Fontenot,
	Alexander.Deucher, Jinzhou.Su, Xinmei.Huang, Xiaojian.Du, Li.Meng,
	Perry Yuan

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

Signed-off-by: Perry Yuan <Perry.Yuan@amd.com>
---
 drivers/cpufreq/amd-pstate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index 173a45cf292a..b54b3b559993 100644
--- a/drivers/cpufreq/amd-pstate.c
+++ b/drivers/cpufreq/amd-pstate.c
@@ -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
 
 /*
-- 
2.25.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-07 17:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-07 17:00 [PATCH 09/12] cpufreq: amd-pstate: update pstate frequency transition delay time Perry Yuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).