Skip to content

Commit ca08e46

Browse files
Perry Yuanrafaeljw
authored andcommitted
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 in non-EPP driver mode. Update transition delay time to 1ms, in the AMD CPU autonomous mode and non-autonomous mode, CPPC firmware will decide frequency at 1ms timescale based on the workload utilization. Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Perry Yuan <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 0e9a863 commit ca08e46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/cpufreq/amd-pstate.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
#include <asm/cpu_device_id.h>
4747
#include "amd-pstate-trace.h"
4848

49-
#define AMD_PSTATE_TRANSITION_LATENCY 0x20000
50-
#define AMD_PSTATE_TRANSITION_DELAY 500
49+
#define AMD_PSTATE_TRANSITION_LATENCY 20000
50+
#define AMD_PSTATE_TRANSITION_DELAY 1000
5151

5252
/*
5353
* TODO: We need more time to fine tune processors with shared memory solution

0 commit comments

Comments
 (0)