summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_gp10b.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
index 64ec5e1a..27d609d1 100644
--- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
@@ -1833,7 +1833,8 @@ static int gr_gp10b_pre_process_sm_exception(struct gk20a *g,
1833 } 1833 }
1834 1834
1835 /* reset the HWW errors after locking down */ 1835 /* reset the HWW errors after locking down */
1836 global_esr_copy = gk20a_readl(g, gr_gpc0_tpc0_sm_hww_global_esr_r() + offset); 1836 global_esr_copy = g->ops.gr.get_sm_hww_global_esr(g,
1837 gpc, tpc, sm);
1837 gk20a_gr_clear_sm_hww(g, gpc, tpc, global_esr_copy); 1838 gk20a_gr_clear_sm_hww(g, gpc, tpc, global_esr_copy);
1838 gk20a_dbg(gpu_dbg_fn | gpu_dbg_gpu_dbg, 1839 gk20a_dbg(gpu_dbg_fn | gpu_dbg_gpu_dbg,
1839 "CILP: HWWs cleared for gpc %d tpc %d\n", 1840 "CILP: HWWs cleared for gpc %d tpc %d\n",