summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/ce2_gp10b.c
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2016-03-21 08:54:49 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:11 -0500
commit4dee2dd64c6df38000477cd826ab70508cb8c017 (patch)
treeb886b60f06695434a550024f392844e026b0eeed /drivers/gpu/nvgpu/gp10b/ce2_gp10b.c
parenta94e6e72e64f3a0daed1baf26a023ee841d032e7 (diff)
gpu: nvgpu: post CILP_PREEMPTION_STARTED/COMPLETE events
Remove posting of events using old channel event API i.e. gk20a_channel_post_event() Also, update gk20a_channel_semaphore_wakeup() to post events when called from ce2_nonblockpipe_isr() Bug 200089620 Change-Id: I677cdab11183a649663ff9272a527c63b9994430 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1112275 (cherry picked from commit 4840efda393cd5928f1a8463db8b52cc586860bc) Reviewed-on: http://git-master/r/1120289 GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/ce2_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/ce2_gp10b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/ce2_gp10b.c b/drivers/gpu/nvgpu/gp10b/ce2_gp10b.c
index b2d417b7..4cb13f3b 100644
--- a/drivers/gpu/nvgpu/gp10b/ce2_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/ce2_gp10b.c
@@ -26,7 +26,7 @@ static u32 ce2_nonblockpipe_isr(struct gk20a *g, u32 fifo_intr)
26 gk20a_dbg(gpu_dbg_intr, "ce2 non-blocking pipe interrupt\n"); 26 gk20a_dbg(gpu_dbg_intr, "ce2 non-blocking pipe interrupt\n");
27 27
28 /* wake theads waiting in this channel */ 28 /* wake theads waiting in this channel */
29 gk20a_channel_semaphore_wakeup(g); 29 gk20a_channel_semaphore_wakeup(g, true);
30 return ce2_intr_status_nonblockpipe_pending_f(); 30 return ce2_intr_status_nonblockpipe_pending_f();
31} 31}
32 32