summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2018-05-22 16:20:31 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-05-25 18:15:55 -0400
commitf1ae1a9c73364326f5aa5f9deaf06a9254cb90d0 (patch)
tree7c27551d4a3f5373e9945a0816d3dc70a50ad92e /drivers
parent64b6918ea9ab897d6c6bff1ae351ff950519e831 (diff)
gpu: nvgpu: Remove unused function declarations
Change-Id: I36f2d13ed3797719137c670afef9b644d48ea16e Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1727485 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Konsta Holtta <kholtta@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.h4
-rw-r--r--drivers/gpu/nvgpu/gm20b/mm_gm20b.h5
2 files changed, 1 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
index 55d74435..7b7c2ef7 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
@@ -1,6 +1,4 @@
1/* 1/*
2 * GK20A memory management
3 *
4 * Copyright (c) 2011-2018, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2011-2018, NVIDIA CORPORATION. All rights reserved.
5 * 3 *
6 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
@@ -129,8 +127,6 @@ void gk20a_mm_ltc_isr(struct gk20a *g);
129 127
130bool gk20a_mm_mmu_debug_mode_enabled(struct gk20a *g); 128bool gk20a_mm_mmu_debug_mode_enabled(struct gk20a *g);
131 129
132int gk20a_mm_mmu_vpr_info_fetch(struct gk20a *g);
133
134int gk20a_alloc_inst_block(struct gk20a *g, struct nvgpu_mem *inst_block); 130int gk20a_alloc_inst_block(struct gk20a *g, struct nvgpu_mem *inst_block);
135void gk20a_init_inst_block(struct nvgpu_mem *inst_block, struct vm_gk20a *vm, 131void gk20a_init_inst_block(struct nvgpu_mem *inst_block, struct vm_gk20a *vm,
136 u32 big_page_size); 132 u32 big_page_size);
diff --git a/drivers/gpu/nvgpu/gm20b/mm_gm20b.h b/drivers/gpu/nvgpu/gm20b/mm_gm20b.h
index af67845a..369fa1eb 100644
--- a/drivers/gpu/nvgpu/gm20b/mm_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/mm_gm20b.h
@@ -1,7 +1,5 @@
1/* 1/*
2 * GM20B GMMU 2 * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved.
3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
5 * 3 *
6 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -35,7 +33,6 @@ u32 gm20b_mm_get_big_page_sizes(void);
35u32 gm20b_mm_get_default_big_page_size(void); 33u32 gm20b_mm_get_default_big_page_size(void);
36bool gm20b_mm_support_sparse(struct gk20a *g); 34bool gm20b_mm_support_sparse(struct gk20a *g);
37bool gm20b_mm_is_bar1_supported(struct gk20a *g); 35bool gm20b_mm_is_bar1_supported(struct gk20a *g);
38int gm20b_mm_mmu_vpr_info_fetch(struct gk20a *g);
39u64 gm20b_gpu_phys_addr(struct gk20a *g, 36u64 gm20b_gpu_phys_addr(struct gk20a *g,
40 struct nvgpu_gmmu_attrs *attrs, u64 phys); 37 struct nvgpu_gmmu_attrs *attrs, u64 phys);
41u32 gm20b_get_kind_invalid(void); 38u32 gm20b_get_kind_invalid(void);