From 3df84a13d142b20f63970b9523143dd0e46c2ff9 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 9 Apr 2014 13:33:31 +0300 Subject: gpu: nvgpu: Make trigger mmu fault GPU specific Add abstraction for triggering fake MMU fault, and a gk20a implementation. Also adds recovery to FE hardware warning exception to make testing easier. Bug 1495967 Change-Id: I6703cff37900a4c4592023423f9c0b31a8928db2 Signed-off-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index ced1f62f..b2a92f81 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c @@ -5333,6 +5333,7 @@ int gk20a_gr_isr(struct gk20a *g) u32 fe = gk20a_readl(g, gr_fe_hww_esr_r()); gk20a_dbg(gpu_dbg_intr, "fe warning %08x\n", fe); gk20a_writel(g, gr_fe_hww_esr_r(), fe); + need_reset |= -EFAULT; } /* check if a gpc exception has occurred */ -- cgit v1.2.2