aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2025-09-09 11:11:21 +0000
committerUlf Hansson <[email protected]>2025-09-11 10:36:34 +0000
commit2bc12a8199a0f954d003faa4ad8d100a0b19d85a (patch)
tree2c7cb1c13c78575c7e537733d95ac9baf2ddbb08 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentpmdomain: core: Restore behaviour for disabling unused PM domains (diff)
downloadkernel-2bc12a8199a0f954d003faa4ad8d100a0b19d85a.tar.gz
kernel-2bc12a8199a0f954d003faa4ad8d100a0b19d85a.zip
pmdomain: rockchip: Fix regulator dependency with GENPD_FLAG_NO_STAY_ON
The deferred regulator retrieval for Rockchip PM domains are causing some weird dependencies. More precisely, if the power-domain is powered-on from the HW perspective, its corresponding regulator must not be powered-off via regulator_init_complete(), which is a late_initcall_sync. Even on platforms that don't have the domain-supply regulator specified for the power-domain provider, may suffer from these problems. More precisely, things just happen to work before, because genpd_power_off_unused() (also a late_initcall_sync) managed to power-off the PM domain before regulator_init_complete() powered-off the regulator. Ideally this fragile dependency must be fixed properly for the Rockchip PM domains, but until then, let's fallback to the previous behaviour by using the GENPD_FLAG_NO_STAY_ON flag. Link: https://lore.kernel.org/all/20250902-rk3576-lockup-regression-v1-1-c4a0c9daeb00@collabora.com/ Reported-by: Nicolas Frattaroli <[email protected]> Cc: Heiko Stuebner <[email protected]> Cc: Sebastian Reichel <[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") Tested-by: Nicolas Frattaroli <[email protected]> Tested-by: Heiko Stuebner <[email protected]> Acked-by: Heiko Stuebner <[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