From 029ccf28ec41a3689f0f405cf41547a50334b044 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 1 Apr 2015 13:54:57 -0700 Subject: 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 Reviewed-on: http://git-master/r/726420 --- drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu') 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) for (chid = 0; chid < f->num_channels; chid++) { struct channel_gk20a *c = g->fifo.channel+chid; if (c->in_use) { + gk20a_channel_event(c); wake_up_interruptible_all(&c->semaphore_wq); gk20a_channel_update(c, 0); } -- cgit v1.2.2