diff options
author | Lukasz Luba <lukasz.luba@arm.com> | 2024-02-08 12:55:56 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-02-08 15:00:32 +0100 |
commit | 22ea02848c07d1cbd15a5f442138ca429866300d (patch) | |
tree | f7a2c3300fa47801d15b3b86ba60244b2bb3dfce /Kbuild | |
parent | PM: EM: Remove old table (diff) | |
download | linux-22ea02848c07d1cbd15a5f442138ca429866300d.tar.xz linux-22ea02848c07d1cbd15a5f442138ca429866300d.zip |
PM: EM: Add em_dev_compute_costs()
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).
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Tested-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions