summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/ltc_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/ltc_gm20b.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
index 9304f90e..dee46aaf 100644
--- a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
@@ -436,7 +436,8 @@ void gm20b_ltc_init_cbc(struct gk20a *g, struct gr_gk20a *gr)
436 u64 compbit_base_post_divide64; 436 u64 compbit_base_post_divide64;
437 437
438 if (nvgpu_is_enabled(g, NVGPU_IS_FMODEL)) 438 if (nvgpu_is_enabled(g, NVGPU_IS_FMODEL))
439 compbit_store_iova = gk20a_mem_phys(&gr->compbit_store.mem); 439 compbit_store_iova = nvgpu_mem_get_phys_addr(g,
440 &gr->compbit_store.mem);
440 else 441 else
441 compbit_store_iova = nvgpu_mem_get_addr(g, 442 compbit_store_iova = nvgpu_mem_get_addr(g,
442 &gr->compbit_store.mem); 443 &gr->compbit_store.mem);