diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2017-05-04 14:17:31 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-10 17:16:01 -0400 |
commit | 8b981f3c64897128fd2a94c03a819bbca5edd4da (patch) | |
tree | f152a228b489bb78fe8a2489ae1dde562853611f /drivers/gpu/nvgpu/tegra/linux | |
parent | a1e80ec509ed650b21e6a58e2ec58b03779dbfb1 (diff) |
gpu: nvgpu: gp10b: create t18x debugfs nodes
Modifed code to create debugfs nodes correctly by
moving relevant code from gp10b_tegra_probe() to
gk20a_debug_init().
Bug 200292090
Change-Id: Ib5d0a57d8b600cd30dc2a37794d8208b5c57ccfa
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/1476484
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/tegra/linux')
-rw-r--r-- | drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c index 01defa00..77b4b536 100644 --- a/drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c +++ b/drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c | |||
@@ -159,23 +159,6 @@ static int gp10b_tegra_probe(struct device *dev) | |||
159 | platform->g->gr.t18x.ctx_vars.force_preemption_gfxp = false; | 159 | platform->g->gr.t18x.ctx_vars.force_preemption_gfxp = false; |
160 | platform->g->gr.t18x.ctx_vars.force_preemption_cilp = false; | 160 | platform->g->gr.t18x.ctx_vars.force_preemption_cilp = false; |
161 | 161 | ||
162 | platform->g->gr.t18x.ctx_vars.debugfs_force_preemption_gfxp = | ||
163 | debugfs_create_bool("force_preemption_gfxp", S_IRUGO|S_IWUSR, | ||
164 | platform->debugfs, | ||
165 | &platform->g->gr.t18x.ctx_vars.force_preemption_gfxp); | ||
166 | |||
167 | platform->g->gr.t18x.ctx_vars.debugfs_force_preemption_cilp = | ||
168 | debugfs_create_bool("force_preemption_cilp", S_IRUGO|S_IWUSR, | ||
169 | platform->debugfs, | ||
170 | &platform->g->gr.t18x.ctx_vars.force_preemption_cilp); | ||
171 | |||
172 | platform->g->gr.t18x.ctx_vars.debugfs_dump_ctxsw_stats = | ||
173 | debugfs_create_bool("dump_ctxsw_stats_on_channel_close", | ||
174 | S_IRUGO|S_IWUSR, | ||
175 | platform->debugfs, | ||
176 | &platform->g->gr.t18x. | ||
177 | ctx_vars.dump_ctxsw_stats_on_channel_close); | ||
178 | |||
179 | platform->g->mm.vidmem_is_vidmem = platform->vidmem_is_vidmem; | 162 | platform->g->mm.vidmem_is_vidmem = platform->vidmem_is_vidmem; |
180 | 163 | ||
181 | gp10b_tegra_get_clocks(dev); | 164 | gp10b_tegra_get_clocks(dev); |