summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/driver_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/driver_common.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/driver_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/driver_common.c b/drivers/gpu/nvgpu/common/linux/driver_common.c
index 53789423..769f7e03 100644
--- a/drivers/gpu/nvgpu/common/linux/driver_common.c
+++ b/drivers/gpu/nvgpu/common/linux/driver_common.c
@@ -87,7 +87,7 @@ static void nvgpu_init_gr_vars(struct gk20a *g)
87{ 87{
88 gk20a_init_gr(g); 88 gk20a_init_gr(g);
89 89
90 gk20a_dbg_info("total ram pages : %lu", totalram_pages); 90 nvgpu_log_info(g, "total ram pages : %lu", totalram_pages);
91 g->gr.max_comptag_mem = totalram_pages 91 g->gr.max_comptag_mem = totalram_pages
92 >> (10 - (PAGE_SHIFT - 10)); 92 >> (10 - (PAGE_SHIFT - 10));
93} 93}