diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b')
-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 6e8a53c5..bf95f1fd 100644 --- a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c | |||
@@ -155,7 +155,7 @@ void gp10b_ltc_isr(struct gk20a *g) | |||
155 | ecc_stats_reg_val = | 155 | ecc_stats_reg_val = |
156 | gk20a_readl(g, | 156 | gk20a_readl(g, |
157 | ltc_ltc0_lts0_dstg_ecc_report_r() + offset); | 157 | ltc_ltc0_lts0_dstg_ecc_report_r() + offset); |
158 | g->ecc.ltc.l2_sec_count.counters[ltc] += | 158 | g->ecc.ltc.l2_sec_count.counters[ltc*g->ltc_count + slice] += |
159 | ltc_ltc0_lts0_dstg_ecc_report_sec_count_v(ecc_stats_reg_val); | 159 | ltc_ltc0_lts0_dstg_ecc_report_sec_count_v(ecc_stats_reg_val); |
160 | ecc_stats_reg_val &= | 160 | ecc_stats_reg_val &= |
161 | ~(ltc_ltc0_lts0_dstg_ecc_report_sec_count_m()); | 161 | ~(ltc_ltc0_lts0_dstg_ecc_report_sec_count_m()); |
@@ -175,7 +175,7 @@ void gp10b_ltc_isr(struct gk20a *g) | |||
175 | ecc_stats_reg_val = | 175 | ecc_stats_reg_val = |
176 | gk20a_readl(g, | 176 | gk20a_readl(g, |
177 | ltc_ltc0_lts0_dstg_ecc_report_r() + offset); | 177 | ltc_ltc0_lts0_dstg_ecc_report_r() + offset); |
178 | g->ecc.ltc.l2_ded_count.counters[ltc] += | 178 | g->ecc.ltc.l2_ded_count.counters[ltc*g->ltc_count + slice] += |
179 | ltc_ltc0_lts0_dstg_ecc_report_ded_count_v(ecc_stats_reg_val); | 179 | ltc_ltc0_lts0_dstg_ecc_report_ded_count_v(ecc_stats_reg_val); |
180 | ecc_stats_reg_val &= | 180 | ecc_stats_reg_val &= |
181 | ~(ltc_ltc0_lts0_dstg_ecc_report_ded_count_m()); | 181 | ~(ltc_ltc0_lts0_dstg_ecc_report_ded_count_m()); |