arm: tegra: Add chain-b as sub-domain to chain-a
Prashant Gaikwad [Tue, 19 Mar 2013 09:36:44 +0000 (14:36 +0530)]
During suspend process 3d modules are suspended before host1x
module which turns off chain-a domain before chain-b. But host1x
is still waiting for syc point update from 3d module.

Bug 1253372

Change-Id: Ie13027ef996f7af4d051ba1d2d53330d474a2cc4
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/210739
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Prashant Malani <pmalani@nvidia.com>
Tested-by: Prashant Malani <pmalani@nvidia.com>

arch/arm/mach-tegra/pm_domains.c

index 2ffe346..4d8a913 100644 (file)
@@ -200,7 +200,7 @@ static int __init tegra_init_pm_domain(void)
 
        tegra_mc_chain_b.clk = clk_get_sys("mc_cbpa", "mc_cbpa");
        pm_genpd_init(&tegra_mc_chain_b.gpd, &simple_qos_governor, false);
-       tegra_pd_add_sd(&tegra_mc_clk, &tegra_mc_chain_b.gpd);
+       tegra_pd_add_sd(&tegra_mc_chain_a, &tegra_mc_chain_b.gpd);
 
        return 0;
 }