[PATCH V2 9/9] cpufreq: scmi: Use .register_em() callback

Viresh Kumar viresh.kumar at linaro.org
Wed Aug 11 20:53:16 PDT 2021


On 11-08-21, 14:17, Quentin Perret wrote:
> Also, we can probably afford calling dev_pm_opp_get_opp_count() from the
> em_register callback as it is not a hot path, which would avoid wasting
> some 'resident' memory here that is only used during init.

We also need to make sure that OPPs are available in init(), else we
fail. So, we can't really move that out.

-- 
viresh



More information about the linux-arm-kernel mailing list