diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-25 12:00:47 -0400 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2017-05-04 12:53:40 -0400 |
commit | c43c3f9c2f4def3e2c09a6b837230ded82f1ea27 (patch) | |
tree | 365bee3a4584bc76850b958ecb95abed0c4e5429 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | fc95237cf08975983634fd6d3ad85634f80a8a55 (diff) |
gpu: nvgpu: Use nvgpu_thread for channel worker
Use nvgpu_thread for channel worker.
JIRA NVGPU-14
Change-Id: Idcb93d3096de06a1569dc3ea69890745b5805d67
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1472870
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index c9a2ee93..7ac1d909 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -32,6 +32,7 @@ struct dbg_profiler_object_data; | |||
32 | 32 | ||
33 | #include <linux/sched.h> | 33 | #include <linux/sched.h> |
34 | #include <nvgpu/lock.h> | 34 | #include <nvgpu/lock.h> |
35 | #include <nvgpu/thread.h> | ||
35 | #include <linux/irqreturn.h> | 36 | #include <linux/irqreturn.h> |
36 | #include <linux/version.h> | 37 | #include <linux/version.h> |
37 | #include <linux/cdev.h> | 38 | #include <linux/cdev.h> |
@@ -1142,7 +1143,7 @@ struct gk20a { | |||
1142 | wait_queue_head_t sw_irq_nonstall_last_handled_wq; | 1143 | wait_queue_head_t sw_irq_nonstall_last_handled_wq; |
1143 | 1144 | ||
1144 | struct gk20a_channel_worker { | 1145 | struct gk20a_channel_worker { |
1145 | struct task_struct *poll_task; | 1146 | struct nvgpu_thread poll_task; |
1146 | atomic_t put; | 1147 | atomic_t put; |
1147 | wait_queue_head_t wq; | 1148 | wait_queue_head_t wq; |
1148 | struct nvgpu_list_node items; | 1149 | struct nvgpu_list_node items; |