summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/os_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/os_linux.h')
-rw-r--r--drivers/gpu/nvgpu/common/linux/os_linux.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/os_linux.h b/drivers/gpu/nvgpu/common/linux/os_linux.h
index 8f304fe3..d7fdfa78 100644
--- a/drivers/gpu/nvgpu/common/linux/os_linux.h
+++ b/drivers/gpu/nvgpu/common/linux/os_linux.h
@@ -83,6 +83,30 @@ struct nvgpu_os_linux {
83 83
84 struct work_struct nonstall_fn_work; 84 struct work_struct nonstall_fn_work;
85 struct workqueue_struct *nonstall_work_queue; 85 struct workqueue_struct *nonstall_work_queue;
86
87#ifdef CONFIG_DEBUG_FS
88 struct dentry *debugfs;
89 struct dentry *debugfs_alias;
90
91 struct dentry *debugfs_ltc_enabled;
92 struct dentry *debugfs_timeouts_enabled;
93 struct dentry *debugfs_gr_idle_timeout_default;
94 struct dentry *debugfs_bypass_smmu;
95 struct dentry *debugfs_disable_bigpage;
96 struct dentry *debugfs_gr_default_attrib_cb_size;
97
98 struct dentry *debugfs_timeslice_low_priority_us;
99 struct dentry *debugfs_timeslice_medium_priority_us;
100 struct dentry *debugfs_timeslice_high_priority_us;
101 struct dentry *debugfs_runlist_interleave;
102 struct dentry *debugfs_allocators;
103 struct dentry *debugfs_xve;
104 struct dentry *debugfs_kmem;
105
106 struct dentry *debugfs_force_preemption_cilp;
107 struct dentry *debugfs_force_preemption_gfxp;
108 struct dentry *debugfs_dump_ctxsw_stats;
109#endif
86}; 110};
87 111
88static inline struct nvgpu_os_linux *nvgpu_os_linux_from_gk20a(struct gk20a *g) 112static inline struct nvgpu_os_linux *nvgpu_os_linux_from_gk20a(struct gk20a *g)