diff options
author | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 16:35:34 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 22:17:41 -0400 |
commit | 75b50e8588da4c1b7da0963145c5b8bb8c077eb5 (patch) | |
tree | 46fe1f4dc9698d3670c1cc17798fa8c16cbfebb5 /drivers/gpu | |
parent | 029ccf28ec41a3689f0f405cf41547a50334b044 (diff) |
HACK: Disable genpd_pm_subdomain_attach
Upstream doesn't keep track of the DT node in the genpd struct anymore.
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index a6f56763..f3a333f3 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -1599,9 +1599,13 @@ static int _gk20a_init_domain(struct device_node *np, | |||
1599 | #endif | 1599 | #endif |
1600 | 1600 | ||
1601 | of_genpd_add_provider_simple(np, gpd); | 1601 | of_genpd_add_provider_simple(np, gpd); |
1602 | |||
1603 | #warning genpd_pm_subdomain_attach does not work with upstream | ||
1604 | #if 0 | ||
1602 | gpd->of_node = of_node_get(np); | 1605 | gpd->of_node = of_node_get(np); |
1603 | 1606 | ||
1604 | genpd_pm_subdomain_attach(gpd); | 1607 | genpd_pm_subdomain_attach(gpd); |
1608 | #endif | ||
1605 | return 0; | 1609 | return 0; |
1606 | } | 1610 | } |
1607 | 1611 | ||