diff options
author | Lukasz Luba <lukasz.luba@arm.com> | 2022-03-21 09:57:24 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-04-13 16:26:17 +0200 |
commit | 91362463114eb63ead5f02c11d58c46064c339e7 (patch) | |
tree | 74b592707a89decd564cc2a6d91c5b63421662a2 /include/linux/fpga/fpga-mgr.h | |
parent | fc3a9a9858478ab5f8441765a3f9552a0ceba10c (diff) |
PM: EM: Use the new .get_cost() callback while registering EM
The Energy Model (EM) allows to provide the 'cost' values when the device
driver provides the .get_cost() optional callback. This removes
restriction which is in the EM calculation function of the 'cost'
for each performance state. Now, the driver is in charge of providing
the right values which are then used by Energy Aware Scheduler.
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Reviewed-by: Ionela Voinescu <ionela.voinescu@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions