diff options
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/ltc_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ltc_common.c b/drivers/gpu/nvgpu/gk20a/ltc_common.c index 7d160efb..55e822f6 100644 --- a/drivers/gpu/nvgpu/gk20a/ltc_common.c +++ b/drivers/gpu/nvgpu/gk20a/ltc_common.c | |||
@@ -242,7 +242,7 @@ static void gk20a_ltc_init_cbc(struct gk20a *g, struct gr_gk20a *gr) | |||
242 | compbit_base_post_divide = u64_lo32(compbit_base_post_divide64); | 242 | compbit_base_post_divide = u64_lo32(compbit_base_post_divide64); |
243 | 243 | ||
244 | compbit_base_post_multiply64 = ((u64)compbit_base_post_divide * | 244 | compbit_base_post_multiply64 = ((u64)compbit_base_post_divide * |
245 | gr->num_fbps) << ltc_ltcs_ltss_cbc_base_alignment_shift_v(); | 245 | g->ltc_count) << ltc_ltcs_ltss_cbc_base_alignment_shift_v(); |
246 | 246 | ||
247 | if (compbit_base_post_multiply64 < compbit_store_base_iova) | 247 | if (compbit_base_post_multiply64 < compbit_store_base_iova) |
248 | compbit_base_post_divide++; | 248 | compbit_base_post_divide++; |