summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/mm_gv11b.h
diff options
context:
space:
mode:
authorSunny He <suhe@nvidia.com>2017-08-11 17:40:58 -0400
committerShu Zhong <shuz@nvidia.com>2017-08-11 17:57:08 -0400
commita4e095aa37ec5a6c09a8cc6477da9fa49a73cd77 (patch)
treefc8cffa187e14649b474a73ff23e3bb801319e61 /drivers/gpu/nvgpu/gv11b/mm_gv11b.h
parent96615351ad11a186f5869e56acb3c1948ab7b7cc (diff)
Revert "gpu: nvgpu: gv11b: Reorg mm HAL init"
This reverts commit 96615351ad11a186f5869e56acb3c1948ab7b7cc, which conflicts with gv100 changes. Change-Id: I08797bb23dd9226f0228ce3235fce6feef8d82f3 Signed-off-by: Sunny He <suhe@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1537667 Reviewed-by: Shu Zhong <shuz@nvidia.com> Tested-by: Shu Zhong <shuz@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/mm_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/gv11b/mm_gv11b.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/mm_gv11b.h b/drivers/gpu/nvgpu/gv11b/mm_gv11b.h
index 12f0fe63..a887c7f4 100644
--- a/drivers/gpu/nvgpu/gv11b/mm_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/mm_gv11b.h
@@ -18,20 +18,7 @@
18#define HW_FAULT_BUF_STATUS_ALLOC_TRUE 1 18#define HW_FAULT_BUF_STATUS_ALLOC_TRUE 1
19#define HW_FAULT_BUF_STATUS_ALLOC_FALSE 0 19#define HW_FAULT_BUF_STATUS_ALLOC_FALSE 0
20 20
21struct gk20a; 21struct gpu_ops;
22struct nvgpu_mem;
23struct vm_gk20a;
24
25bool gv11b_mm_is_bar1_supported(struct gk20a *g);
26void gv11b_init_inst_block(struct nvgpu_mem *inst_block,
27 struct vm_gk20a *vm, u32 big_page_size);
28bool gv11b_mm_mmu_fault_pending(struct gk20a *g);
29void gv11b_mm_remove_bar2_vm(struct gk20a *g);
30int gv11b_init_mm_setup_hw(struct gk20a *g);
31int gv11b_init_bar2_mm_hw_setup(struct gk20a *g);
32void gv11b_mm_l2_flush(struct gk20a *g, bool invalidate);
33u64 gv11b_gpu_phys_addr(struct gk20a *g,
34 struct nvgpu_gmmu_attrs *attrs, u64 phys);
35void gv11b_mm_fault_info_mem_destroy(struct gk20a *g);
36 22
23void gv11b_init_mm(struct gpu_ops *gops);
37#endif 24#endif