diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2018-07-02 06:59:54 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-07-05 12:57:22 -0400 |
commit | 7f09c477c9cb85c7571bab4bf87dac4a72f25696 (patch) | |
tree | 46caf2e6fe425357224020eb21a3f12ceae0c975 /drivers/gpu/nvgpu/gv11b/fb_gv11b.h | |
parent | 5529f20b409a4c4c61a2ba65f45fd48a51fced36 (diff) |
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 <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1767970
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fb_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/fb_gv11b.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); | |||
99 | u32 fb_gv11b_read_mmu_fault_status(struct gk20a *g); | 99 | u32 fb_gv11b_read_mmu_fault_status(struct gk20a *g); |
100 | void fb_gv11b_write_mmu_fault_status(struct gk20a *g, u32 reg_val); | 100 | void fb_gv11b_write_mmu_fault_status(struct gk20a *g, u32 reg_val); |
101 | 101 | ||
102 | int gv11b_fb_mmu_invalidate_replay(struct gk20a *g, | ||
103 | u32 invalidate_replay_val); | ||
104 | |||
102 | #endif | 105 | #endif |