Thread (121 messages) 121 messages, 7 authors, 2021-01-12

Re: [PATCH v2 11/48] opp: Add dev_pm_opp_find_level_ceil()

From: Viresh Kumar <viresh.kumar@linaro.org>
Date: 2020-12-24 06:44:40
Also in: dri-devel, linux-clk, linux-media, linux-tegra, lkml

On 23-12-20, 23:37, Dmitry Osipenko wrote:
23.12.2020 07:19, Viresh Kumar пишет:
quoted
On 22-12-20, 22:15, Dmitry Osipenko wrote:
quoted
22.12.2020 09:42, Viresh Kumar пишет:
quoted
On 17-12-20, 21:06, Dmitry Osipenko wrote:
quoted
Add a ceil version of the dev_pm_opp_find_level(). It's handy to have if
levels don't start from 0 in OPP table and zero usually means a minimal
level.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Why doesn't the exact version work for you here ?
The exact version won't find OPP for level=0 if levels don't start with
0, where 0 means that minimal level is desired.
Right, but why do you need to send 0 for your platform ?
To put power domain into the lowest performance state when device is idling.
I see. So you really want to set it to the lowest state or just take the vote
out ? Which may end up powering off the domain in the worst case ?

-- 
viresh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help