From 9d04e970937657d11620d812c29a5d10828440fc Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 9 Nov 2017 15:12:41 -0800 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1595431 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/debug.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'drivers/gpu/nvgpu/common/linux/debug.c') 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) 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); -- cgit v1.2.2