summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 65197aca..7506c1dd 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -137,9 +137,6 @@ int gk20a_prepare_poweroff(struct gk20a *g)
137 ret |= gk20a_mm_suspend(g); 137 ret |= gk20a_mm_suspend(g);
138 ret |= gk20a_fifo_suspend(g); 138 ret |= gk20a_fifo_suspend(g);
139 139
140 if (g->ops.clk.mclk_deinit)
141 g->ops.clk.mclk_deinit(g);
142
143 /* Disable GPCPLL */ 140 /* Disable GPCPLL */
144 if (g->ops.clk.suspend_clk_support) 141 if (g->ops.clk.suspend_clk_support)
145 ret |= g->ops.clk.suspend_clk_support(g); 142 ret |= g->ops.clk.suspend_clk_support(g);
@@ -273,14 +270,6 @@ int gk20a_finalize_poweron(struct gk20a *g)
273 goto done; 270 goto done;
274 } 271 }
275 272
276 if (g->ops.clk.mclk_init) {
277 err = g->ops.clk.mclk_init(g);
278 if (err) {
279 nvgpu_err(g, "failed to set mclk");
280 /* Indicate error dont goto done */
281 }
282 }
283
284#ifdef CONFIG_ARCH_TEGRA_18x_SOC 273#ifdef CONFIG_ARCH_TEGRA_18x_SOC
285 if (g->ops.pmupstate) { 274 if (g->ops.pmupstate) {
286 err = gk20a_init_pstate_pmu_support(g); 275 err = gk20a_init_pstate_pmu_support(g);