summaryrefslogtreecommitdiffstats
path: root/net/wireless/pmsr.c
diff options
context:
space:
mode:
authorLukasz Luba <lukasz.luba@arm.com>2024-02-08 12:55:56 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-02-08 15:00:32 +0100
commit22ea02848c07d1cbd15a5f442138ca429866300d (patch)
treef7a2c3300fa47801d15b3b86ba60244b2bb3dfce /net/wireless/pmsr.c
parentPM: EM: Remove old table (diff)
downloadlinux-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 'net/wireless/pmsr.c')
0 files changed, 0 insertions, 0 deletions