Re: [RFC][PATCH v0.1 2/6] PM: EM: Call em_compute_costs() from em_create_perf_table()
From: Dietmar Eggemann
Date: Tue Nov 12 2024 - 03:21:28 EST
On 08/11/2024 17:37, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> 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.
[...]