diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/ltc_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/ltc_gm20b.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c index 6fef01ea..74c56487 100644 --- a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c | |||
@@ -401,8 +401,8 @@ void gm20b_ltc_init_cbc(struct gk20a *g, struct gr_gk20a *gr) | |||
401 | if (nvgpu_is_enabled(g, NVGPU_IS_FMODEL)) | 401 | if (nvgpu_is_enabled(g, NVGPU_IS_FMODEL)) |
402 | compbit_store_iova = gk20a_mem_phys(&gr->compbit_store.mem); | 402 | compbit_store_iova = gk20a_mem_phys(&gr->compbit_store.mem); |
403 | else | 403 | else |
404 | compbit_store_iova = g->ops.mm.get_iova_addr(g, | 404 | compbit_store_iova = nvgpu_mem_get_addr(g, |
405 | gr->compbit_store.mem.priv.sgt->sgl, 0); | 405 | &gr->compbit_store.mem); |
406 | 406 | ||
407 | compbit_base_post_divide64 = compbit_store_iova >> | 407 | compbit_base_post_divide64 = compbit_store_iova >> |
408 | ltc_ltcs_ltss_cbc_base_alignment_shift_v(); | 408 | ltc_ltcs_ltss_cbc_base_alignment_shift_v(); |