diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index 3312f8f1..ea77985e 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |||
@@ -24,6 +24,7 @@ | |||
24 | 24 | ||
25 | #include <nvgpu/lock.h> | 25 | #include <nvgpu/lock.h> |
26 | #include <nvgpu/timers.h> | 26 | #include <nvgpu/timers.h> |
27 | #include <nvgpu/cond.h> | ||
27 | 28 | ||
28 | struct gk20a; | 29 | struct gk20a; |
29 | struct gr_gk20a; | 30 | struct gr_gk20a; |
@@ -169,7 +170,7 @@ struct channel_gk20a { | |||
169 | struct nvgpu_spinlock ref_obtain_lock; | 170 | struct nvgpu_spinlock ref_obtain_lock; |
170 | bool referenceable; | 171 | bool referenceable; |
171 | atomic_t ref_count; | 172 | atomic_t ref_count; |
172 | wait_queue_head_t ref_count_dec_wq; | 173 | struct nvgpu_cond ref_count_dec_wq; |
173 | #if GK20A_CHANNEL_REFCOUNT_TRACKING | 174 | #if GK20A_CHANNEL_REFCOUNT_TRACKING |
174 | /* | 175 | /* |
175 | * Ring buffer for most recent refcount gets and puts. Protected by | 176 | * Ring buffer for most recent refcount gets and puts. Protected by |