summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-04-25 16:09:47 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-16 12:14:28 -0400
commit301965fb77b3dc97445957712b82ce430eaa17e3 (patch)
treec0baf9db9312bfa7b0ff27214e2497649768dbbe /drivers/gpu/nvgpu/gk20a/gk20a.h
parent4f0436de19939e7b00d4032e5c58a7095c9e7b7a (diff)
gpu: nvgpu: Use nvgpu_cond in channel worker
Change the channel worker to use nvgpu_cond instead of Linux wait queue. JIRA NVGPU-14 Change-Id: Iac856dca2acfa80065f5d2fd542cd2a6278333a4 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1469850 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Lakshmanan M <lm@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 6d1707a6..c36049b9 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -1166,7 +1166,7 @@ struct gk20a {
1166 struct gk20a_channel_worker { 1166 struct gk20a_channel_worker {
1167 struct nvgpu_thread poll_task; 1167 struct nvgpu_thread poll_task;
1168 atomic_t put; 1168 atomic_t put;
1169 wait_queue_head_t wq; 1169 struct nvgpu_cond wq;
1170 struct nvgpu_list_node items; 1170 struct nvgpu_list_node items;
1171 struct nvgpu_spinlock items_lock; 1171 struct nvgpu_spinlock items_lock;
1172 } channel_worker; 1172 } channel_worker;