Re: [PATCH v5 22/23] PM: EM: Add em_dev_compute_costs() as API for device drivers

From: Dietmar Eggemann
Date: Tue Dec 12 2023 - 13:51:23 EST


On 29/11/2023 12:08, Lukasz Luba wrote:
> The device drivers can modify EM at runtime by providing a new EM table.
> The EM is used by the EAS and the em_perf_state::cost stores
> pre-calculated value to avoid overhead. This patch provides the API for
> device drivers to calculate the cost values properly (and not duplicate
> the same code).

New interface w/o any users? Can we not remove this from this patch-set
and introduce it with the first user(s)?

[...]