]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
PM: domains: Measure suspend/resume latencies in genpd based on governor
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 11 May 2022 14:56:58 +0000 (16:56 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 19 May 2022 18:16:05 +0000 (20:16 +0200)
commit3b84bf3ce94dea82a9451a4c9c2cda37e334333c
tree25d69ce974a373ae2d8d10c14c5d677acbea5fcc
parent9c74f2ac4801473d03b0e29fab74eb94a9944521
PM: domains: Measure suspend/resume latencies in genpd based on governor

The QoS latency measurements for devices in genpd_runtime_suspend|resume()
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