Skip to content

Commit 405f722

Browse files
ilina-linarorafaeljw
authored andcommitted
PM / Domains: Add residency property to genpd states
Residency of a domain's idle state indicates that the minimum idle time for the domain's idle state to be beneficial for power. Add the parameter to the state node. Future patches, will use the residency value in the genpd governor to determine if it is worth while to enter an idle state. Signed-off-by: Lina Iyer <[email protected]> Acked-by: Ulf Hansson <[email protected]> Reviewed-by: Kevin Hilman <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 59d65b7 commit 405f722

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/pm_domain.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ struct gpd_dev_ops {
3838
struct genpd_power_state {
3939
s64 power_off_latency_ns;
4040
s64 power_on_latency_ns;
41+
s64 residency_ns;
4142
};
4243

4344
struct generic_pm_domain {

0 commit comments

Comments
 (0)