diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 3 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index e697b491..4f517fa7 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -3101,7 +3101,8 @@ int gv11b_gr_set_sm_debug_mode(struct gk20a *g, | |||
3101 | return err; | 3101 | return err; |
3102 | } | 3102 | } |
3103 | 3103 | ||
3104 | int gv11b_gr_record_sm_error_state(struct gk20a *g, u32 gpc, u32 tpc) | 3104 | int gv11b_gr_record_sm_error_state(struct gk20a *g, u32 gpc, u32 tpc, |
3105 | struct channel_gk20a *fault_ch) | ||
3105 | { | 3106 | { |
3106 | int sm_id; | 3107 | int sm_id; |
3107 | struct gr_gk20a *gr = &g->gr; | 3108 | struct gr_gk20a *gr = &g->gr; |
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h index 4615ff55..018938f6 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h | |||
@@ -166,7 +166,8 @@ int gv11b_gr_update_sm_error_state(struct gk20a *g, | |||
166 | struct nvgpu_gr_sm_error_state *sm_error_state); | 166 | struct nvgpu_gr_sm_error_state *sm_error_state); |
167 | int gv11b_gr_set_sm_debug_mode(struct gk20a *g, | 167 | int gv11b_gr_set_sm_debug_mode(struct gk20a *g, |
168 | struct channel_gk20a *ch, u64 sms, bool enable); | 168 | struct channel_gk20a *ch, u64 sms, bool enable); |
169 | int gv11b_gr_record_sm_error_state(struct gk20a *g, u32 gpc, u32 tpc); | 169 | int gv11b_gr_record_sm_error_state(struct gk20a *g, u32 gpc, u32 tpc, |
170 | struct channel_gk20a *fault_ch); | ||
170 | void gv11b_gr_set_hww_esr_report_mask(struct gk20a *g); | 171 | void gv11b_gr_set_hww_esr_report_mask(struct gk20a *g); |
171 | bool gv11b_gr_sm_debugger_attached(struct gk20a *g); | 172 | bool gv11b_gr_sm_debugger_attached(struct gk20a *g); |
172 | void gv11b_gr_suspend_single_sm(struct gk20a *g, | 173 | void gv11b_gr_suspend_single_sm(struct gk20a *g, |