Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1699678
| From | Viresh Kumar <viresh.kumar@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V8 1/6] PM / Domains: Add support to select performance-state of domains |
| Date | 2017-07-31 06:20 +0200 |
| Message-ID | <u9alr-1ss-3@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <u4dtE-51t-25@gated-at.bofh.it> <u4WqJ-7Z-3@gated-at.bofh.it> <u5BDz-2rl-1@gated-at.bofh.it> <u8bjA-2W9-15@gated-at.bofh.it> <u8vih-80I-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 29-07-17, 10:24, Ulf Hansson wrote: > Let's invent a new genpd flag, GENPD_FLAG_PERF_STATE! > > The creator of the genpd then needs to set this before calling > pm_genpd_init(). Similar as we are dealing with GENPD_FLAG_PM_CLK. > > The requirement for GENPD_FLAG_PERF_STATES, is to have the > ->get_performance_state() assigned. This shall be verified during > pm_genpd_init(). > > The pm_genpd_has_performance_state() then only need to return true, in > cases the device's genpd has GENPD_FLAG_PERF_STATE set - else false. > > Regarding ->set_performance_state(), let's just make it optional - and > when trying to set a new performance state, just walk the genpd > hierarchy, from bottom to up, then invoke the callback when it's > assigned. Sounds good. -- viresh
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH V8 1/6] PM / Domains: Add support to select performance-state of domains Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-19 14:40 +0200
Re: [PATCH V8 1/6] PM / Domains: Add support to select performance-state of domains Ulf Hansson <ulf.hansson@linaro.org> - 2017-07-21 10:40 +0200
Re: [PATCH V8 1/6] PM / Domains: Add support to select performance-state of domains Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-21 11:10 +0200
Re: [PATCH V8 1/6] PM / Domains: Add support to select performance-state of domains Ulf Hansson <ulf.hansson@linaro.org> - 2017-07-23 09:30 +0200
Re: [PATCH V8 1/6] PM / Domains: Add support to select performance-state of domains Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-24 12:40 +0200
Re: [PATCH V8 1/6] PM / Domains: Add support to select performance-state of domains Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-28 13:10 +0200
Re: [PATCH V8 1/6] PM / Domains: Add support to select performance-state of domains Ulf Hansson <ulf.hansson@linaro.org> - 2017-07-29 10:30 +0200
Re: [PATCH V8 1/6] PM / Domains: Add support to select performance-state of domains Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-31 06:20 +0200
Re: [PATCH V8 1/6] PM / Domains: Add support to select performance-state of domains Viresh Kumar <viresh.kumar@linaro.org> - 2017-08-02 10:30 +0200
csiph-web