mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
pmdomain: tegra: Add GENPD_FLAG_NO_STAY_ON flag
Commit13a4b7fb62("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:13a4b7fb62("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>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user