diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/mclk_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/mclk_gp106.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp106/mclk_gp106.c b/drivers/gpu/nvgpu/gp106/mclk_gp106.c index bfb66e6e..074aec92 100644 --- a/drivers/gpu/nvgpu/gp106/mclk_gp106.c +++ b/drivers/gpu/nvgpu/gp106/mclk_gp106.c | |||
@@ -3353,7 +3353,7 @@ int gp106_mclk_change(struct gk20a *g, u16 val) | |||
3353 | pseq_cmd->cmd_type = NV_PMU_SEQ_CMD_ID_RUN_SCRIPT; | 3353 | pseq_cmd->cmd_type = NV_PMU_SEQ_CMD_ID_RUN_SCRIPT; |
3354 | 3354 | ||
3355 | #ifdef CONFIG_DEBUG_FS | 3355 | #ifdef CONFIG_DEBUG_FS |
3356 | g->ops.bus.read_ptimer(g, &t0); | 3356 | g->ops.ptimer.read_ptimer(g, &t0); |
3357 | #endif | 3357 | #endif |
3358 | 3358 | ||
3359 | if (speed == GP106_MCLK_HIGH_SPEED) { | 3359 | if (speed == GP106_MCLK_HIGH_SPEED) { |
@@ -3402,7 +3402,7 @@ int gp106_mclk_change(struct gk20a *g, u16 val) | |||
3402 | mclk->speed = speed; | 3402 | mclk->speed = speed; |
3403 | 3403 | ||
3404 | #ifdef CONFIG_DEBUG_FS | 3404 | #ifdef CONFIG_DEBUG_FS |
3405 | g->ops.bus.read_ptimer(g, &t1); | 3405 | g->ops.ptimer.read_ptimer(g, &t1); |
3406 | 3406 | ||
3407 | nvgpu_mutex_acquire(&mclk->data_lock); | 3407 | nvgpu_mutex_acquire(&mclk->data_lock); |
3408 | mclk->switch_num++; | 3408 | mclk->switch_num++; |