diff options
author | Aparna Das <aparnad@nvidia.com> | 2018-07-10 17:48:27 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-07-20 01:14:58 -0400 |
commit | 3a5fd2399cabc0c268c6a3c518b698be9d08e07b (patch) | |
tree | 496292521d24794fd78ac6b643239b92ebae4f99 /drivers/gpu/nvgpu/gv11b/mm_gv11b.h | |
parent | f39ec4f9a0b40db0042418c3bfe0fee8ceb3d190 (diff) |
gpu: nvgpu: disable fb fault buffer in prepare poweroff
FB fault buffer is enabled on finalize poweron. Disable the buffer
in prepare poweroff. This also eliminates the need to disable
the buffer in fault info mem destroy which otherwise accesses
GPU registers after these are locked in prepare poweroff.
Bug 200427479
Change-Id: I1ca3e6ed4417847731c09b887134f215a2ba331c
Signed-off-by: Aparna Das <aparnad@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1776387
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/mm_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/mm_gv11b.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/mm_gv11b.h b/drivers/gpu/nvgpu/gv11b/mm_gv11b.h index 6ad4a91a..ba247088 100644 --- a/drivers/gpu/nvgpu/gv11b/mm_gv11b.h +++ b/drivers/gpu/nvgpu/gv11b/mm_gv11b.h | |||
@@ -37,5 +37,6 @@ void gv11b_mm_l2_flush(struct gk20a *g, bool invalidate); | |||
37 | u64 gv11b_gpu_phys_addr(struct gk20a *g, | 37 | u64 gv11b_gpu_phys_addr(struct gk20a *g, |
38 | struct nvgpu_gmmu_attrs *attrs, u64 phys); | 38 | struct nvgpu_gmmu_attrs *attrs, u64 phys); |
39 | void gv11b_mm_fault_info_mem_destroy(struct gk20a *g); | 39 | void gv11b_mm_fault_info_mem_destroy(struct gk20a *g); |
40 | void gv11b_mm_mmu_fault_disable_hw(struct gk20a *g); | ||
40 | 41 | ||
41 | #endif | 42 | #endif |