summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 7506c1dd..a87d34f9 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -420,7 +420,7 @@ int gk20a_init_gpu_characteristics(struct gk20a *g)
420 gpu->bus_type = NVGPU_GPU_BUS_TYPE_AXI; /* always AXI for now */ 420 gpu->bus_type = NVGPU_GPU_BUS_TYPE_AXI; /* always AXI for now */
421 421
422 gpu->compression_page_size = g->ops.fb.compression_page_size(g); 422 gpu->compression_page_size = g->ops.fb.compression_page_size(g);
423 gpu->big_page_size = platform->default_big_page_size; 423 gpu->big_page_size = g->ops.mm.get_default_big_page_size();
424 gpu->pde_coverage_bit_count = 424 gpu->pde_coverage_bit_count =
425 g->ops.mm.get_mmu_levels(g, gpu->big_page_size)[0].lo_bit[0]; 425 g->ops.mm.get_mmu_levels(g, gpu->big_page_size)[0].lo_bit[0];
426 426