From f1ae1a9c73364326f5aa5f9deaf06a9254cb90d0 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Tue, 22 May 2018 13:20:31 -0700 Subject: gpu: nvgpu: Remove unused function declarations Change-Id: I36f2d13ed3797719137c670afef9b644d48ea16e Signed-off-by: Alex Waterman Reviewed-on: https://git-master.nvidia.com/r/1727485 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Konsta Holtta GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 4 ---- drivers/gpu/nvgpu/gm20b/mm_gm20b.h | 5 +---- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'drivers') 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 @@ /* - * GK20A memory management - * * Copyright (c) 2011-2018, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a @@ -129,8 +127,6 @@ void gk20a_mm_ltc_isr(struct gk20a *g); bool gk20a_mm_mmu_debug_mode_enabled(struct gk20a *g); -int gk20a_mm_mmu_vpr_info_fetch(struct gk20a *g); - int gk20a_alloc_inst_block(struct gk20a *g, struct nvgpu_mem *inst_block); void gk20a_init_inst_block(struct nvgpu_mem *inst_block, struct vm_gk20a *vm, 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 @@ /* - * GM20B GMMU - * - * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -35,7 +33,6 @@ u32 gm20b_mm_get_big_page_sizes(void); u32 gm20b_mm_get_default_big_page_size(void); bool gm20b_mm_support_sparse(struct gk20a *g); bool gm20b_mm_is_bar1_supported(struct gk20a *g); -int gm20b_mm_mmu_vpr_info_fetch(struct gk20a *g); u64 gm20b_gpu_phys_addr(struct gk20a *g, struct nvgpu_gmmu_attrs *attrs, u64 phys); u32 gm20b_get_kind_invalid(void); -- cgit v1.2.2