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 e65e3d06..165e93fe 100644 --- a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c | |||
@@ -149,7 +149,7 @@ static void gp10b_ltc_isr(struct gk20a *g) | |||
149 | ecc_stats_reg_val = | 149 | ecc_stats_reg_val = |
150 | gk20a_readl(g, | 150 | gk20a_readl(g, |
151 | ltc_ltc0_lts0_dstg_ecc_report_r() + offset); | 151 | ltc_ltc0_lts0_dstg_ecc_report_r() + offset); |
152 | g->gr.t18x.ecc_stats.l2_sec_count.counters[ltc] += | 152 | g->ecc.gr.t18x.l2_sec_count.counters[ltc] += |
153 | ltc_ltc0_lts0_dstg_ecc_report_sec_count_v(ecc_stats_reg_val); | 153 | ltc_ltc0_lts0_dstg_ecc_report_sec_count_v(ecc_stats_reg_val); |
154 | ecc_stats_reg_val &= | 154 | ecc_stats_reg_val &= |
155 | ~(ltc_ltc0_lts0_dstg_ecc_report_sec_count_m()); | 155 | ~(ltc_ltc0_lts0_dstg_ecc_report_sec_count_m()); |
@@ -169,7 +169,7 @@ static void gp10b_ltc_isr(struct gk20a *g) | |||
169 | ecc_stats_reg_val = | 169 | ecc_stats_reg_val = |
170 | gk20a_readl(g, | 170 | gk20a_readl(g, |
171 | ltc_ltc0_lts0_dstg_ecc_report_r() + offset); | 171 | ltc_ltc0_lts0_dstg_ecc_report_r() + offset); |
172 | g->gr.t18x.ecc_stats.l2_ded_count.counters[ltc] += | 172 | g->ecc.gr.t18x.l2_ded_count.counters[ltc] += |
173 | ltc_ltc0_lts0_dstg_ecc_report_ded_count_v(ecc_stats_reg_val); | 173 | ltc_ltc0_lts0_dstg_ecc_report_ded_count_v(ecc_stats_reg_val); |
174 | ecc_stats_reg_val &= | 174 | ecc_stats_reg_val &= |
175 | ~(ltc_ltc0_lts0_dstg_ecc_report_ded_count_m()); | 175 | ~(ltc_ltc0_lts0_dstg_ecc_report_ded_count_m()); |