diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/mm_gp10b.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c index 048a4662..03bab121 100644 --- a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c | |||
@@ -242,7 +242,7 @@ static int update_gmmu_pde0_locked(struct vm_gk20a *vm, | |||
242 | 242 | ||
243 | if (small_valid) { | 243 | if (small_valid) { |
244 | pde_v[2] |= gmmu_new_dual_pde_address_small_sys_f(pte_addr_small); | 244 | pde_v[2] |= gmmu_new_dual_pde_address_small_sys_f(pte_addr_small); |
245 | pde_v[2] |= gk20a_aperture_mask(g, &pte->mem, | 245 | pde_v[2] |= gk20a_aperture_mask(g, &entry->mem, |
246 | gmmu_new_dual_pde_aperture_small_sys_mem_ncoh_f(), | 246 | gmmu_new_dual_pde_aperture_small_sys_mem_ncoh_f(), |
247 | gmmu_new_dual_pde_aperture_small_video_memory_f()); | 247 | gmmu_new_dual_pde_aperture_small_video_memory_f()); |
248 | pde_v[2] |= gmmu_new_dual_pde_vol_small_true_f(); | 248 | pde_v[2] |= gmmu_new_dual_pde_vol_small_true_f(); |
@@ -252,7 +252,7 @@ static int update_gmmu_pde0_locked(struct vm_gk20a *vm, | |||
252 | if (big_valid) { | 252 | if (big_valid) { |
253 | pde_v[0] |= gmmu_new_dual_pde_address_big_sys_f(pte_addr_big); | 253 | pde_v[0] |= gmmu_new_dual_pde_address_big_sys_f(pte_addr_big); |
254 | pde_v[0] |= gmmu_new_dual_pde_vol_big_true_f(); | 254 | pde_v[0] |= gmmu_new_dual_pde_vol_big_true_f(); |
255 | pde_v[0] |= gk20a_aperture_mask(g, &pte->mem, | 255 | pde_v[0] |= gk20a_aperture_mask(g, &entry->mem, |
256 | gmmu_new_dual_pde_aperture_big_sys_mem_ncoh_f(), | 256 | gmmu_new_dual_pde_aperture_big_sys_mem_ncoh_f(), |
257 | gmmu_new_dual_pde_aperture_big_video_memory_f()); | 257 | gmmu_new_dual_pde_aperture_big_video_memory_f()); |
258 | pde_v[1] |= pte_addr_big >> 28; | 258 | pde_v[1] |= pte_addr_big >> 28; |