summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
index 79cea30c..8a87e4cb 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
@@ -413,8 +413,8 @@ static int gk20a_channel_wait_semaphore(struct channel_gk20a *ch,
413 413
414 semaphore = data + (offset & ~PAGE_MASK); 414 semaphore = data + (offset & ~PAGE_MASK);
415 415
416 remain = wait_event_interruptible_timeout( 416 remain = NVGPU_COND_WAIT_INTERRUPTIBLE(
417 ch->semaphore_wq, 417 &ch->semaphore_wq,
418 *semaphore == payload || ch->has_timedout, 418 *semaphore == payload || ch->has_timedout,
419 timeout); 419 timeout);
420 420