diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-11-09 18:12:41 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-17 19:29:41 -0500 |
commit | 9d04e970937657d11620d812c29a5d10828440fc (patch) | |
tree | 78d06a0773317241ddfdc9d2b1bc6c871f3175c7 /drivers/gpu/nvgpu/gp10b/ltc_gp10b.c | |
parent | 35ae4194a05d47aa6d79353428f81f2ca47ce90f (diff) |
gpu: nvgpu: Remove separation of t18x code
Remove separation of t18x specific code and fields and the associated
ifdefs. We can build T18x code in always.
Change-Id: I4e8eae9c30335632a2da48b418c6138193831b4f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1595431
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
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 92a899b8..6e8a53c5 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.gr.t18x.l2_sec_count.counters[ltc] += | 158 | g->ecc.ltc.l2_sec_count.counters[ltc] += |
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.gr.t18x.l2_ded_count.counters[ltc] += | 178 | g->ecc.ltc.l2_ded_count.counters[ltc] += |
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()); |