mirror of https://gitee.com/openkylin/linux.git
1a63fe9a2b
The SCMI protocol can be used to get power estimates from firmware corresponding to each performance state of a device. Although these power costs are already managed by the SCMI firmware driver, they are not exposed to any external subsystem yet. Fix this by adding a new get_power() interface to the exisiting perf_ops defined for the SCMI protocol. Signed-off-by: Quentin Perret <quentin.perret@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> |
||
---|---|---|
.. | ||
Makefile | ||
base.c | ||
bus.c | ||
clock.c | ||
common.h | ||
driver.c | ||
perf.c | ||
power.c | ||
scmi_pm_domain.c | ||
sensors.c |