diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/mm/gmmu.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/mm/gmmu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/gmmu.c b/drivers/gpu/nvgpu/common/mm/gmmu.c index 55fbcd3f..2abe87c9 100644 --- a/drivers/gpu/nvgpu/common/mm/gmmu.c +++ b/drivers/gpu/nvgpu/common/mm/gmmu.c | |||
@@ -404,8 +404,9 @@ static int __set_pd_level(struct vm_gk20a *vm, | |||
404 | * to be the table of PDEs. When the next level is PTEs the | 404 | * to be the table of PDEs. When the next level is PTEs the |
405 | * target addr is the real physical address we are aiming for. | 405 | * target addr is the real physical address we are aiming for. |
406 | */ | 406 | */ |
407 | target_addr = next_pd ? nvgpu_pde_phys_addr(g, next_pd) : | 407 | target_addr = next_pd ? |
408 | phys_addr; | 408 | nvgpu_pde_phys_addr(g, next_pd) : |
409 | g->ops.mm.gpu_phys_addr(g, attrs, phys_addr); | ||
409 | 410 | ||
410 | l->update_entry(vm, l, | 411 | l->update_entry(vm, l, |
411 | pd, pd_idx, | 412 | pd, pd_idx, |