summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-04-25 16:54:58 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-05 16:53:13 -0400
commit0ebe462c130108a027f85bcb6736fed2ef74204e (patch)
treedb2a81adb9fbf8d7dd605b6931cbb8fff075ec01 /drivers/gpu/nvgpu/gk20a/gr_gk20a.c
parent673dd971600b26131c0afdb221e13c080da022fd (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/gr_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index 2cf55119..f8e05818 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -5873,7 +5873,7 @@ static int gk20a_gr_handle_notify_pending(struct gk20a *g,
5873 nvgpu_mutex_release(&ch->cyclestate.cyclestate_buffer_mutex); 5873 nvgpu_mutex_release(&ch->cyclestate.cyclestate_buffer_mutex);
5874#endif 5874#endif
5875 gk20a_dbg_fn(""); 5875 gk20a_dbg_fn("");
5876 wake_up(&ch->notifier_wq); 5876 nvgpu_cond_broadcast_interruptible(&ch->notifier_wq);
5877 return 0; 5877 return 0;
5878} 5878}
5879 5879