summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/acr_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/acr_gm20b.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
index ed144c0f..2d932b67 100644
--- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
@@ -13,7 +13,6 @@
13 13
14#include <linux/delay.h> /* for mdelay */ 14#include <linux/delay.h> /* for mdelay */
15#include <linux/firmware.h> 15#include <linux/firmware.h>
16#include <linux/clk.h>
17#include <linux/module.h> 16#include <linux/module.h>
18#include <linux/debugfs.h> 17#include <linux/debugfs.h>
19#include <linux/dma-mapping.h> 18#include <linux/dma-mapping.h>
@@ -1317,7 +1316,6 @@ static int gm20b_init_pmu_setup_hw1(struct gk20a *g,
1317 1316
1318 struct pmu_gk20a *pmu = &g->pmu; 1317 struct pmu_gk20a *pmu = &g->pmu;
1319 int err; 1318 int err;
1320 struct gk20a_platform *platform = dev_get_drvdata(g->dev);
1321 1319
1322 gk20a_dbg_fn(""); 1320 gk20a_dbg_fn("");
1323 1321
@@ -1345,7 +1343,7 @@ static int gm20b_init_pmu_setup_hw1(struct gk20a *g,
1345 1343
1346 /*Copying pmu cmdline args*/ 1344 /*Copying pmu cmdline args*/
1347 g->ops.pmu_ver.set_pmu_cmdline_args_cpu_freq(pmu, 1345 g->ops.pmu_ver.set_pmu_cmdline_args_cpu_freq(pmu,
1348 clk_get_rate(platform->clk[1])); 1346 g->ops.clk.get_rate(g, CTRL_CLK_DOMAIN_PWRCLK));
1349 g->ops.pmu_ver.set_pmu_cmdline_args_secure_mode(pmu, 1); 1347 g->ops.pmu_ver.set_pmu_cmdline_args_secure_mode(pmu, 1);
1350 g->ops.pmu_ver.set_pmu_cmdline_args_trace_size( 1348 g->ops.pmu_ver.set_pmu_cmdline_args_trace_size(
1351 pmu, GK20A_PMU_TRACE_BUFSIZE); 1349 pmu, GK20A_PMU_TRACE_BUFSIZE);