diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/css_gr_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/css_gr_gv11b.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/css_gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/css_gr_gv11b.c index 6afd92fa..bf3383fd 100644 --- a/drivers/gpu/nvgpu/gv11b/css_gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/css_gr_gv11b.c | |||
@@ -135,8 +135,7 @@ int gv11b_css_hw_enable_snapshot(struct channel_gk20a *ch, | |||
135 | gk20a_writel(g, perf_pmasys_outsize_r(), snapshot_size); | 135 | gk20a_writel(g, perf_pmasys_outsize_r(), snapshot_size); |
136 | 136 | ||
137 | /* this field is aligned to 4K */ | 137 | /* this field is aligned to 4K */ |
138 | inst_pa_page = gk20a_mm_inst_block_addr(g, | 138 | inst_pa_page = nvgpu_inst_block_addr(g, &g->mm.hwpm.inst_block) >> 12; |
139 | &g->mm.hwpm.inst_block) >> 12; | ||
140 | 139 | ||
141 | gk20a_writel(g, perf_pmasys_mem_block_r(), | 140 | gk20a_writel(g, perf_pmasys_mem_block_r(), |
142 | perf_pmasys_mem_block_base_f(inst_pa_page) | | 141 | perf_pmasys_mem_block_base_f(inst_pa_page) | |