diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-10-06 20:20:12 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-24 18:16:49 -0400 |
commit | 0899e11d4bb630381607a0c245f72476e2e9209e (patch) | |
tree | 9ac90c2629e30d9c9e3f8c237f45eab6cd9f386f /drivers/gpu/nvgpu/gv11b/css_gr_gv11b.c | |
parent | df4e88a21d51d5e098b66c3094fa91ae633777e5 (diff) |
gpu: nvgpu: Cleanup generic MM code
t19x changes necessary for change in core MM code.
JIRA NVGPU-30
Change-Id: I62f419450c1a33d0826390d7cbb5ad93569f8c89
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1577265
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Martinez Nieto <dmartineznie@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
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) | |