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/gk20a/gk20a.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/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index ee1f3304..4aa04139 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -557,6 +557,8 @@ struct gpu_ops { | |||
557 | u32 *inst_lo, u32 *inst_hi); | 557 | u32 *inst_lo, u32 *inst_hi); |
558 | u32 (*read_mmu_fault_info)(struct gk20a *g); | 558 | u32 (*read_mmu_fault_info)(struct gk20a *g); |
559 | u32 (*read_mmu_fault_status)(struct gk20a *g); | 559 | u32 (*read_mmu_fault_status)(struct gk20a *g); |
560 | int (*mmu_invalidate_replay)(struct gk20a *g, | ||
561 | u32 invalidate_replay_val); | ||
560 | } fb; | 562 | } fb; |
561 | struct { | 563 | struct { |
562 | void (*slcg_bus_load_gating_prod)(struct gk20a *g, bool prod); | 564 | void (*slcg_bus_load_gating_prod)(struct gk20a *g, bool prod); |