diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 8d9318b2..f7b714f2 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -144,9 +144,7 @@ struct gpu_ops { | |||
144 | struct zbc_entry *s_val, | 144 | struct zbc_entry *s_val, |
145 | u32 index); | 145 | u32 index); |
146 | void (*init_cbc)(struct gk20a *g, struct gr_gk20a *gr); | 146 | void (*init_cbc)(struct gk20a *g, struct gr_gk20a *gr); |
147 | #ifdef CONFIG_DEBUG_FS | 147 | void (*set_enabled)(struct gk20a *g, bool enabled); |
148 | void (*sync_debugfs)(struct gk20a *g); | ||
149 | #endif | ||
150 | void (*init_fs_state)(struct gk20a *g); | 148 | void (*init_fs_state)(struct gk20a *g); |
151 | void (*isr)(struct gk20a *g); | 149 | void (*isr)(struct gk20a *g); |
152 | u32 (*cbc_fix_config)(struct gk20a *g, int base); | 150 | u32 (*cbc_fix_config)(struct gk20a *g, int base); |
@@ -1147,8 +1145,9 @@ struct gk20a { | |||
1147 | 1145 | ||
1148 | u32 emc3d_ratio; | 1146 | u32 emc3d_ratio; |
1149 | 1147 | ||
1148 | struct nvgpu_spinlock ltc_enabled_lock; | ||
1149 | |||
1150 | #ifdef CONFIG_DEBUG_FS | 1150 | #ifdef CONFIG_DEBUG_FS |
1151 | struct nvgpu_spinlock debugfs_lock; | ||
1152 | struct dentry *debugfs_ltc_enabled; | 1151 | struct dentry *debugfs_ltc_enabled; |
1153 | struct dentry *debugfs_timeouts_enabled; | 1152 | struct dentry *debugfs_timeouts_enabled; |
1154 | struct dentry *debugfs_gr_idle_timeout_default; | 1153 | struct dentry *debugfs_gr_idle_timeout_default; |