summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2018-05-23 04:10:46 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-05-25 18:16:07 -0400
commit45d0a9c711d50290eb3e8297ab9b5c4a5161f242 (patch)
treef9d7150b3ee8b11aa05eb886b57fe0ad87d82759 /drivers
parentf1ae1a9c73364326f5aa5f9deaf06a9254cb90d0 (diff)
gpu: nvgpu: remove empty gk20a_mm_debugfs_init
gk20a_mm_debugfs_init() used to initialize one mm-specific debugfs knob, but now that there aren't any, delete the function and the related files. Change-Id: Ic3177945bbab501c506b5199b44c87450df75452 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1729530 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/Makefile1
-rw-r--r--drivers/gpu/nvgpu/common/linux/debug.c2
-rw-r--r--drivers/gpu/nvgpu/common/linux/debug_mm.c22
-rw-r--r--drivers/gpu/nvgpu/common/linux/debug_mm.h21
4 files changed, 0 insertions, 46 deletions
diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile
index 0aacc1e6..6b4fc505 100644
--- a/drivers/gpu/nvgpu/Makefile
+++ b/drivers/gpu/nvgpu/Makefile
@@ -146,7 +146,6 @@ nvgpu-$(CONFIG_DEBUG_FS) += \
146 common/linux/debug_ce.o \ 146 common/linux/debug_ce.o \
147 common/linux/debug_pmu.o \ 147 common/linux/debug_pmu.o \
148 common/linux/debug_sched.o \ 148 common/linux/debug_sched.o \
149 common/linux/debug_mm.o \
150 common/linux/debug_allocator.o \ 149 common/linux/debug_allocator.o \
151 common/linux/debug_hal.o \ 150 common/linux/debug_hal.o \
152 common/linux/debug_clk.o \ 151 common/linux/debug_clk.o \
diff --git a/drivers/gpu/nvgpu/common/linux/debug.c b/drivers/gpu/nvgpu/common/linux/debug.c
index 87b35dc1..ee93a901 100644
--- a/drivers/gpu/nvgpu/common/linux/debug.c
+++ b/drivers/gpu/nvgpu/common/linux/debug.c
@@ -16,7 +16,6 @@
16#include "debug_ce.h" 16#include "debug_ce.h"
17#include "debug_fifo.h" 17#include "debug_fifo.h"
18#include "debug_gr.h" 18#include "debug_gr.h"
19#include "debug_mm.h"
20#include "debug_allocator.h" 19#include "debug_allocator.h"
21#include "debug_kmem.h" 20#include "debug_kmem.h"
22#include "debug_pmu.h" 21#include "debug_pmu.h"
@@ -433,7 +432,6 @@ void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink)
433 gk20a_ce_debugfs_init(g); 432 gk20a_ce_debugfs_init(g);
434 nvgpu_alloc_debugfs_init(g); 433 nvgpu_alloc_debugfs_init(g);
435 nvgpu_hal_debugfs_init(g); 434 nvgpu_hal_debugfs_init(g);
436 gk20a_mm_debugfs_init(g);
437 gk20a_fifo_debugfs_init(g); 435 gk20a_fifo_debugfs_init(g);
438 gk20a_sched_debugfs_init(g); 436 gk20a_sched_debugfs_init(g);
439#ifdef CONFIG_NVGPU_TRACK_MEM_USAGE 437#ifdef CONFIG_NVGPU_TRACK_MEM_USAGE
diff --git a/drivers/gpu/nvgpu/common/linux/debug_mm.c b/drivers/gpu/nvgpu/common/linux/debug_mm.c
deleted file mode 100644
index 5a3510bf..00000000
--- a/drivers/gpu/nvgpu/common/linux/debug_mm.c
+++ /dev/null
@@ -1,22 +0,0 @@
1/*
2 * Copyright (C) 2017 NVIDIA Corporation. All rights reserved.
3 *
4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and
6 * may be copied, distributed, and modified under those terms.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 */
14
15#include "debug_mm.h"
16#include "os_linux.h"
17
18#include <linux/debugfs.h>
19
20void gk20a_mm_debugfs_init(struct gk20a *g)
21{
22}
diff --git a/drivers/gpu/nvgpu/common/linux/debug_mm.h b/drivers/gpu/nvgpu/common/linux/debug_mm.h
deleted file mode 100644
index bf7bc985..00000000
--- a/drivers/gpu/nvgpu/common/linux/debug_mm.h
+++ /dev/null
@@ -1,21 +0,0 @@
1/*
2 * Copyright (C) 2017 NVIDIA Corporation. All rights reserved.
3 *
4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and
6 * may be copied, distributed, and modified under those terms.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 */
14
15#ifndef __NVGPU_DEBUG_MM_H__
16#define __NVGPU_DEBUG_MM_H__
17
18struct gk20a;
19void gk20a_mm_debugfs_init(struct gk20a *g);
20
21#endif /* __NVGPU_DEBUG_MM_H__ */