From 4dee2dd64c6df38000477cd826ab70508cb8c017 Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Mon, 21 Mar 2016 18:24:49 +0530 Subject: 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 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 --- drivers/gpu/nvgpu/gp10b/ce2_gp10b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gp10b/ce2_gp10b.c') 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) gk20a_dbg(gpu_dbg_intr, "ce2 non-blocking pipe interrupt\n"); /* wake theads waiting in this channel */ - gk20a_channel_semaphore_wakeup(g); + gk20a_channel_semaphore_wakeup(g, true); return ce2_intr_status_nonblockpipe_pending_f(); } -- cgit v1.2.2