summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 0f2b576d..8e7fbae0 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -1210,19 +1210,11 @@ static int gk20a_pm_initialise_domain(struct platform_device *pdev)
1210 struct gk20a_platform *platform = platform_get_drvdata(pdev); 1210 struct gk20a_platform *platform = platform_get_drvdata(pdev);
1211 struct dev_power_governor *pm_domain_gov = NULL; 1211 struct dev_power_governor *pm_domain_gov = NULL;
1212 struct generic_pm_domain *domain = dev_to_genpd(&pdev->dev); 1212 struct generic_pm_domain *domain = dev_to_genpd(&pdev->dev);
1213 struct device *dev = &pdev->dev;
1214 1213
1215#ifdef CONFIG_PM_RUNTIME 1214#ifdef CONFIG_PM_RUNTIME
1216 if (!platform->can_railgate) 1215 if (!platform->can_railgate)
1217 pm_domain_gov = &pm_domain_always_on_gov; 1216 pm_domain_gov = &pm_domain_always_on_gov;
1218#endif 1217#endif
1219 /*
1220 * FIXME: We can remove below assignment once we have clean shutdown
1221 * for gk20a.
1222 */
1223 if (dev->pm_domain)
1224 dev->pm_domain->detach = NULL;
1225
1226 domain->gov = pm_domain_gov; 1218 domain->gov = pm_domain_gov;
1227 1219
1228 if (platform->railgate_delay) 1220 if (platform->railgate_delay)