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/channel_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/channel_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index 13abed95..fad6b6af 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -867,7 +867,7 @@ struct channel_gk20a *gk20a_open_new_channel(struct gk20a *g, | |||
867 | /* The channel is *not* runnable at this point. It still needs to have | 867 | /* The channel is *not* runnable at this point. It still needs to have |
868 | * an address space bound and allocate a gpfifo and grctx. */ | 868 | * an address space bound and allocate a gpfifo and grctx. */ |
869 | 869 | ||
870 | init_waitqueue_head(&ch->notifier_wq); | 870 | nvgpu_cond_init(&ch->notifier_wq); |
871 | nvgpu_cond_init(&ch->semaphore_wq); | 871 | nvgpu_cond_init(&ch->semaphore_wq); |
872 | 872 | ||
873 | ch->update_fn = NULL; | 873 | ch->update_fn = NULL; |