diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/ltc_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/ltc_gp10b.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c index 1e5807d5..aeeda4a8 100644 --- a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c | |||
@@ -249,7 +249,7 @@ void gp10b_ltc_isr(struct gk20a *g) | |||
249 | ecc_stats_reg_val = | 249 | ecc_stats_reg_val = |
250 | gk20a_readl(g, | 250 | gk20a_readl(g, |
251 | ltc_ltc0_lts0_dstg_ecc_report_r() + offset); | 251 | ltc_ltc0_lts0_dstg_ecc_report_r() + offset); |
252 | g->ecc.ltc.l2_sec_count.counters[ltc*g->ltc_count + slice] += | 252 | g->ecc.ltc.ecc_sec_count[ltc][slice].counter += |
253 | ltc_ltc0_lts0_dstg_ecc_report_sec_count_v(ecc_stats_reg_val); | 253 | ltc_ltc0_lts0_dstg_ecc_report_sec_count_v(ecc_stats_reg_val); |
254 | ecc_stats_reg_val &= | 254 | ecc_stats_reg_val &= |
255 | ~(ltc_ltc0_lts0_dstg_ecc_report_sec_count_m()); | 255 | ~(ltc_ltc0_lts0_dstg_ecc_report_sec_count_m()); |
@@ -268,7 +268,7 @@ void gp10b_ltc_isr(struct gk20a *g) | |||
268 | ecc_stats_reg_val = | 268 | ecc_stats_reg_val = |
269 | gk20a_readl(g, | 269 | gk20a_readl(g, |
270 | ltc_ltc0_lts0_dstg_ecc_report_r() + offset); | 270 | ltc_ltc0_lts0_dstg_ecc_report_r() + offset); |
271 | g->ecc.ltc.l2_ded_count.counters[ltc*g->ltc_count + slice] += | 271 | g->ecc.ltc.ecc_ded_count[ltc][slice].counter += |
272 | ltc_ltc0_lts0_dstg_ecc_report_ded_count_v(ecc_stats_reg_val); | 272 | ltc_ltc0_lts0_dstg_ecc_report_ded_count_v(ecc_stats_reg_val); |
273 | ecc_stats_reg_val &= | 273 | ecc_stats_reg_val &= |
274 | ~(ltc_ltc0_lts0_dstg_ecc_report_ded_count_m()); | 274 | ~(ltc_ltc0_lts0_dstg_ecc_report_ded_count_m()); |