diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c b/drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c index 2fdfc8f4..a02c2ddd 100644 --- a/drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c | |||
@@ -58,8 +58,7 @@ int gv11b_perfbuf_enable_locked(struct gk20a *g, u64 offset, u32 size) | |||
58 | gk20a_writel(g, perf_pmasys_outsize_r(), size); | 58 | gk20a_writel(g, perf_pmasys_outsize_r(), size); |
59 | 59 | ||
60 | /* this field is aligned to 4K */ | 60 | /* this field is aligned to 4K */ |
61 | inst_pa_page = gk20a_mm_inst_block_addr(g, | 61 | inst_pa_page = nvgpu_inst_block_addr(g, &mm->perfbuf.inst_block) >> 12; |
62 | &mm->perfbuf.inst_block) >> 12; | ||
63 | 62 | ||
64 | gk20a_writel(g, perf_pmasys_mem_block_r(), | 63 | gk20a_writel(g, perf_pmasys_mem_block_r(), |
65 | perf_pmasys_mem_block_base_f(inst_pa_page) | | 64 | perf_pmasys_mem_block_base_f(inst_pa_page) | |