Re: [PATCH v4 1/5] PM / OPP: Introduce a power estimation helper

2019-02-04 Thread Quentin Perret
On Monday 04 Feb 2019 at 10:03:03 (-0800), Matthias Kaehlcke wrote: > There is the option to remove the OPP check from the cpufreq drivers > and instead return an error from dev_pm_opp_of_register_em(), but with > the more complex error handling it might be more hassle than it's > worth. Agreed.

Re: [PATCH v4 1/5] PM / OPP: Introduce a power estimation helper

2019-02-04 Thread Matthias Kaehlcke
On Mon, Feb 04, 2019 at 11:09:48AM +, Quentin Perret wrote: > The Energy Model (EM) framework provides an API to let drivers register > the active power of CPUs. The drivers are expected to provide a callback > method which estimates the power consumed by a CPU at each available > performance

[PATCH v4 1/5] PM / OPP: Introduce a power estimation helper

2019-02-04 Thread Quentin Perret
The Energy Model (EM) framework provides an API to let drivers register the active power of CPUs. The drivers are expected to provide a callback method which estimates the power consumed by a CPU at each available performance levels. How exactly this should be implemented, however, depends on the