]> git.ipfire.org Git - thirdparty/linux.git/commit
cpufreq: scmi: Set transition_delay_us
authorPierre Gondois <pierre.gondois@arm.com>
Thu, 22 Feb 2024 13:57:01 +0000 (14:57 +0100)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 6 Mar 2024 05:24:24 +0000 (10:54 +0530)
commitad2a91086e288c9ab1d74eee57edabe08bd90471
treefede8296497fbbaef1ea2394fd767f4003b3fc3f
parent2441caa84aac8abf1be9e20db3e6bb921e74c8a2
cpufreq: scmi: Set transition_delay_us

Make use of the newly added callbacks:
- rate_limit_get()
- fast_switch_rate_limit()
to populate policies's `transition_delay_us`, defined as the
'Preferred average time interval between consecutive
invocations of the driver to set the frequency for this policy.'

Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/scmi-cpufreq.c