On 14.04.2025 09:40, Penny Zheng wrote:
> amd-cppc on active mode bypasses the scaling governor layer, and
> provides its own P-state selection algorithms in hardware. Consequently,
> when it is used, the driver's -> setpolicy() callback is invoked
> to register per-CPU utilization update callbacks, not the ->target()
> callback.
> 
> So, only when cpufreq_driver.setpolicy is NULL, we need to deliberately
> set old gov as NULL to trigger the according gov starting.
> 
> Signed-off-by: Penny Zheng <penny.zh...@amd.com>
> Reviewed-by: Jan Beulich <jbeul...@suse.com>
> ---
> v3 -> v4:
> - fix indentation and this commit is independent of all earlier patches

I've committed this, but had to adjust for fuzz first. Would be nice if such
entirely ready (i.e. also independent) patches could be moved to the front of
the containing series.

Jan

Reply via email to