diff options
author | Lukasz Luba <lukasz.luba@arm.com> | 2024-02-08 14:55:56 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-02-08 17:00:32 +0300 |
commit | 22ea02848c07d1cbd15a5f442138ca429866300d (patch) | |
tree | f7a2c3300fa47801d15b3b86ba60244b2bb3dfce /Documentation/power | |
parent | 24e9fb635df2790eccb0e95ff65c6dee7a97fcb7 (diff) | |
download | linux-22ea02848c07d1cbd15a5f442138ca429866300d.tar.xz |
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 'Documentation/power')
0 files changed, 0 insertions, 0 deletions