diff options
| author | Ulf Hansson <[email protected]> | 2025-09-09 11:11:22 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2025-09-11 10:36:43 +0000 |
| commit | 36bbaec460db0fb2f6d2641470b4a6f3891a492a (patch) | |
| tree | 22454b7455613298e3f5dd67c034d76eba4c85da /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | pmdomain: rockchip: Fix regulator dependency with GENPD_FLAG_NO_STAY_ON (diff) | |
| download | kernel-36bbaec460db0fb2f6d2641470b4a6f3891a492a.tar.gz kernel-36bbaec460db0fb2f6d2641470b4a6f3891a492a.zip | |
pmdomain: renesas: rcar-sysc: Don't keep unused PM domains powered-on
The recent changes to genpd makes a genpd OF provider that is powered-on at
initialization to stay powered-on, until the ->sync_state() callback is
invoked for it.
This may not happen at all, if we wait for a consumer device to be probed,
leading to wasting energy. There are ways to enforce the ->sync_state()
callback to be invoked, through sysfs or via the probe-defer-timeout, but
none of them in its current form are a good fit for rcar-sysc PM domains.
Let's therefore opt-out from this behaviour of genpd for now, by using the
GENPD_FLAG_NO_STAY_ON.
Link: https://lore.kernel.org/all/[email protected]/
Reported-by: Geert Uytterhoeven <[email protected]>
Fixes: 0e789b491ba0 ("pmdomain: core: Leave powered-on genpds on until sync_state")
Fixes: 13a4b7fb6260 ("pmdomain: core: Leave powered-on genpds on until late_initcall_sync")
Reviewed-by: Geert Uytterhoeven <[email protected]>
Tested-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
