Skip to content

Commit c98c99d

Browse files
jonhunterstorulf
authored andcommitted
pmdomain: tegra: Add GENPD_FLAG_NO_STAY_ON flag
Commit 13a4b7f ("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: 13a4b7f ("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>
1 parent c1bac49 commit c98c99d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/pmdomain/tegra/powergate-bpmp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ tegra_powergate_add(struct tegra_bpmp *bpmp,
184184
powergate->genpd.name = kstrdup(info->name, GFP_KERNEL);
185185
powergate->genpd.power_on = tegra_powergate_power_on;
186186
powergate->genpd.power_off = tegra_powergate_power_off;
187+
powergate->genpd.flags = GENPD_FLAG_NO_STAY_ON;
187188

188189
err = pm_genpd_init(&powergate->genpd, NULL, off);
189190
if (err < 0) {

0 commit comments

Comments
 (0)