mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
gpu: nvgpu: Remove separation of t18x code
Remove separation of t18x specific code and fields and the associated ifdefs. We can build T18x code in always. Change-Id: I4e8eae9c30335632a2da48b418c6138193831b4f Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1595431 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
35ae4194a0
commit
9d04e97093
@@ -364,23 +364,20 @@ void gk20a_debug_init(struct gk20a *g, const char *debugfs_symlink)
|
||||
S_IRUGO|S_IWUSR,
|
||||
l->debugfs,
|
||||
&g->runlist_interleave);
|
||||
#ifdef CONFIG_ARCH_TEGRA_18x_SOC
|
||||
l->debugfs_force_preemption_gfxp =
|
||||
debugfs_create_bool("force_preemption_gfxp", S_IRUGO|S_IWUSR,
|
||||
l->debugfs,
|
||||
&g->gr.t18x.ctx_vars.force_preemption_gfxp);
|
||||
&g->gr.ctx_vars.force_preemption_gfxp);
|
||||
|
||||
l->debugfs_force_preemption_cilp =
|
||||
debugfs_create_bool("force_preemption_cilp", S_IRUGO|S_IWUSR,
|
||||
l->debugfs,
|
||||
&g->gr.t18x.ctx_vars.force_preemption_cilp);
|
||||
&g->gr.ctx_vars.force_preemption_cilp);
|
||||
|
||||
l->debugfs_dump_ctxsw_stats =
|
||||
debugfs_create_bool("dump_ctxsw_stats_on_channel_close",
|
||||
S_IRUGO|S_IWUSR, l->debugfs,
|
||||
&g->gr.t18x.
|
||||
ctx_vars.dump_ctxsw_stats_on_channel_close);
|
||||
#endif
|
||||
&g->gr.ctx_vars.dump_ctxsw_stats_on_channel_close);
|
||||
|
||||
gr_gk20a_debugfs_init(g);
|
||||
gk20a_pmu_debugfs_init(g);
|
||||
|
||||
Reference in New Issue
Block a user