diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index a9ccd93f..f022e630 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <nvgpu/lock.h> | 24 | #include <nvgpu/lock.h> |
25 | #include <nvgpu/timers.h> | 25 | #include <nvgpu/timers.h> |
26 | #include <nvgpu/cond.h> | 26 | #include <nvgpu/cond.h> |
27 | #include <nvgpu/atomic.h> | ||
27 | 28 | ||
28 | struct gk20a; | 29 | struct gk20a; |
29 | struct gr_gk20a; | 30 | struct gr_gk20a; |
@@ -173,7 +174,7 @@ struct channel_gk20a { | |||
173 | 174 | ||
174 | struct nvgpu_spinlock ref_obtain_lock; | 175 | struct nvgpu_spinlock ref_obtain_lock; |
175 | bool referenceable; | 176 | bool referenceable; |
176 | atomic_t ref_count; | 177 | nvgpu_atomic_t ref_count; |
177 | struct nvgpu_cond ref_count_dec_wq; | 178 | struct nvgpu_cond ref_count_dec_wq; |
178 | #if GK20A_CHANNEL_REFCOUNT_TRACKING | 179 | #if GK20A_CHANNEL_REFCOUNT_TRACKING |
179 | /* | 180 | /* |
@@ -191,7 +192,7 @@ struct channel_gk20a { | |||
191 | 192 | ||
192 | int chid; | 193 | int chid; |
193 | bool wdt_enabled; | 194 | bool wdt_enabled; |
194 | atomic_t bound; | 195 | nvgpu_atomic_t bound; |
195 | bool first_init; | 196 | bool first_init; |
196 | bool vpr; | 197 | bool vpr; |
197 | bool deterministic; | 198 | bool deterministic; |