diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2016-03-17 10:48:06 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-04-07 11:45:47 -0400 |
commit | 16658fd39da9021aeec08fe11c56d7877f723da7 (patch) | |
tree | d3368a04f4ab88382e72ddfbc3ab14efae5ecbe5 /drivers/gpu/nvgpu/vgpu/ce2_vgpu.c | |
parent | ce04ae15bb0952ce994cb6842ac6e6f34e85d064 (diff) |
gpu: nvgpu: post BPT_INT/PAUSE and BLOCKING_SYNC events
Post EVENT_ID_BPT_INT when bpt.int is pending
Post EVENT_ID_BPT_PAUSE when bpt.pause is pending
Post EVENT_ID_BLOCKING_SYNC whenever there is
non-stalling semaphore interrupt indicating work
completion from GR/CE2 engine
Bug 200089620
Change-Id: I91b7bf48f8585f0d318298fc0c4a66d42055f0a7
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1112274
(cherry picked from commit d2b744b1f9acac56435cd7e7ab9a7a845579ef24)
Reviewed-on: http://git-master/r/1120321
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/ce2_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/ce2_vgpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/ce2_vgpu.c b/drivers/gpu/nvgpu/vgpu/ce2_vgpu.c index 631461f9..5291e0f5 100644 --- a/drivers/gpu/nvgpu/vgpu/ce2_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/ce2_vgpu.c | |||
@@ -22,7 +22,7 @@ int vgpu_ce2_nonstall_isr(struct gk20a *g, | |||
22 | 22 | ||
23 | switch (info->type) { | 23 | switch (info->type) { |
24 | case TEGRA_VGPU_CE2_NONSTALL_INTR_NONBLOCKPIPE: | 24 | case TEGRA_VGPU_CE2_NONSTALL_INTR_NONBLOCKPIPE: |
25 | gk20a_channel_semaphore_wakeup(g); | 25 | gk20a_channel_semaphore_wakeup(g, true); |
26 | break; | 26 | break; |
27 | default: | 27 | default: |
28 | WARN_ON(1); | 28 | WARN_ON(1); |