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/vgpu/gr_vgpu.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/vgpu/gr_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gr_vgpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c index 2198b115..a001b54e 100644 --- a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c | |||
@@ -925,7 +925,7 @@ int vgpu_gr_isr(struct gk20a *g, struct tegra_vgpu_gr_intr_info *info) | |||
925 | 925 | ||
926 | switch (info->type) { | 926 | switch (info->type) { |
927 | case TEGRA_VGPU_GR_INTR_NOTIFY: | 927 | case TEGRA_VGPU_GR_INTR_NOTIFY: |
928 | wake_up(&ch->notifier_wq); | 928 | nvgpu_cond_broadcast_interruptible(&ch->notifier_wq); |
929 | break; | 929 | break; |
930 | case TEGRA_VGPU_GR_INTR_SEMAPHORE: | 930 | case TEGRA_VGPU_GR_INTR_SEMAPHORE: |
931 | nvgpu_cond_broadcast_interruptible(&ch->semaphore_wq); | 931 | nvgpu_cond_broadcast_interruptible(&ch->semaphore_wq); |