]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq: amd: Set policy->boost_supported
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 23 Jan 2025 09:08:03 +0000 (14:38 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 7 Feb 2025 04:15:15 +0000 (09:45 +0530)
commit98f39e93d102af743d173f76ca12fd5fcacbb0ea
treef106256cd757809027a4aef4aff8fcb1d58dcfe7
parentbe6b8681a0e4c1477a2c1cb155f7b9188aa88acb
cpufreq: amd: Set policy->boost_supported

With a later commit, the cpufreq core will call the ->set_boost()
callback only if the policy supports boost frequency. The
boost_supported flag is set by the cpufreq core if policy->freq_table is
set and one or more boost frequencies are present.

For other drivers, the flag must be set explicitly.

The policy->boost_enabled flag is set by the cpufreq core once the
policy is initialized, don't set it anymore.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/amd-pstate.c