diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/common/mm/mm.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/mm.c b/drivers/gpu/nvgpu/common/mm/mm.c index 1027ed28..cb7c443d 100644 --- a/drivers/gpu/nvgpu/common/mm/mm.c +++ b/drivers/gpu/nvgpu/common/mm/mm.c | |||
@@ -102,14 +102,14 @@ enum gmmu_pgsz_gk20a __get_pte_size(struct vm_gk20a *vm, u64 base, u64 size) | |||
102 | 102 | ||
103 | int nvgpu_mm_suspend(struct gk20a *g) | 103 | int nvgpu_mm_suspend(struct gk20a *g) |
104 | { | 104 | { |
105 | nvgpu_info(g, "MM suspend running..."); | 105 | nvgpu_log_info(g, "MM suspend running..."); |
106 | 106 | ||
107 | nvgpu_vidmem_thread_pause_sync(&g->mm); | 107 | nvgpu_vidmem_thread_pause_sync(&g->mm); |
108 | 108 | ||
109 | g->ops.mm.cbc_clean(g); | 109 | g->ops.mm.cbc_clean(g); |
110 | g->ops.mm.l2_flush(g, false); | 110 | g->ops.mm.l2_flush(g, false); |
111 | 111 | ||
112 | nvgpu_info(g, "MM suspend done!"); | 112 | nvgpu_log_info(g, "MM suspend done!"); |
113 | 113 | ||
114 | return 0; | 114 | return 0; |
115 | } | 115 | } |
@@ -186,7 +186,7 @@ static int nvgpu_init_system_vm(struct mm_gk20a *mm) | |||
186 | aperture_size = GK20A_PMU_VA_SIZE * 2; | 186 | aperture_size = GK20A_PMU_VA_SIZE * 2; |
187 | 187 | ||
188 | mm->pmu.aperture_size = GK20A_PMU_VA_SIZE; | 188 | mm->pmu.aperture_size = GK20A_PMU_VA_SIZE; |
189 | nvgpu_info(g, "pmu vm size = 0x%x", mm->pmu.aperture_size); | 189 | nvgpu_log_info(g, "pmu vm size = 0x%x", mm->pmu.aperture_size); |
190 | 190 | ||
191 | mm->pmu.vm = nvgpu_vm_init(g, big_page_size, | 191 | mm->pmu.vm = nvgpu_vm_init(g, big_page_size, |
192 | low_hole, | 192 | low_hole, |
@@ -305,7 +305,7 @@ static int nvgpu_init_bar1_vm(struct mm_gk20a *mm) | |||
305 | u32 big_page_size = g->ops.mm.get_default_big_page_size(); | 305 | u32 big_page_size = g->ops.mm.get_default_big_page_size(); |
306 | 306 | ||
307 | mm->bar1.aperture_size = bar1_aperture_size_mb_gk20a() << 20; | 307 | mm->bar1.aperture_size = bar1_aperture_size_mb_gk20a() << 20; |
308 | nvgpu_info(g, "bar1 vm size = 0x%x", mm->bar1.aperture_size); | 308 | nvgpu_log_info(g, "bar1 vm size = 0x%x", mm->bar1.aperture_size); |
309 | mm->bar1.vm = nvgpu_vm_init(g, | 309 | mm->bar1.vm = nvgpu_vm_init(g, |
310 | big_page_size, | 310 | big_page_size, |
311 | SZ_4K, | 311 | SZ_4K, |
@@ -334,7 +334,7 @@ static int nvgpu_init_mm_setup_sw(struct gk20a *g) | |||
334 | int err; | 334 | int err; |
335 | 335 | ||
336 | if (mm->sw_ready) { | 336 | if (mm->sw_ready) { |
337 | nvgpu_info(g, "skip init"); | 337 | nvgpu_log_info(g, "skip init"); |
338 | return 0; | 338 | return 0; |
339 | } | 339 | } |
340 | 340 | ||
@@ -346,7 +346,7 @@ static int nvgpu_init_mm_setup_sw(struct gk20a *g) | |||
346 | NV_MM_DEFAULT_KERNEL_SIZE; | 346 | NV_MM_DEFAULT_KERNEL_SIZE; |
347 | mm->channel.kernel_size = NV_MM_DEFAULT_KERNEL_SIZE; | 347 | mm->channel.kernel_size = NV_MM_DEFAULT_KERNEL_SIZE; |
348 | 348 | ||
349 | nvgpu_info(g, "channel vm size: user %dMB kernel %dMB", | 349 | nvgpu_log_info(g, "channel vm size: user %dMB kernel %dMB", |
350 | (int)(mm->channel.user_size >> 20), | 350 | (int)(mm->channel.user_size >> 20), |
351 | (int)(mm->channel.kernel_size >> 20)); | 351 | (int)(mm->channel.kernel_size >> 20)); |
352 | 352 | ||