cpufreq: amd-pstate: update pstate frequency transition delay time
authorPerry Yuan <Perry.Yuan@amd.com>
Sun, 14 Aug 2022 16:35:47 +0000 (00:35 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 31 Aug 2022 19:05:38 +0000 (21:05 +0200)
commitca08e46d4215e85eb3cef2481255431d98da56da
treef2bc31d92a8c08491df0720b76a4ea5b03318b91
parent0e9a86386bca646d3b0fc50e5e15eedb1eb620b3
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 <viresh.kumar@linaro.org>
Signed-off-by: Perry Yuan <Perry.Yuan@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/amd-pstate.c