diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c index a4b7fe18..e9530844 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c | |||
@@ -170,7 +170,7 @@ static void gk20a_tegra_postscale(struct platform_device *pdev, | |||
170 | struct gk20a_emc_params *emc_params = profile->private_data; | 170 | struct gk20a_emc_params *emc_params = profile->private_data; |
171 | struct gk20a *g = get_gk20a(pdev); | 171 | struct gk20a *g = get_gk20a(pdev); |
172 | 172 | ||
173 | long after = gk20a_clk_get_rate(g); | 173 | long after = clk_get_rate(g->clk.tegra_clk); |
174 | long emc_target = gk20a_tegra_get_emc_rate(g, emc_params, after); | 174 | long emc_target = gk20a_tegra_get_emc_rate(g, emc_params, after); |
175 | 175 | ||
176 | clk_set_rate(platform->clk[2], emc_target); | 176 | clk_set_rate(platform->clk[2], emc_target); |
@@ -188,7 +188,7 @@ static void gk20a_tegra_prescale(struct platform_device *pdev) | |||
188 | u32 avg = 0; | 188 | u32 avg = 0; |
189 | 189 | ||
190 | gk20a_pmu_load_norm(g, &avg); | 190 | gk20a_pmu_load_norm(g, &avg); |
191 | tegra_edp_notify_gpu_load(avg, gk20a_clk_get_rate(g)); | 191 | tegra_edp_notify_gpu_load(avg, clk_get_rate(g->clk.tegra_clk)); |
192 | } | 192 | } |
193 | 193 | ||
194 | /* | 194 | /* |