diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-05-25 13:43:01 -0400 |
---|---|---|
committer | Tejal Kudav <tkudav@nvidia.com> | 2018-06-14 09:44:07 -0400 |
commit | d4dfa63e6c324430ad2cac4fabb73a95858b2573 (patch) | |
tree | 1a4816e148827901ac1d23a6fbdf2729d1633469 /drivers/gpu/nvgpu/gp10b/mm_gp10b.h | |
parent | 27694ca572c4d7698b107c6713f0f0604b41c186 (diff) |
gpu: nvgpu: Combine variants of init_mm_setup_hw
gp10b and gk20a variants of init_mm_setup_hw were essentially the
same. Delete the gp10b version and use gk20a variant instead. gv11b
variant now also inherits gk20a variant.
JIRA NVGPU-588
Change-Id: I842516a1c0be68562ad0ece6e1837a1416d24957
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1730897
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/mm_gp10b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/mm_gp10b.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/mm_gp10b.h b/drivers/gpu/nvgpu/gp10b/mm_gp10b.h index 4f37aae6..cf84f7cf 100644 --- a/drivers/gpu/nvgpu/gp10b/mm_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/mm_gp10b.h | |||
@@ -30,7 +30,6 @@ struct vm_gk20a; | |||
30 | 30 | ||
31 | u32 gp10b_mm_get_default_big_page_size(void); | 31 | u32 gp10b_mm_get_default_big_page_size(void); |
32 | u32 gp10b_mm_get_iommu_bit(struct gk20a *g); | 32 | u32 gp10b_mm_get_iommu_bit(struct gk20a *g); |
33 | int gp10b_init_mm_setup_hw(struct gk20a *g); | ||
34 | int gp10b_init_bar2_vm(struct gk20a *g); | 33 | int gp10b_init_bar2_vm(struct gk20a *g); |
35 | const struct gk20a_mmu_level *gp10b_mm_get_mmu_levels(struct gk20a *g, | 34 | const struct gk20a_mmu_level *gp10b_mm_get_mmu_levels(struct gk20a *g, |
36 | u32 big_page_size); | 35 | u32 big_page_size); |