diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ltc_common.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/ltc_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ltc_common.c b/drivers/gpu/nvgpu/gk20a/ltc_common.c index e0ab3f9b..badf640e 100644 --- a/drivers/gpu/nvgpu/gk20a/ltc_common.c +++ b/drivers/gpu/nvgpu/gk20a/ltc_common.c | |||
@@ -189,9 +189,9 @@ static void gk20a_ltc_init_cbc(struct gk20a *g, struct gr_gk20a *gr) | |||
189 | compbit_base_post_divide++; | 189 | compbit_base_post_divide++; |
190 | 190 | ||
191 | /* Bug 1477079 indicates sw adjustment on the posted divided base. */ | 191 | /* Bug 1477079 indicates sw adjustment on the posted divided base. */ |
192 | if (g->ops.ltc.cbc_fix_config) | 192 | if (g->ops.ltc->cbc_fix_config) |
193 | compbit_base_post_divide = | 193 | compbit_base_post_divide = |
194 | g->ops.ltc.cbc_fix_config(g, compbit_base_post_divide); | 194 | g->ops.ltc->cbc_fix_config(g, compbit_base_post_divide); |
195 | 195 | ||
196 | gk20a_writel(g, ltc_ltcs_ltss_cbc_base_r(), | 196 | gk20a_writel(g, ltc_ltcs_ltss_cbc_base_r(), |
197 | compbit_base_post_divide); | 197 | compbit_base_post_divide); |
@@ -204,7 +204,7 @@ static void gk20a_ltc_init_cbc(struct gk20a *g, struct gr_gk20a *gr) | |||
204 | 204 | ||
205 | gr->compbit_store.base_hw = compbit_base_post_divide; | 205 | gr->compbit_store.base_hw = compbit_base_post_divide; |
206 | 206 | ||
207 | g->ops.ltc.cbc_ctrl(g, gk20a_cbc_op_invalidate, | 207 | g->ops.ltc->cbc_ctrl(g, gk20a_cbc_op_invalidate, |
208 | 0, max_comptag_lines - 1); | 208 | 0, max_comptag_lines - 1); |
209 | 209 | ||
210 | } | 210 | } |