summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b')
-rw-r--r--drivers/gpu/nvgpu/gp10b/mm_gp10b.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
index 54772d42..e313b928 100644
--- a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
@@ -288,12 +288,8 @@ static enum gmmu_pgsz_gk20a gp10b_get_pde0_pgsz(struct gk20a *g,
288 if (!pd->mem) 288 if (!pd->mem)
289 return pgsz; 289 return pgsz;
290 290
291 if (nvgpu_mem_begin(g, pd->mem))
292 return pgsz;
293
294 for (i = 0; i < GP10B_PDE0_ENTRY_SIZE >> 2; i++) 291 for (i = 0; i < GP10B_PDE0_ENTRY_SIZE >> 2; i++)
295 pde_v[i] = nvgpu_mem_rd32(g, pd->mem, pde_offset + i); 292 pde_v[i] = nvgpu_mem_rd32(g, pd->mem, pde_offset + i);
296 nvgpu_mem_end(g, pd->mem);
297 293
298 /* 294 /*
299 * Check if the aperture AND address are set 295 * Check if the aperture AND address are set