summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.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/gk20a/gk20a.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/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index e69036d7..948d8e60 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -961,6 +961,7 @@ struct gpu_ops {
961 struct vm_gk20a *vm, u32 big_page_size); 961 struct vm_gk20a *vm, u32 big_page_size);
962 bool (*mmu_fault_pending)(struct gk20a *g); 962 bool (*mmu_fault_pending)(struct gk20a *g);
963 void (*fault_info_mem_destroy)(struct gk20a *g); 963 void (*fault_info_mem_destroy)(struct gk20a *g);
964 void (*mmu_fault_disable_hw)(struct gk20a *g);
964 u32 (*get_kind_invalid)(void); 965 u32 (*get_kind_invalid)(void);
965 u32 (*get_kind_pitch)(void); 966 u32 (*get_kind_pitch)(void);
966 u32 (*get_flush_retries)(struct gk20a *g, 967 u32 (*get_flush_retries)(struct gk20a *g,