diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-04-04 05:00:15 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-10 02:54:32 -0400 |
commit | 92ab6c3bbc4f3bd7d355981b6e13a2eebff4d7d1 (patch) | |
tree | 04c7ca9c089703b7de01c943e3da0494cd8aa467 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 692b56aa4b2fd55962549986012a4e08b347b188 (diff) |
gpu: nvgpu: use nvgpu list for pending semaphore waits
Use nvgpu list APIs instead of linux list APIs
to store pending semaphore waits
Jira NVGPU-13
Change-Id: I42fc6c6233e39f475a939ddd6a81c0cda851b6bf
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1454693
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index bfb8b204..9d931520 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1009,7 +1009,7 @@ struct gk20a { | |||
1009 | struct nvgpu_semaphore_sea *sema_sea; | 1009 | struct nvgpu_semaphore_sea *sema_sea; |
1010 | 1010 | ||
1011 | /* List of pending SW semaphore waits. */ | 1011 | /* List of pending SW semaphore waits. */ |
1012 | struct list_head pending_sema_waits; | 1012 | struct nvgpu_list_node pending_sema_waits; |
1013 | struct nvgpu_raw_spinlock pending_sema_waits_lock; | 1013 | struct nvgpu_raw_spinlock pending_sema_waits_lock; |
1014 | 1014 | ||
1015 | /* held while manipulating # of debug/profiler sessions present */ | 1015 | /* held while manipulating # of debug/profiler sessions present */ |