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)
commit6961795f0d0a9c424915b3d73198c18b3dbd5e85
treeba08bdb9f280f3887cc142279bb1345ee3ff6076
parentf38d1a6d002526a4e8840e9bb19733e9d4ce1a67
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