diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/gr_gp10b.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c index f27e2605..64466936 100644 --- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c | |||
@@ -118,7 +118,8 @@ static void gr_gp10b_sm_lrf_ecc_overcount_war(int single_err, | |||
118 | *count_to_adjust = 0; | 118 | *count_to_adjust = 0; |
119 | } | 119 | } |
120 | 120 | ||
121 | static int gr_gp10b_handle_sm_exception(struct gk20a *g, u32 gpc, u32 tpc, | 121 | static int gr_gp10b_handle_sm_exception(struct gk20a *g, |
122 | u32 gpc, u32 tpc, u32 sm, | ||
122 | bool *post_event, struct channel_gk20a *fault_ch, | 123 | bool *post_event, struct channel_gk20a *fault_ch, |
123 | u32 *hww_global_esr) | 124 | u32 *hww_global_esr) |
124 | { | 125 | { |
@@ -130,7 +131,8 @@ static int gr_gp10b_handle_sm_exception(struct gk20a *g, u32 gpc, u32 tpc, | |||
130 | u32 lrf_single_count_delta, lrf_double_count_delta; | 131 | u32 lrf_single_count_delta, lrf_double_count_delta; |
131 | u32 shm_ecc_status; | 132 | u32 shm_ecc_status; |
132 | 133 | ||
133 | gr_gk20a_handle_sm_exception(g, gpc, tpc, post_event, fault_ch, hww_global_esr); | 134 | gr_gk20a_handle_sm_exception(g, |
135 | gpc, tpc, sm, post_event, fault_ch, hww_global_esr); | ||
134 | 136 | ||
135 | /* Check for LRF ECC errors. */ | 137 | /* Check for LRF ECC errors. */ |
136 | lrf_ecc_status = gk20a_readl(g, | 138 | lrf_ecc_status = gk20a_readl(g, |
@@ -1764,7 +1766,7 @@ static int gr_gp10b_clear_cilp_preempt_pending(struct gk20a *g, | |||
1764 | * On Pascal, if we are in CILP preemtion mode, preempt the channel and handle errors with special processing | 1766 | * On Pascal, if we are in CILP preemtion mode, preempt the channel and handle errors with special processing |
1765 | */ | 1767 | */ |
1766 | static int gr_gp10b_pre_process_sm_exception(struct gk20a *g, | 1768 | static int gr_gp10b_pre_process_sm_exception(struct gk20a *g, |
1767 | u32 gpc, u32 tpc, u32 global_esr, u32 warp_esr, | 1769 | u32 gpc, u32 tpc, u32 sm, u32 global_esr, u32 warp_esr, |
1768 | bool sm_debugger_attached, struct channel_gk20a *fault_ch, | 1770 | bool sm_debugger_attached, struct channel_gk20a *fault_ch, |
1769 | bool *early_exit, bool *ignore_debugger) | 1771 | bool *early_exit, bool *ignore_debugger) |
1770 | { | 1772 | { |