summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-04-25 16:51:27 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-16 13:24:57 -0400
commit80a6291c9c5e373a3a534ba100b616b6789fb568 (patch)
tree20a5c5c3c1ea0933fa9db6af61a89c2ebd027ae0 /drivers/gpu/nvgpu/vgpu/gr_vgpu.c
parent7bc97ca7d5e0cee265014ce5fd682858c3b63629 (diff)
gpu: nvgpu: Use nvgpu_cond in semaphore wq
Change semaphore wait queue to use nvgpu_cond instead of Linux wait queue. JIRA NVGPU-14 Change-Id: I3be5097ded168300b4480e986218d9f4fd6104b1 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1469852 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gr_vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gr_vgpu.c2
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 2a674feb..c7960c1f 100644
--- a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c
@@ -928,7 +928,7 @@ int vgpu_gr_isr(struct gk20a *g, struct tegra_vgpu_gr_intr_info *info)
928 wake_up(&ch->notifier_wq); 928 wake_up(&ch->notifier_wq);
929 break; 929 break;
930 case TEGRA_VGPU_GR_INTR_SEMAPHORE: 930 case TEGRA_VGPU_GR_INTR_SEMAPHORE:
931 wake_up_interruptible_all(&ch->semaphore_wq); 931 nvgpu_cond_broadcast_interruptible(&ch->semaphore_wq);
932 break; 932 break;
933 case TEGRA_VGPU_GR_INTR_SEMAPHORE_TIMEOUT: 933 case TEGRA_VGPU_GR_INTR_SEMAPHORE_TIMEOUT:
934 gk20a_set_error_notifier(ch, 934 gk20a_set_error_notifier(ch,