diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-25 16:54:58 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-05 16:53:13 -0400 |
commit | 0ebe462c130108a027f85bcb6736fed2ef74204e (patch) | |
tree | db2a81adb9fbf8d7dd605b6931cbb8fff075ec01 /drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |
parent | 673dd971600b26131c0afdb221e13c080da022fd (diff) |
gpu: nvgpu: Use nvgpu_cond in notifier wq
Change notifier wait queue to use nvgpu_cond instead of Linux wait
queue.
JIRA NVGPU-14
Change-Id: I197a0ef6c0a2331ca0dbb3480bdb89d45ba73020
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1469853
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index 46560a56..9141264b 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |||
@@ -1358,7 +1358,7 @@ static void gk20a_fifo_set_has_timedout_and_wake_up_wqs(struct gk20a *g, | |||
1358 | wmb(); | 1358 | wmb(); |
1359 | /* unblock pending waits */ | 1359 | /* unblock pending waits */ |
1360 | nvgpu_cond_broadcast_interruptible(&refch->semaphore_wq); | 1360 | nvgpu_cond_broadcast_interruptible(&refch->semaphore_wq); |
1361 | wake_up(&refch->notifier_wq); | 1361 | nvgpu_cond_broadcast_interruptible(&refch->notifier_wq); |
1362 | } | 1362 | } |
1363 | } | 1363 | } |
1364 | 1364 | ||