diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index 68ac8f51..9e43941d 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -280,7 +280,7 @@ static int gr_gv11b_handle_lrf_exception(struct gk20a *g, u32 gpc, u32 tpc, | |||
280 | lrf_corrected_err_count_delta += | 280 | lrf_corrected_err_count_delta += |
281 | (is_lrf_ecc_corrected_total_err_overflow << | 281 | (is_lrf_ecc_corrected_total_err_overflow << |
282 | gr_pri_gpc0_tpc0_sm_lrf_ecc_corrected_err_count_total_s()); | 282 | gr_pri_gpc0_tpc0_sm_lrf_ecc_corrected_err_count_total_s()); |
283 | g->ecc.gr.t18x.sm_lrf_single_err_count.counters[tpc] += | 283 | g->ecc.gr.sm_lrf_single_err_count.counters[tpc] += |
284 | lrf_corrected_err_count_delta; | 284 | lrf_corrected_err_count_delta; |
285 | gk20a_writel(g, | 285 | gk20a_writel(g, |
286 | gr_pri_gpc0_tpc0_sm_lrf_ecc_corrected_err_count_r() + offset, | 286 | gr_pri_gpc0_tpc0_sm_lrf_ecc_corrected_err_count_r() + offset, |
@@ -295,7 +295,7 @@ static int gr_gv11b_handle_lrf_exception(struct gk20a *g, u32 gpc, u32 tpc, | |||
295 | lrf_uncorrected_err_count_delta += | 295 | lrf_uncorrected_err_count_delta += |
296 | (is_lrf_ecc_uncorrected_total_err_overflow << | 296 | (is_lrf_ecc_uncorrected_total_err_overflow << |
297 | gr_pri_gpc0_tpc0_sm_lrf_ecc_uncorrected_err_count_total_s()); | 297 | gr_pri_gpc0_tpc0_sm_lrf_ecc_uncorrected_err_count_total_s()); |
298 | g->ecc.gr.t18x.sm_lrf_double_err_count.counters[tpc] += | 298 | g->ecc.gr.sm_lrf_double_err_count.counters[tpc] += |
299 | lrf_uncorrected_err_count_delta; | 299 | lrf_uncorrected_err_count_delta; |
300 | gk20a_writel(g, | 300 | gk20a_writel(g, |
301 | gr_pri_gpc0_tpc0_sm_lrf_ecc_uncorrected_err_count_r() + offset, | 301 | gr_pri_gpc0_tpc0_sm_lrf_ecc_uncorrected_err_count_r() + offset, |
@@ -1664,8 +1664,8 @@ void gr_gv11b_commit_global_attrib_cb(struct gk20a *g, | |||
1664 | struct gr_ctx_desc *gr_ctx = ch_ctx->gr_ctx; | 1664 | struct gr_ctx_desc *gr_ctx = ch_ctx->gr_ctx; |
1665 | int attrBufferSize; | 1665 | int attrBufferSize; |
1666 | 1666 | ||
1667 | if (gr_ctx->t18x.preempt_ctxsw_buffer.gpu_va) | 1667 | if (gr_ctx->preempt_ctxsw_buffer.gpu_va) |
1668 | attrBufferSize = gr_ctx->t18x.betacb_ctxsw_buffer.size; | 1668 | attrBufferSize = gr_ctx->betacb_ctxsw_buffer.size; |
1669 | else | 1669 | else |
1670 | attrBufferSize = g->ops.gr.calc_global_ctx_buffer_size(g); | 1670 | attrBufferSize = g->ops.gr.calc_global_ctx_buffer_size(g); |
1671 | 1671 | ||
@@ -2385,10 +2385,10 @@ int gr_gv11b_init_fs_state(struct gk20a *g) | |||
2385 | gr_gpcs_tpcs_sm_disp_ctrl_re_suppress_disable_f()); | 2385 | gr_gpcs_tpcs_sm_disp_ctrl_re_suppress_disable_f()); |
2386 | gk20a_writel(g, gr_gpcs_tpcs_sm_disp_ctrl_r(), data); | 2386 | gk20a_writel(g, gr_gpcs_tpcs_sm_disp_ctrl_r(), data); |
2387 | 2387 | ||
2388 | if (g->gr.t18x.fecs_feature_override_ecc_val != 0) { | 2388 | if (g->gr.fecs_feature_override_ecc_val != 0) { |
2389 | gk20a_writel(g, | 2389 | gk20a_writel(g, |
2390 | gr_fecs_feature_override_ecc_r(), | 2390 | gr_fecs_feature_override_ecc_r(), |
2391 | g->gr.t18x.fecs_feature_override_ecc_val); | 2391 | g->gr.fecs_feature_override_ecc_val); |
2392 | } | 2392 | } |
2393 | 2393 | ||
2394 | return gr_gm20b_init_fs_state(g); | 2394 | return gr_gm20b_init_fs_state(g); |