summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/mm_gv11b.h
diff options
context:
space:
mode:
authorAparna Das <aparnad@nvidia.com>2018-07-10 17:48:27 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-07-20 01:14:58 -0400
commit3a5fd2399cabc0c268c6a3c518b698be9d08e07b (patch)
tree496292521d24794fd78ac6b643239b92ebae4f99 /drivers/gpu/nvgpu/gv11b/mm_gv11b.h
parentf39ec4f9a0b40db0042418c3bfe0fee8ceb3d190 (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.h1
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);
37u64 gv11b_gpu_phys_addr(struct gk20a *g, 37u64 gv11b_gpu_phys_addr(struct gk20a *g,
38 struct nvgpu_gmmu_attrs *attrs, u64 phys); 38 struct nvgpu_gmmu_attrs *attrs, u64 phys);
39void gv11b_mm_fault_info_mem_destroy(struct gk20a *g); 39void gv11b_mm_fault_info_mem_destroy(struct gk20a *g);
40void gv11b_mm_mmu_fault_disable_hw(struct gk20a *g);
40 41
41#endif 42#endif