diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-04-01 16:54:57 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 22:17:38 -0400 |
commit | 029ccf28ec41a3689f0f405cf41547a50334b044 (patch) | |
tree | 051c9522b31d6c8f6998c7599c819f25f0c1b1b5 /drivers/gpu/nvgpu/gk20a | |
parent | 10e97dccc54d4bd271c2de82dfce26b2c161bf94 (diff) |
gpu: nvgpu: Sem wakeup to post event
Add posting a channel event whenever we do a wakeup due to semaphore.
Change-Id: Id1765123de93bcbc0822af7926d7f4e9919ffe10
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/726420
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index 328f49b1..dafed8f8 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -2109,6 +2109,7 @@ void gk20a_channel_semaphore_wakeup(struct gk20a *g) | |||
2109 | for (chid = 0; chid < f->num_channels; chid++) { | 2109 | for (chid = 0; chid < f->num_channels; chid++) { |
2110 | struct channel_gk20a *c = g->fifo.channel+chid; | 2110 | struct channel_gk20a *c = g->fifo.channel+chid; |
2111 | if (c->in_use) { | 2111 | if (c->in_use) { |
2112 | gk20a_channel_event(c); | ||
2112 | wake_up_interruptible_all(&c->semaphore_wq); | 2113 | wake_up_interruptible_all(&c->semaphore_wq); |
2113 | gk20a_channel_update(c, 0); | 2114 | gk20a_channel_update(c, 0); |
2114 | } | 2115 | } |