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.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index c30a8eaf..c79cc6c8 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -874,8 +874,6 @@ struct gk20a {
874 bool timeouts_enabled; 874 bool timeouts_enabled;
875#endif 875#endif
876 876
877 struct nvgpu_mutex ch_wdt_lock;
878
879 struct nvgpu_mutex poweroff_lock; 877 struct nvgpu_mutex poweroff_lock;
880 878
881 /* Channel priorities */ 879 /* Channel priorities */
@@ -1008,6 +1006,14 @@ struct gk20a {
1008 atomic_t sw_irq_nonstall_last_handled; 1006 atomic_t sw_irq_nonstall_last_handled;
1009 wait_queue_head_t sw_irq_nonstall_last_handled_wq; 1007 wait_queue_head_t sw_irq_nonstall_last_handled_wq;
1010 1008
1009 struct gk20a_channel_worker {
1010 struct task_struct *poll_task;
1011 atomic_t put;
1012 wait_queue_head_t wq;
1013 struct list_head items;
1014 struct nvgpu_spinlock items_lock;
1015 } channel_worker;
1016
1011 struct devfreq *devfreq; 1017 struct devfreq *devfreq;
1012 1018
1013 struct gk20a_scale_profile *scale_profile; 1019 struct gk20a_scale_profile *scale_profile;