diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2020-06-16 14:02:21 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-06-18 13:11:08 +0200 |
commit | 8947a515b47903bec7f37a1c66a9022ff5618be0 (patch) | |
tree | 82eaea44d5914d3e714e3ba49a2e180eb06b9d37 /drivers/video | |
parent | ba384df2898841b29d92249c4a55f7927a4b9987 (diff) |
PM / Domains: Add support for genpd on/off notifiers for specific devicescpuidle_psci_to_driver+genpd_onoff_notify
A device may have specific HW constraints that must be obeyed to, before
its corresponding genpd can be powered off - and vice verse for power on.
However, these constraints can't be managed through the regular runtime PM
based deployment for a device, because the access pattern for it, isn't
solely request based.
For these reasons, let's add dev_pm_genpd_add|remove_notifier(), which
should be called with a device that is already being attached to a genpd,
to add/remove a power on/off notifier for it.
Note that, to further clarify when genpd power on/off notifiers should be
used, we can compare with the existing CPU_CLUSTER_PM_ENTER|EXIT notifiers.
In the long run, the genpd power on/off notifiers should be able to replace
these, even if that also requires additional genpd based platform support
for the current users.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions