diff options
author | Sunny He <suhe@nvidia.com> | 2017-08-11 17:41:33 -0400 |
---|---|---|
committer | Shu Zhong <shuz@nvidia.com> | 2017-08-11 17:57:15 -0400 |
commit | f8399cfa553b6fb6d82c7fa762c372f03bf59d5f (patch) | |
tree | 3966af83cf9abdf687667afe120cc6648a9ed360 /drivers/gpu/nvgpu/gp10b/mm_gp10b.h | |
parent | 8d63cd3995d4a650b478ad69d7e29ed2b1b2d927 (diff) |
Revert "gpu: nvgpu: Reorg mm HAL initialization"
Conflicts with gv100 changes
This reverts commit 8d63cd3995d4a650b478ad69d7e29ed2b1b2d927.
Change-Id: Ie2f88d281b2b87a9a794d79164a61c4d883626b7
Signed-off-by: Sunny He <suhe@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1537668
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Tested-by: Shu Zhong <shuz@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/mm_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/mm_gp10b.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/mm_gp10b.h b/drivers/gpu/nvgpu/gp10b/mm_gp10b.h index a0b9acd6..4cc71ea6 100644 --- a/drivers/gpu/nvgpu/gp10b/mm_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/mm_gp10b.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -14,20 +14,7 @@ | |||
14 | #ifndef MM_GP10B_H | 14 | #ifndef MM_GP10B_H |
15 | #define MM_GP10B_H | 15 | #define MM_GP10B_H |
16 | 16 | ||
17 | struct gk20a; | 17 | struct gpu_ops; |
18 | struct gk20a_mmu_level; | ||
19 | struct nvgpu_mem; | ||
20 | struct vm_gk20a; | ||
21 | |||
22 | u32 gp10b_mm_get_default_big_page_size(void); | ||
23 | u32 gp10b_mm_get_physical_addr_bits(struct gk20a *g); | ||
24 | int gp10b_init_mm_setup_hw(struct gk20a *g); | ||
25 | int gb10b_init_bar2_vm(struct gk20a *g); | ||
26 | int gb10b_init_bar2_mm_hw_setup(struct gk20a *g); | ||
27 | const struct gk20a_mmu_level *gp10b_mm_get_mmu_levels(struct gk20a *g, | ||
28 | u32 big_page_size); | ||
29 | void gp10b_mm_init_pdb(struct gk20a *g, struct nvgpu_mem *inst_block, | ||
30 | struct vm_gk20a *vm); | ||
31 | void gp10b_remove_bar2_vm(struct gk20a *g); | ||
32 | 18 | ||
19 | void gp10b_init_mm(struct gpu_ops *gops); | ||
33 | #endif | 20 | #endif |