[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <03c00c7c-d0f8-4002-8fe0-7d06ac2e030b@arm.com>
Date: Tue, 12 Nov 2024 09:21:07 +0100
From: Dietmar Eggemann <dietmar.eggemann@....com>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>,
Linux PM <linux-pm@...r.kernel.org>
Cc: LKML <linux-kernel@...r.kernel.org>, Lukasz Luba <lukasz.luba@....com>,
Peter Zijlstra <peterz@...radead.org>,
Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
Len Brown <len.brown@...el.com>, Morten Rasmussen
<morten.rasmussen@....com>, Vincent Guittot <vincent.guittot@...aro.org>,
Ricardo Neri <ricardo.neri-calderon@...ux.intel.com>
Subject: Re: [RFC][PATCH v0.1 2/6] PM: EM: Call em_compute_costs() from
em_create_perf_table()
On 08/11/2024 17:37, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
>
> In preparation for subsequent changes, move the em_compute_costs()
> invocation from em_create_perf_table() to em_create_pd() which is its
> only caller.
You have to do this since em_create_perf_table() is only called when 'if
(cb->active_power) != NULL'.
And 'cb->active_power == NULL' is what you use for your new 'stub' PD case.
Maybe worth mentioning already here? You do mention this in the
following patch though.
[...]
Powered by blists - more mailing lists