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 77806a5e..9fe1729f 100644 --- a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c | |||
@@ -573,7 +573,7 @@ static int dbg_set_powergate(struct dbg_session_gk20a *dbg_s, | |||
573 | 573 | ||
574 | gk20a_dbg(gpu_dbg_gpu_dbg | gpu_dbg_fn, "module busy"); | 574 | gk20a_dbg(gpu_dbg_gpu_dbg | gpu_dbg_fn, "module busy"); |
575 | gk20a_busy(g->dev); | 575 | gk20a_busy(g->dev); |
576 | err = gk20a_busy(dbg_s->pdev); | 576 | err = gk20a_channel_busy(dbg_s->pdev); |
577 | if (err) | 577 | if (err) |
578 | return -EPERM; | 578 | return -EPERM; |
579 | 579 | ||
@@ -618,7 +618,7 @@ static int dbg_set_powergate(struct dbg_session_gk20a *dbg_s, | |||
618 | gk20a_pmu_enable_elpg(g); | 618 | gk20a_pmu_enable_elpg(g); |
619 | 619 | ||
620 | gk20a_dbg(gpu_dbg_gpu_dbg | gpu_dbg_fn, "module idle"); | 620 | gk20a_dbg(gpu_dbg_gpu_dbg | gpu_dbg_fn, "module idle"); |
621 | gk20a_idle(dbg_s->pdev); | 621 | gk20a_channel_idle(dbg_s->pdev); |
622 | gk20a_idle(g->dev); | 622 | gk20a_idle(g->dev); |
623 | } | 623 | } |
624 | 624 | ||