diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index 857f4944..6b43fcc8 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -321,6 +321,19 @@ void gr_gv11b_enable_hww_exceptions(struct gk20a *g) | |||
321 | gr_memfmt_hww_esr_reset_active_f()); | 321 | gr_memfmt_hww_esr_reset_active_f()); |
322 | } | 322 | } |
323 | 323 | ||
324 | void gr_gv11b_fecs_host_int_enable(struct gk20a *g) | ||
325 | { | ||
326 | gk20a_writel(g, gr_fecs_host_int_enable_r(), | ||
327 | gr_fecs_host_int_enable_ctxsw_intr1_enable_f() | | ||
328 | gr_fecs_host_int_enable_fault_during_ctxsw_enable_f() | | ||
329 | gr_fecs_host_int_enable_umimp_firmware_method_enable_f() | | ||
330 | gr_fecs_host_int_enable_umimp_illegal_method_enable_f() | | ||
331 | gr_fecs_host_int_enable_watchdog_enable_f() | | ||
332 | gr_fecs_host_int_enable_flush_when_busy_enable_f() | | ||
333 | gr_fecs_host_int_enable_ecc_corrected_enable_f() | | ||
334 | gr_fecs_host_int_enable_ecc_uncorrected_enable_f()); | ||
335 | } | ||
336 | |||
324 | void gr_gv11b_enable_exceptions(struct gk20a *g) | 337 | void gr_gv11b_enable_exceptions(struct gk20a *g) |
325 | { | 338 | { |
326 | struct gr_gk20a *gr = &g->gr; | 339 | struct gr_gk20a *gr = &g->gr; |
@@ -2249,13 +2262,13 @@ int gr_gv11b_handle_fecs_error(struct gk20a *g, | |||
2249 | u32 gr_fecs_intr = gk20a_readl(g, gr_fecs_host_int_status_r()); | 2262 | u32 gr_fecs_intr = gk20a_readl(g, gr_fecs_host_int_status_r()); |
2250 | int ret; | 2263 | int ret; |
2251 | 2264 | ||
2252 | gk20a_dbg(gpu_dbg_fn | gpu_dbg_gpu_dbg | gpu_dbg_intr, ""); | 2265 | nvgpu_log(g, gpu_dbg_fn | gpu_dbg_gpu_dbg | gpu_dbg_intr, " "); |
2253 | |||
2254 | ret = gr_gp10b_handle_fecs_error(g, __ch, isr_data); | ||
2255 | 2266 | ||
2256 | /* Handle ECC errors */ | 2267 | /* Handle ECC errors */ |
2257 | gr_gv11b_handle_fecs_ecc_error(g, gr_fecs_intr); | 2268 | gr_gv11b_handle_fecs_ecc_error(g, gr_fecs_intr); |
2258 | 2269 | ||
2270 | ret = gr_gp10b_handle_fecs_error(g, __ch, isr_data); | ||
2271 | |||
2259 | return ret; | 2272 | return ret; |
2260 | } | 2273 | } |
2261 | 2274 | ||