diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/fb_gv11b.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fb_gv11b.c b/drivers/gpu/nvgpu/gv11b/fb_gv11b.c index f47a2fac..9301ebc6 100644 --- a/drivers/gpu/nvgpu/gv11b/fb_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/fb_gv11b.c | |||
@@ -108,7 +108,8 @@ void gv11b_fb_init_cbc(struct gk20a *g, struct gr_gk20a *gr) | |||
108 | u64 compbit_base_post_divide64; | 108 | u64 compbit_base_post_divide64; |
109 | 109 | ||
110 | if (nvgpu_is_enabled(g, NVGPU_IS_FMODEL)) | 110 | if (nvgpu_is_enabled(g, NVGPU_IS_FMODEL)) |
111 | compbit_store_iova = gk20a_mem_phys(&gr->compbit_store.mem); | 111 | compbit_store_iova = nvgpu_mem_get_phys_addr(g, |
112 | &gr->compbit_store.mem); | ||
112 | else | 113 | else |
113 | compbit_store_iova = nvgpu_mem_get_addr(g, | 114 | compbit_store_iova = nvgpu_mem_get_addr(g, |
114 | &gr->compbit_store.mem); | 115 | &gr->compbit_store.mem); |