summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/debug.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/debug.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/debug.c b/drivers/gpu/nvgpu/common/linux/debug.c
index e085aed4..a846493e 100644
--- a/drivers/gpu/nvgpu/common/linux/debug.c
+++ b/drivers/gpu/nvgpu/common/linux/debug.c
@@ -275,15 +275,10 @@ void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink)
275 debugfs_create_u32("log_trace", S_IRUGO|S_IWUSR, 275 debugfs_create_u32("log_trace", S_IRUGO|S_IWUSR,
276 platform->debugfs, &g->log_trace); 276 platform->debugfs, &g->log_trace);
277 277
278 nvgpu_spinlock_init(&g->debugfs_lock);
279
280 g->mm.ltc_enabled = true;
281 g->mm.ltc_enabled_debug = true;
282
283 g->debugfs_ltc_enabled = 278 g->debugfs_ltc_enabled =
284 debugfs_create_bool("ltc_enabled", S_IRUGO|S_IWUSR, 279 debugfs_create_bool("ltc_enabled", S_IRUGO|S_IWUSR,
285 platform->debugfs, 280 platform->debugfs,
286 &g->mm.ltc_enabled_debug); 281 &g->mm.ltc_enabled_target);
287 282
288 g->debugfs_gr_idle_timeout_default = 283 g->debugfs_gr_idle_timeout_default =
289 debugfs_create_u32("gr_idle_timeout_default_us", 284 debugfs_create_u32("gr_idle_timeout_default_us",