summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index f7b98e39..da115fa8 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -54,6 +54,8 @@ struct acr_gm20b;
54 32 ns is the resolution of ptimer. */ 54 32 ns is the resolution of ptimer. */
55#define PTIMER_REF_FREQ_HZ 31250000 55#define PTIMER_REF_FREQ_HZ 31250000
56 56
57#define MAX_INTERLEAVED_CHANNELS 32
58
57struct cooling_device_gk20a { 59struct cooling_device_gk20a {
58 struct thermal_cooling_device *gk20a_cooling_dev; 60 struct thermal_cooling_device *gk20a_cooling_dev;
59 unsigned int gk20a_freq_state; 61 unsigned int gk20a_freq_state;
@@ -512,6 +514,10 @@ struct gk20a {
512 u32 timeslice_low_priority_us; 514 u32 timeslice_low_priority_us;
513 u32 timeslice_medium_priority_us; 515 u32 timeslice_medium_priority_us;
514 u32 timeslice_high_priority_us; 516 u32 timeslice_high_priority_us;
517 u32 interleave_high_priority;
518
519 struct mutex interleave_lock;
520 u32 num_interleaved_channels;
515 521
516 bool slcg_enabled; 522 bool slcg_enabled;
517 bool blcg_enabled; 523 bool blcg_enabled;
@@ -533,9 +539,11 @@ struct gk20a {
533 struct dentry *debugfs_disable_bigpage; 539 struct dentry *debugfs_disable_bigpage;
534 struct dentry *debugfs_gr_default_attrib_cb_size; 540 struct dentry *debugfs_gr_default_attrib_cb_size;
535 541
536 struct dentry * debugfs_timeslice_low_priority_us; 542 struct dentry *debugfs_timeslice_low_priority_us;
537 struct dentry * debugfs_timeslice_medium_priority_us; 543 struct dentry *debugfs_timeslice_medium_priority_us;
538 struct dentry * debugfs_timeslice_high_priority_us; 544 struct dentry *debugfs_timeslice_high_priority_us;
545 struct dentry *debugfs_interleave_high_priority;
546
539#endif 547#endif
540 struct gk20a_ctxsw_ucode_info ctxsw_ucode_info; 548 struct gk20a_ctxsw_ucode_info ctxsw_ucode_info;
541 549