diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/mm/gmmu.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/mm/gmmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/gmmu.c b/drivers/gpu/nvgpu/common/mm/gmmu.c index f68dfc0a..ab9d0d41 100644 --- a/drivers/gpu/nvgpu/common/mm/gmmu.c +++ b/drivers/gpu/nvgpu/common/mm/gmmu.c | |||
@@ -212,7 +212,7 @@ u64 nvgpu_pde_phys_addr(struct gk20a *g, struct nvgpu_gmmu_pd *pd) | |||
212 | u64 page_addr; | 212 | u64 page_addr; |
213 | 213 | ||
214 | if (g->mm.has_physical_mode) | 214 | if (g->mm.has_physical_mode) |
215 | page_addr = sg_phys(pd->mem->priv.sgt->sgl); | 215 | page_addr = nvgpu_mem_get_phys_addr(g, pd->mem); |
216 | else | 216 | else |
217 | page_addr = nvgpu_mem_get_addr(g, pd->mem); | 217 | page_addr = nvgpu_mem_get_addr(g, pd->mem); |
218 | 218 | ||