diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c | 2 |
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 7cda9949..217f0056 100644 --- a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c | |||
@@ -851,7 +851,7 @@ static int gk20a_perfbuf_map(struct dbg_session_gk20a *dbg_s, | |||
851 | gk20a_writel(g, perf_pmasys_outsize_r(), virt_size); | 851 | gk20a_writel(g, perf_pmasys_outsize_r(), virt_size); |
852 | 852 | ||
853 | /* this field is aligned to 4K */ | 853 | /* this field is aligned to 4K */ |
854 | inst_pa_page = g->mm.hwpm.inst_block.cpu_pa >> 12; | 854 | inst_pa_page = gk20a_mem_phys(&g->mm.hwpm.inst_block) >> 12; |
855 | 855 | ||
856 | /* A write to MEM_BLOCK triggers the block bind operation. MEM_BLOCK | 856 | /* A write to MEM_BLOCK triggers the block bind operation. MEM_BLOCK |
857 | * should be written last */ | 857 | * should be written last */ |