diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/mm_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/mm_gp10b.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c index 6b140c92..9fde6147 100644 --- a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c | |||
@@ -29,8 +29,8 @@ u32 gp10b_mm_get_physical_addr_bits(struct gk20a *g) | |||
29 | static int gp10b_init_mm_setup_hw(struct gk20a *g) | 29 | static int gp10b_init_mm_setup_hw(struct gk20a *g) |
30 | { | 30 | { |
31 | struct mm_gk20a *mm = &g->mm; | 31 | struct mm_gk20a *mm = &g->mm; |
32 | struct inst_desc *inst_block = &mm->bar1.inst_block; | 32 | struct mem_desc *inst_block = &mm->bar1.inst_block; |
33 | phys_addr_t inst_pa = inst_block->cpu_pa; | 33 | phys_addr_t inst_pa = gk20a_mem_phys(inst_block); |
34 | int err = 0; | 34 | int err = 0; |
35 | 35 | ||
36 | gk20a_dbg_fn(""); | 36 | gk20a_dbg_fn(""); |
@@ -66,7 +66,7 @@ static int gb10b_init_bar2_vm(struct gk20a *g) | |||
66 | int err; | 66 | int err; |
67 | struct mm_gk20a *mm = &g->mm; | 67 | struct mm_gk20a *mm = &g->mm; |
68 | struct vm_gk20a *vm = &mm->bar2.vm; | 68 | struct vm_gk20a *vm = &mm->bar2.vm; |
69 | struct inst_desc *inst_block = &mm->bar2.inst_block; | 69 | struct mem_desc *inst_block = &mm->bar2.inst_block; |
70 | u32 big_page_size = gk20a_get_platform(g->dev)->default_big_page_size; | 70 | u32 big_page_size = gk20a_get_platform(g->dev)->default_big_page_size; |
71 | 71 | ||
72 | /* BAR2 aperture size is 32MB */ | 72 | /* BAR2 aperture size is 32MB */ |
@@ -93,8 +93,8 @@ clean_up_va: | |||
93 | static int gb10b_init_bar2_mm_hw_setup(struct gk20a *g) | 93 | static int gb10b_init_bar2_mm_hw_setup(struct gk20a *g) |
94 | { | 94 | { |
95 | struct mm_gk20a *mm = &g->mm; | 95 | struct mm_gk20a *mm = &g->mm; |
96 | struct inst_desc *inst_block = &mm->bar2.inst_block; | 96 | struct mem_desc *inst_block = &mm->bar2.inst_block; |
97 | phys_addr_t inst_pa = inst_block->cpu_pa; | 97 | phys_addr_t inst_pa = gk20a_mem_phys(inst_block); |
98 | 98 | ||
99 | gk20a_dbg_fn(""); | 99 | gk20a_dbg_fn(""); |
100 | 100 | ||