diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c index 44b27fe7..2f81378d 100644 --- a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c +++ b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c | |||
@@ -53,6 +53,30 @@ static int gp10b_tegra_probe(struct platform_device *pdev) | |||
53 | platform->bypass_smmu = !device_is_iommuable(&pdev->dev); | 53 | platform->bypass_smmu = !device_is_iommuable(&pdev->dev); |
54 | platform->disable_bigpage = platform->bypass_smmu; | 54 | platform->disable_bigpage = platform->bypass_smmu; |
55 | 55 | ||
56 | platform->g->gr.t18x.ctx_vars.dump_ctxsw_stats_on_channel_close | ||
57 | = false; | ||
58 | platform->g->gr.t18x.ctx_vars.dump_ctxsw_stats_on_channel_close | ||
59 | = false; | ||
60 | |||
61 | platform->g->gr.t18x.ctx_vars.force_preemption_gfxp = false; | ||
62 | platform->g->gr.t18x.ctx_vars.force_preemption_cilp = false; | ||
63 | |||
64 | platform->g->gr.t18x.ctx_vars.debugfs_force_preemption_gfxp = | ||
65 | debugfs_create_bool("force_preemption_gfxp", S_IRUGO|S_IWUSR, | ||
66 | platform->debugfs, | ||
67 | &platform->g->gr.t18x.ctx_vars.force_preemption_gfxp); | ||
68 | |||
69 | platform->g->gr.t18x.ctx_vars.debugfs_force_preemption_cilp = | ||
70 | debugfs_create_bool("force_preemption_cilp", S_IRUGO|S_IWUSR, | ||
71 | platform->debugfs, | ||
72 | &platform->g->gr.t18x.ctx_vars.force_preemption_cilp); | ||
73 | |||
74 | platform->g->gr.t18x.ctx_vars.debugfs_dump_ctxsw_stats = | ||
75 | debugfs_create_bool("dump_ctxsw_stats_on_channel_close", | ||
76 | S_IRUGO|S_IWUSR, | ||
77 | platform->debugfs, | ||
78 | &platform->g->gr.t18x. | ||
79 | ctx_vars.dump_ctxsw_stats_on_channel_close); | ||
56 | return 0; | 80 | return 0; |
57 | } | 81 | } |
58 | 82 | ||