summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/mm_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/mm_gp10b.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
index a0e08437..7036ca15 100644
--- a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
@@ -286,8 +286,9 @@ static enum gmmu_pgsz_gk20a gp10b_get_pde0_pgsz(struct gk20a *g,
286 if (!pd->mem) 286 if (!pd->mem)
287 return pgsz; 287 return pgsz;
288 288
289 for (i = 0; i < GP10B_PDE0_ENTRY_SIZE >> 2; i++) 289 for (i = 0; i < GP10B_PDE0_ENTRY_SIZE >> 2; i++) {
290 pde_v[i] = nvgpu_mem_rd32(g, pd->mem, pde_offset + i); 290 pde_v[i] = nvgpu_mem_rd32(g, pd->mem, pde_offset + i);
291 }
291 292
292 /* 293 /*
293 * Check if the aperture AND address are set 294 * Check if the aperture AND address are set