Re: [RFC PATCH 3/3] opp: Power on (virtual) power domains managed by the OPP core

2020-08-26 Thread Stephan Gerhold
On Tue, Aug 25, 2020 at 02:42:54PM +0200, Ulf Hansson wrote: > On Tue, 25 Aug 2020 at 09:34, Stephan Gerhold wrote: > > > > On Tue, Aug 25, 2020 at 08:43:42AM +0200, Ulf Hansson wrote: > > > On Tue, 25 Aug 2020 at 06:43, Viresh Kumar > > > wrote: > > > > > > > > On 24-08-20, 17:08, Stephan

Re: [RFC PATCH 3/3] opp: Power on (virtual) power domains managed by the OPP core

2020-08-25 Thread Ulf Hansson
On Tue, 25 Aug 2020 at 09:34, Stephan Gerhold wrote: > > On Tue, Aug 25, 2020 at 08:43:42AM +0200, Ulf Hansson wrote: > > On Tue, 25 Aug 2020 at 06:43, Viresh Kumar wrote: > > > > > > On 24-08-20, 17:08, Stephan Gerhold wrote: > > > > On Mon, Aug 24, 2020 at 04:36:57PM +0200, Ulf Hansson wrote:

Re: [RFC PATCH 3/3] opp: Power on (virtual) power domains managed by the OPP core

2020-08-25 Thread Stephan Gerhold
On Tue, Aug 25, 2020 at 08:43:42AM +0200, Ulf Hansson wrote: > On Tue, 25 Aug 2020 at 06:43, Viresh Kumar wrote: > > > > On 24-08-20, 17:08, Stephan Gerhold wrote: > > > On Mon, Aug 24, 2020 at 04:36:57PM +0200, Ulf Hansson wrote: > > > > That said, perhaps should rely on the consumer to deploy

Re: [RFC PATCH 3/3] opp: Power on (virtual) power domains managed by the OPP core

2020-08-25 Thread Ulf Hansson
On Tue, 25 Aug 2020 at 06:43, Viresh Kumar wrote: > > On 24-08-20, 17:08, Stephan Gerhold wrote: > > On Mon, Aug 24, 2020 at 04:36:57PM +0200, Ulf Hansson wrote: > > > That said, perhaps should rely on the consumer to deploy runtime PM > > > support, but let the OPP core to set up the device

Re: [RFC PATCH 3/3] opp: Power on (virtual) power domains managed by the OPP core

2020-08-24 Thread Viresh Kumar
On 24-08-20, 17:08, Stephan Gerhold wrote: > On Mon, Aug 24, 2020 at 04:36:57PM +0200, Ulf Hansson wrote: > > That said, perhaps should rely on the consumer to deploy runtime PM > > support, but let the OPP core to set up the device links for the genpd > > virtual devices!? > > > > Yes, that

Re: [RFC PATCH 3/3] opp: Power on (virtual) power domains managed by the OPP core

2020-08-24 Thread Stephan Gerhold
On Mon, Aug 24, 2020 at 04:36:57PM +0200, Ulf Hansson wrote: > On Mon, 24 Aug 2020 at 13:56, Stephan Gerhold wrote: > > > > On Mon, Aug 24, 2020 at 04:57:44PM +0530, Viresh Kumar wrote: > > > On 30-07-20, 10:01, Stephan Gerhold wrote: > > > > dev_pm_opp_attach_genpd() allows attaching an

Re: [RFC PATCH 3/3] opp: Power on (virtual) power domains managed by the OPP core

2020-08-24 Thread Ulf Hansson
On Mon, 24 Aug 2020 at 13:56, Stephan Gerhold wrote: > > On Mon, Aug 24, 2020 at 04:57:44PM +0530, Viresh Kumar wrote: > > On 30-07-20, 10:01, Stephan Gerhold wrote: > > > dev_pm_opp_attach_genpd() allows attaching an arbitrary number of > > > power domains to an OPP table. In that case, the

Re: [RFC PATCH 3/3] opp: Power on (virtual) power domains managed by the OPP core

2020-08-24 Thread Stephan Gerhold
On Mon, Aug 24, 2020 at 04:57:44PM +0530, Viresh Kumar wrote: > On 30-07-20, 10:01, Stephan Gerhold wrote: > > dev_pm_opp_attach_genpd() allows attaching an arbitrary number of > > power domains to an OPP table. In that case, the genpd core will > > create a virtual device for each of the power

Re: [RFC PATCH 3/3] opp: Power on (virtual) power domains managed by the OPP core

2020-08-24 Thread Viresh Kumar
On 30-07-20, 10:01, Stephan Gerhold wrote: > dev_pm_opp_attach_genpd() allows attaching an arbitrary number of > power domains to an OPP table. In that case, the genpd core will > create a virtual device for each of the power domains. > > At the moment, the OPP core only calls >

[RFC PATCH 3/3] opp: Power on (virtual) power domains managed by the OPP core

2020-07-30 Thread Stephan Gerhold
dev_pm_opp_attach_genpd() allows attaching an arbitrary number of power domains to an OPP table. In that case, the genpd core will create a virtual device for each of the power domains. At the moment, the OPP core only calls dev_pm_genpd_set_performance_state() on these virtual devices. It does