diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 462af65f..0fd27598 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -6598,6 +6598,14 @@ int gk20a_gr_isr(struct gk20a *g) | |||
6598 | need_reset |= -EFAULT; | 6598 | need_reset |= -EFAULT; |
6599 | } | 6599 | } |
6600 | 6600 | ||
6601 | if (exception & gr_exception_sked_m()) { | ||
6602 | u32 sked = gk20a_readl(g, gr_sked_hww_esr_r()); | ||
6603 | |||
6604 | nvgpu_err(g, "sked exception %08x", sked); | ||
6605 | gk20a_writel(g, gr_sked_hww_esr_r(), | ||
6606 | gr_sked_hww_esr_reset_active_f()); | ||
6607 | } | ||
6608 | |||
6601 | gk20a_writel(g, gr_intr_r(), gr_intr_exception_reset_f()); | 6609 | gk20a_writel(g, gr_intr_r(), gr_intr_exception_reset_f()); |
6602 | gr_intr &= ~gr_intr_exception_pending_f(); | 6610 | gr_intr &= ~gr_intr_exception_pending_f(); |
6603 | 6611 | ||