diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fence_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fence_gk20a.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fence_gk20a.h b/drivers/gpu/nvgpu/gk20a/fence_gk20a.h index 87fa9fdb..c479f359 100644 --- a/drivers/gpu/nvgpu/gk20a/fence_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/fence_gk20a.h | |||
@@ -17,8 +17,6 @@ | |||
17 | #ifndef _GK20A_FENCE_H_ | 17 | #ifndef _GK20A_FENCE_H_ |
18 | #define _GK20A_FENCE_H_ | 18 | #define _GK20A_FENCE_H_ |
19 | 19 | ||
20 | #include <linux/wait.h> | ||
21 | |||
22 | #include <nvgpu/kref.h> | 20 | #include <nvgpu/kref.h> |
23 | 21 | ||
24 | struct platform_device; | 22 | struct platform_device; |
@@ -42,7 +40,7 @@ struct gk20a_fence { | |||
42 | 40 | ||
43 | /* Valid for fences created from semaphores: */ | 41 | /* Valid for fences created from semaphores: */ |
44 | struct nvgpu_semaphore *semaphore; | 42 | struct nvgpu_semaphore *semaphore; |
45 | wait_queue_head_t *semaphore_wq; | 43 | struct nvgpu_cond *semaphore_wq; |
46 | 44 | ||
47 | /* Valid for fences created from syncpoints: */ | 45 | /* Valid for fences created from syncpoints: */ |
48 | struct platform_device *host1x_pdev; | 46 | struct platform_device *host1x_pdev; |
@@ -59,7 +57,7 @@ int gk20a_fence_from_semaphore( | |||
59 | struct gk20a_fence *fence_out, | 57 | struct gk20a_fence *fence_out, |
60 | struct sync_timeline *timeline, | 58 | struct sync_timeline *timeline, |
61 | struct nvgpu_semaphore *semaphore, | 59 | struct nvgpu_semaphore *semaphore, |
62 | wait_queue_head_t *semaphore_wq, | 60 | struct nvgpu_cond *semaphore_wq, |
63 | bool wfi, bool need_sync_fence); | 61 | bool wfi, bool need_sync_fence); |
64 | 62 | ||
65 | int gk20a_fence_from_syncpt( | 63 | int gk20a_fence_from_syncpt( |