Message ID | 1475699519-109623-3-git-send-email-lina.iyer@linaro.org |
---|---|
State | Superseded |
Headers | show |
On 5 October 2016 at 22:31, Lina Iyer <lina.iyer@linaro.org> wrote: > 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 <lina.iyer@linaro.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Kind regards Uffe > --- > include/linux/pm_domain.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h > index bd1ffb9..c113713 100644 > --- a/include/linux/pm_domain.h > +++ b/include/linux/pm_domain.h > @@ -38,6 +38,7 @@ struct gpd_dev_ops { > struct genpd_power_state { > s64 power_off_latency_ns; > s64 power_on_latency_ns; > + s64 residency_ns; > }; > > struct generic_pm_domain { > -- > 2.7.4 > -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h index bd1ffb9..c113713 100644 --- a/include/linux/pm_domain.h +++ b/include/linux/pm_domain.h @@ -38,6 +38,7 @@ struct gpd_dev_ops { struct genpd_power_state { s64 power_off_latency_ns; s64 power_on_latency_ns; + s64 residency_ns; }; struct generic_pm_domain {
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 <lina.iyer@linaro.org> --- include/linux/pm_domain.h | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html