From 7f09c477c9cb85c7571bab4bf87dac4a72f25696 Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Mon, 2 Jul 2018 16:29:54 +0530 Subject: gpu: nvgpu: add HAL to invalidate replay mmu fault Add new HAL gops.fb.mmu_invalidate_replay() to invalidate replay mmu fault Use existing API gv11b_fb_mmu_invalidate_replay() to set to this HAL on all Volta chips Bug 2228914 Jira NVGPU-838 Jira NVGPUT-73 Change-Id: I394901857d41499f3ea44023393fe271fb664260 Signed-off-by: Deepak Nibade Reviewed-on: https://git-master.nvidia.com/r/1767970 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv11b/fb_gv11b.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/gpu/nvgpu/gv11b/fb_gv11b.h') diff --git a/drivers/gpu/nvgpu/gv11b/fb_gv11b.h b/drivers/gpu/nvgpu/gv11b/fb_gv11b.h index fef9578a..0431568d 100644 --- a/drivers/gpu/nvgpu/gv11b/fb_gv11b.h +++ b/drivers/gpu/nvgpu/gv11b/fb_gv11b.h @@ -99,4 +99,7 @@ u32 fb_gv11b_read_mmu_fault_info(struct gk20a *g); u32 fb_gv11b_read_mmu_fault_status(struct gk20a *g); void fb_gv11b_write_mmu_fault_status(struct gk20a *g, u32 reg_val); +int gv11b_fb_mmu_invalidate_replay(struct gk20a *g, + u32 invalidate_replay_val); + #endif -- cgit v1.2.2