[PATCH v5 3/5] thermal: devfreq_cooling: Use PM QoS to set frequency limits

Daniel Lezcano daniel.lezcano at linaro.org
Fri Apr 3 17:19:33 UTC 2020


On 03/04/2020 19:18, Matthias Kaehlcke wrote:
> Hi Daniel,
> 
> On Fri, Apr 03, 2020 at 06:43:20PM +0200, Daniel Lezcano wrote:
>> On 18/03/2020 12:45, Lukasz Luba wrote:
>>> From: Matthias Kaehlcke <mka at chromium.org>
>>>
>>> Now that devfreq supports limiting the frequency range of a device
>>> through PM QoS make use of it instead of disabling OPPs that should
>>> not be used.
>>>
>>> The switch from disabling OPPs to PM QoS introduces a subtle behavioral
>>> change in case of conflicting requests (min > max): PM QoS gives
>>> precedence to the MIN_FREQUENCY request, while higher OPPs disabled
>>> with dev_pm_opp_disable() would override MIN_FREQUENCY.
>>>
>>> Signed-off-by: Matthias Kaehlcke <mka at chromium.org>
>>> Reviewed-by: Lukasz Luba <lukasz.luba at arm.com>
>>> Reviewed-by: Chanwoo Choi <cw00.choi at samsung.com>
>>
>> This patch is standalone, right? If yes, I will apply it.
> 
> Yes, it is standalone, please apply

Applied on 'testing', thanks


-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


More information about the dri-devel mailing list