summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100
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/gv100
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/gv100')
-rw-r--r--drivers/gpu/nvgpu/gv100/hal_gv100.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c
index 6134dedc..09a96d40 100644
--- a/drivers/gpu/nvgpu/gv100/hal_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c
@@ -689,6 +689,7 @@ static const struct gpu_ops gv100_ops = {
689 .init_bar2_vm = gp10b_init_bar2_vm, 689 .init_bar2_vm = gp10b_init_bar2_vm,
690 .remove_bar2_vm = gp10b_remove_bar2_vm, 690 .remove_bar2_vm = gp10b_remove_bar2_vm,
691 .fault_info_mem_destroy = gv11b_mm_fault_info_mem_destroy, 691 .fault_info_mem_destroy = gv11b_mm_fault_info_mem_destroy,
692 .mmu_fault_disable_hw = gv11b_mm_mmu_fault_disable_hw,
692 .get_flush_retries = gv100_mm_get_flush_retries, 693 .get_flush_retries = gv100_mm_get_flush_retries,
693 }, 694 },
694 .pramin = { 695 .pramin = {