From 301965fb77b3dc97445957712b82ce430eaa17e3 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Tue, 25 Apr 2017 13:09:47 -0700 Subject: 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 Reviewed-on: http://git-master/r/1469850 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Lakshmanan M --- drivers/gpu/nvgpu/gk20a/gk20a.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') 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 { struct gk20a_channel_worker { struct nvgpu_thread poll_task; atomic_t put; - wait_queue_head_t wq; + struct nvgpu_cond wq; struct nvgpu_list_node items; struct nvgpu_spinlock items_lock; } channel_worker; -- cgit v1.2.2