aboutsummaryrefslogtreecommitdiff
path: root/drivers/nvdimm
diff options
context:
space:
mode:
authorAbel Vesa <abel.vesa@linaro.org>2022-07-20 14:02:46 +0300
committerAbel Vesa <abel.vesa@linaro.org>2022-08-03 15:19:52 +0300
commit127f142bdef236e61a9511f68d3768b68b502ffc (patch)
tree292f04ab5d46954b2c821163c4dc801b3182c8ff /drivers/nvdimm
parent7c5e07b73ff3011c9b82d4a3286a3362b951ad2b (diff)
PM: domains: Reverse the order of performance and enabling opsqcom/pm/reverse_power_on_set_perf
Rather than enabling and then setting the performance state, which usually translates into two different levels (voltages) in order to get to the one required by the consumer, we could give a chance to the providers to cache the performance state needed by the consumer and then, when powering on the power domain, the provider could use the cached level instead. Also the drop_performance and power_off have to be reversed so that when the last active consumer suspends, the level doesn't actually drop until the pd is disabled. For the power domains that do not provide the set_performance, things remain unchanged, as does for the power domains that only provide the set_performance but do not provide the power_on/off. Signed-off-by: Abel Vesa <abel.vesa@linaro.org> Link: https://lore.kernel.org/r/20220720110246.762939-1-abel.vesa@linaro.org
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions