[PATCH v6 09/10] thermal: devfreq_cooling: Refactor code and switch to use Energy Model

Lukasz Luba lukasz.luba at arm.com
Fri Apr 24 10:02:12 UTC 2020


Hi Daniel,

On 4/23/20 6:57 PM, Daniel Lezcano wrote:
> On Fri, Apr 10, 2020 at 09:42:09AM +0100, Lukasz Luba wrote:
>> The overhauled Energy Model (EM) framework support also devfreq devices.
>> The unified API interface of the EM can be used in the thermal subsystem to
>> not duplicate code. The power table now is taken from EM structure and
>> there is no need to maintain calculation for it locally. In case when the
>> EM is not provided by the device a simple interface for cooling device is
>> used.
>>
>> [lkp: Reported the build warning]
>> Reported-by: kbuild test robot <lkp at intel.com>
>> Reviewed-by: Steven Rostedt (VMware) <rostedt at goodmis.org> # for tracing code
>> Signed-off-by: Lukasz Luba <lukasz.luba at arm.com>
> 
> Is it possible to split this patch into smaller parts? It is hard to understand
> what is related to the em conversion and other changes which look not related
> so far.
> 

No problem, I will do the split (it will be in the v7).

Regards,
Lukasz


More information about the dri-devel mailing list