diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c index bc5dc4c1..ed07d9ca 100644 --- a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c | |||
@@ -555,7 +555,7 @@ static int dbg_set_powergate(struct dbg_session_gk20a *dbg_s, | |||
555 | 555 | ||
556 | gk20a_dbg(gpu_dbg_gpu_dbg | gpu_dbg_fn, "module busy"); | 556 | gk20a_dbg(gpu_dbg_gpu_dbg | gpu_dbg_fn, "module busy"); |
557 | gk20a_busy(g->dev); | 557 | gk20a_busy(g->dev); |
558 | err = gk20a_channel_busy(dbg_s->pdev); | 558 | err = gk20a_busy(dbg_s->pdev); |
559 | if (err) | 559 | if (err) |
560 | return -EPERM; | 560 | return -EPERM; |
561 | 561 | ||
@@ -600,7 +600,7 @@ static int dbg_set_powergate(struct dbg_session_gk20a *dbg_s, | |||
600 | gk20a_pmu_enable_elpg(g); | 600 | gk20a_pmu_enable_elpg(g); |
601 | 601 | ||
602 | gk20a_dbg(gpu_dbg_gpu_dbg | gpu_dbg_fn, "module idle"); | 602 | gk20a_dbg(gpu_dbg_gpu_dbg | gpu_dbg_fn, "module idle"); |
603 | gk20a_channel_idle(dbg_s->pdev); | 603 | gk20a_idle(dbg_s->pdev); |
604 | gk20a_idle(g->dev); | 604 | gk20a_idle(g->dev); |
605 | } | 605 | } |
606 | 606 | ||