diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/debug_gk20a.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/debug_gk20a.c b/drivers/gpu/nvgpu/gk20a/debug_gk20a.c index 885f0a83..029fefb8 100644 --- a/drivers/gpu/nvgpu/gk20a/debug_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/debug_gk20a.c | |||
@@ -388,6 +388,23 @@ void gk20a_debug_init(struct device *dev, const char *debugfs_symlink) | |||
388 | S_IRUGO|S_IWUSR, | 388 | S_IRUGO|S_IWUSR, |
389 | platform->debugfs, | 389 | platform->debugfs, |
390 | &g->runlist_interleave); | 390 | &g->runlist_interleave); |
391 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC | ||
392 | g->gr.t18x.ctx_vars.debugfs_force_preemption_gfxp = | ||
393 | debugfs_create_bool("force_preemption_gfxp", S_IRUGO|S_IWUSR, | ||
394 | platform->debugfs, | ||
395 | &g->gr.t18x.ctx_vars.force_preemption_gfxp); | ||
396 | |||
397 | g->gr.t18x.ctx_vars.debugfs_force_preemption_cilp = | ||
398 | debugfs_create_bool("force_preemption_cilp", S_IRUGO|S_IWUSR, | ||
399 | platform->debugfs, | ||
400 | &g->gr.t18x.ctx_vars.force_preemption_cilp); | ||
401 | |||
402 | g->gr.t18x.ctx_vars.debugfs_dump_ctxsw_stats = | ||
403 | debugfs_create_bool("dump_ctxsw_stats_on_channel_close", | ||
404 | S_IRUGO|S_IWUSR, platform->debugfs, | ||
405 | &g->gr.t18x. | ||
406 | ctx_vars.dump_ctxsw_stats_on_channel_close); | ||
407 | #endif | ||
391 | 408 | ||
392 | gr_gk20a_debugfs_init(g); | 409 | gr_gk20a_debugfs_init(g); |
393 | gk20a_pmu_debugfs_init(g->dev); | 410 | gk20a_pmu_debugfs_init(g->dev); |