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.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/debug.c b/drivers/gpu/nvgpu/common/linux/debug.c
index 7a4e4e9f..fb07df5b 100644
--- a/drivers/gpu/nvgpu/common/linux/debug.c
+++ b/drivers/gpu/nvgpu/common/linux/debug.c
@@ -364,23 +364,20 @@ void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink)
364 S_IRUGO|S_IWUSR, 364 S_IRUGO|S_IWUSR,
365 l->debugfs, 365 l->debugfs,
366 &g->runlist_interleave); 366 &g->runlist_interleave);
367#ifdef CONFIG_ARCH_TEGRA_18x_SOC
368 l->debugfs_force_preemption_gfxp = 367 l->debugfs_force_preemption_gfxp =
369 debugfs_create_bool("force_preemption_gfxp", S_IRUGO|S_IWUSR, 368 debugfs_create_bool("force_preemption_gfxp", S_IRUGO|S_IWUSR,
370 l->debugfs, 369 l->debugfs,
371 &g->gr.t18x.ctx_vars.force_preemption_gfxp); 370 &g->gr.ctx_vars.force_preemption_gfxp);
372 371
373 l->debugfs_force_preemption_cilp = 372 l->debugfs_force_preemption_cilp =
374 debugfs_create_bool("force_preemption_cilp", S_IRUGO|S_IWUSR, 373 debugfs_create_bool("force_preemption_cilp", S_IRUGO|S_IWUSR,
375 l->debugfs, 374 l->debugfs,
376 &g->gr.t18x.ctx_vars.force_preemption_cilp); 375 &g->gr.ctx_vars.force_preemption_cilp);
377 376
378 l->debugfs_dump_ctxsw_stats = 377 l->debugfs_dump_ctxsw_stats =
379 debugfs_create_bool("dump_ctxsw_stats_on_channel_close", 378 debugfs_create_bool("dump_ctxsw_stats_on_channel_close",
380 S_IRUGO|S_IWUSR, l->debugfs, 379 S_IRUGO|S_IWUSR, l->debugfs,
381 &g->gr.t18x. 380 &g->gr.ctx_vars.dump_ctxsw_stats_on_channel_close);
382 ctx_vars.dump_ctxsw_stats_on_channel_close);
383#endif
384 381
385 gr_gk20a_debugfs_init(g); 382 gr_gk20a_debugfs_init(g);
386 gk20a_pmu_debugfs_init(g); 383 gk20a_pmu_debugfs_init(g);