]> git.baikalelectronics.ru Git - kernel.git/commit
PM: domains: Measure power-on/off latencies in genpd based on a governor
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 11 May 2022 14:57:03 +0000 (16:57 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 19 May 2022 18:16:05 +0000 (20:16 +0200)
commit6cc89ad6550c04b512ab848727c3d3377aca146a
treeba08bdb9f280f3887cc142279bb1345ee3ff6076
parent91095bdae26d5f76eaf3742f7e77a8580d81d035
PM: domains: Measure power-on/off latencies in genpd based on a governor

The measurements of the power-on|off latencies in genpd for a PM domain are
superfluous, unless the corresponding genpd has a governor assigned to it,
which would make use of the data.

Therefore, let's improve the behaviour in genpd by making the measurements
conditional, based upon if there's a governor assigned.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c