diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2015-08-17 06:49:09 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-08-18 16:53:54 -0400 |
commit | db8bce518bcf2a1b46e5897f55469f348a16c9a2 (patch) | |
tree | 0e6f6391244390e6a665c34cb375aa987a26eaba /drivers/gpu/nvgpu/gk20a/hw_timer_gk20a.h | |
parent | 2b0e5ed3615d74afca55454decab79a381dfe5e8 (diff) |
gpu: nvgpu: wakeup semaphores after clearing CE2 interrupt
In gk20a_ce2_nonstall_isr(), we first invoke semaphore workqueue
on all channels and then clear the interrupt
This delay in clearing the interrupt can sometimes lead to
dropping of new interrupt
If that happens, we never invoke gk20a_channel_semaphore_wakeup()
for new semaphore interrupts and semaphore waiting
never completes.
Fix this by moving gk20a_channel_semaphore_wakeup() after
we clear the interrupt
Bug 200131938
Change-Id: I26d72f04a8b49f4a3ac326bf6037cd04c741a920
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/784771
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_timer_gk20a.h')
0 files changed, 0 insertions, 0 deletions