summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/fb_gv11b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fb_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/fb_gv11b.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fb_gv11b.c b/drivers/gpu/nvgpu/gv11b/fb_gv11b.c
index 9fd6c857..18906c01 100644
--- a/drivers/gpu/nvgpu/gv11b/fb_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/fb_gv11b.c
@@ -1289,6 +1289,18 @@ void gv11b_fb_handle_dropped_mmu_fault(struct gk20a *g, u32 fault_status)
1289 } 1289 }
1290} 1290}
1291 1291
1292void gv11b_fb_handle_replayable_mmu_fault(struct gk20a *g)
1293{
1294 u32 fault_status = gk20a_readl(g, fb_mmu_fault_status_r());
1295
1296 if (!(fault_status & fb_mmu_fault_status_replayable_m()))
1297 return;
1298
1299 if (gv11b_fb_is_fault_buf_enabled(g, NONREPLAY_REG_INDEX)) {
1300 gv11b_fb_handle_mmu_nonreplay_replay_fault(g,
1301 fault_status, REPLAY_REG_INDEX);
1302 }
1303}
1292 1304
1293static void gv11b_fb_handle_mmu_fault(struct gk20a *g, u32 niso_intr) 1305static void gv11b_fb_handle_mmu_fault(struct gk20a *g, u32 niso_intr)
1294{ 1306{