PM: domains: Trust domain-idle-states from DT to be correct by genpd
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 11 May 2022 14:57:04 +0000 (16:57 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 19 May 2022 18:16:05 +0000 (20:16 +0200)
commitb2a92f354c5a9436f1f4ac8f6485a3ce1c941b29
treed74fbd2140a1f64a4251180f01500335be49e8e8
parent6961795f0d0a9c424915b3d73198c18b3dbd5e85
PM: domains: Trust domain-idle-states from DT to be correct by genpd

If genpd has parsed the domain-idle-states from DT, it's reasonable to
believe that the parsed data should be correct for the HW in question.
Based upon this, it seem superfluous to let genpd measure the corresponding
power-on/off latencies for these states.

Therefore, let's improve the behaviour in genpd by avoiding the
measurements for the domain-idle-states that have been parsed from DT.

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