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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
index ee73fed1..984241db 100644
--- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
@@ -98,7 +98,8 @@ static void gr_gp10b_sm_lrf_ecc_overcount_war(int single_err,
98} 98}
99 99
100static int gr_gp10b_handle_sm_exception(struct gk20a *g, u32 gpc, u32 tpc, 100static int gr_gp10b_handle_sm_exception(struct gk20a *g, u32 gpc, u32 tpc,
101 bool *post_event, struct channel_gk20a *fault_ch) 101 bool *post_event, struct channel_gk20a *fault_ch,
102 u32 *hww_global_esr)
102{ 103{
103 int ret = 0; 104 int ret = 0;
104 u32 gpc_stride = nvgpu_get_litter_value(g, GPU_LIT_GPC_STRIDE); 105 u32 gpc_stride = nvgpu_get_litter_value(g, GPU_LIT_GPC_STRIDE);
@@ -108,7 +109,7 @@ static int gr_gp10b_handle_sm_exception(struct gk20a *g, u32 gpc, u32 tpc,
108 u32 lrf_single_count_delta, lrf_double_count_delta; 109 u32 lrf_single_count_delta, lrf_double_count_delta;
109 u32 shm_ecc_status; 110 u32 shm_ecc_status;
110 111
111 gr_gk20a_handle_sm_exception(g, gpc, tpc, post_event, fault_ch); 112 gr_gk20a_handle_sm_exception(g, gpc, tpc, post_event, fault_ch, hww_global_esr);
112 113
113 /* Check for LRF ECC errors. */ 114 /* Check for LRF ECC errors. */
114 lrf_ecc_status = gk20a_readl(g, 115 lrf_ecc_status = gk20a_readl(g,