gpu: nvgpu: Wake up the correct workqueue

Wake up the correct workqueue during the nonstalling interrupt
handler. Previously the stalling workqueue was woken up which
lead to any process waiting on the nonstalling workqueue hanging
indefinitely.

Bug 1732449
JIRA DNVGPU-12

Change-Id: I8744ceddd7957bbaee0b8203f9a3aaf8ad3792fc
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1133788
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
Alex Waterman
2016-04-26 17:30:07 -07:00
committed by Terje Bergstrom
parent 4c5e29436d
commit 7790904416

View File

@@ -147,7 +147,7 @@ irqreturn_t mc_gk20a_intr_thread_nonstall(struct gk20a *g)
/* flush previous write */
gk20a_readl(g, mc_intr_en_1_r());
wake_up_all(&g->sw_irq_stall_last_handled_wq);
wake_up_all(&g->sw_irq_nonstall_last_handled_wq);
return IRQ_HANDLED;
}