summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c
index 309fe75a..95957788 100644
--- a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c
@@ -1046,7 +1046,7 @@ static int gk20a_perfbuf_map(struct dbg_session_gk20a *dbg_s,
1046 gk20a_writel(g, perf_pmasys_outsize_r(), virt_size); 1046 gk20a_writel(g, perf_pmasys_outsize_r(), virt_size);
1047 1047
1048 /* this field is aligned to 4K */ 1048 /* this field is aligned to 4K */
1049 inst_pa_page = gk20a_mem_phys(&g->mm.hwpm.inst_block) >> 12; 1049 inst_pa_page = gk20a_mm_inst_block_addr(g, &g->mm.hwpm.inst_block) >> 12;
1050 1050
1051 /* A write to MEM_BLOCK triggers the block bind operation. MEM_BLOCK 1051 /* A write to MEM_BLOCK triggers the block bind operation. MEM_BLOCK
1052 * should be written last */ 1052 * should be written last */