diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index d66e46b8..bf4a8f57 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |||
@@ -1292,7 +1292,10 @@ static int gk20a_zalloc_gmmu_page_table(struct vm_gk20a *vm, | |||
1292 | 1292 | ||
1293 | err = alloc_gmmu_pages(vm, order, entry); | 1293 | err = alloc_gmmu_pages(vm, order, entry); |
1294 | gk20a_dbg(gpu_dbg_pte, "entry = 0x%p, addr=%08llx, size %d", | 1294 | gk20a_dbg(gpu_dbg_pte, "entry = 0x%p, addr=%08llx, size %d", |
1295 | entry, g->ops.mm.get_iova_addr(g, entry->mem.sgt->sgl, 0), | 1295 | entry, |
1296 | entry->mem.sgt ? | ||
1297 | g->ops.mm.get_iova_addr(g, entry->mem.sgt->sgl, 0) | ||
1298 | : 0, | ||
1296 | order); | 1299 | order); |
1297 | if (err) | 1300 | if (err) |
1298 | return err; | 1301 | return err; |