summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2025-11-21 14:10:03 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-07 06:27:37 +0900
commit77d8281433ca74d93382640e4d759f80434c7971 (patch)
tree0eaf0a9c46eb83faa86f34c457e625744c75b816 /drivers
parentcef910cef13b1aa1cf7af02dc204e7f7baaf2896 (diff)
downloadlinux-77d8281433ca74d93382640e4d759f80434c7971.tar.gz
linux-77d8281433ca74d93382640e4d759f80434c7971.tar.bz2
linux-77d8281433ca74d93382640e4d759f80434c7971.zip
pmdomain: tegra: Add GENPD_FLAG_NO_STAY_ON flag
commit c98c99d5dbdf9fb0063650594edfd7d49b5f4e29 upstream. Commit 13a4b7fb6260 ("pmdomain: core: Leave powered-on genpds on until late_initcall_sync") kept power-domains on longer during boot which is causing some GPU related tests to fail on Tegra234. While this is being investigated, add the flag GENPD_FLAG_NO_STAY_ON for Tegra devices to restore the previous behaviour to fix this. Fixes: 13a4b7fb6260 ("pmdomain: core: Leave powered-on genpds on until late_initcall_sync") Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Cc: stable@vger.kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pmdomain/tegra/powergate-bpmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pmdomain/tegra/powergate-bpmp.c b/drivers/pmdomain/tegra/powergate-bpmp.c
index b0138ca9f851..9f4366250bfd 100644
--- a/drivers/pmdomain/tegra/powergate-bpmp.c
+++ b/drivers/pmdomain/tegra/powergate-bpmp.c
@@ -184,6 +184,7 @@ tegra_powergate_add(struct tegra_bpmp *bpmp,
powergate->genpd.name = kstrdup(info->name, GFP_KERNEL);
powergate->genpd.power_on = tegra_powergate_power_on;
powergate->genpd.power_off = tegra_powergate_power_off;
+ powergate->genpd.flags = GENPD_FLAG_NO_STAY_ON;
err = pm_genpd_init(&powergate->genpd, NULL, off);
if (err < 0) {