diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-04-09 06:33:31 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:06 -0400 |
commit | 3df84a13d142b20f63970b9523143dd0e46c2ff9 (patch) | |
tree | 262f8b11454349ea46a28ca808a43d673f934743 /drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | |
parent | 542f729aa9ea9c5eb845c35d855e3925f45ab24f (diff) |
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 <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h index 051acda2..078ae8f0 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | |||
@@ -158,6 +158,7 @@ int gk20a_fifo_suspend(struct gk20a *g); | |||
158 | bool gk20a_fifo_mmu_fault_pending(struct gk20a *g); | 158 | bool gk20a_fifo_mmu_fault_pending(struct gk20a *g); |
159 | void gk20a_fifo_recover(struct gk20a *g, u32 engine_ids, bool verbose); | 159 | void gk20a_fifo_recover(struct gk20a *g, u32 engine_ids, bool verbose); |
160 | int gk20a_init_fifo_reset_enable_hw(struct gk20a *g); | 160 | int gk20a_init_fifo_reset_enable_hw(struct gk20a *g); |
161 | void gk20a_init_fifo(struct gpu_ops *gops); | ||
161 | 162 | ||
162 | void fifo_gk20a_finish_mmu_fault_handling(struct gk20a *g, | 163 | void fifo_gk20a_finish_mmu_fault_handling(struct gk20a *g, |
163 | unsigned long fault_id); | 164 | unsigned long fault_id); |