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 | |
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')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/ce2_vgpu.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gr_vgpu.c | 2 |
3 files changed, 3 insertions, 3 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); |
diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c index d81e965c..afe3c24b 100644 --- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | |||
@@ -653,7 +653,7 @@ int vgpu_fifo_nonstall_isr(struct gk20a *g, | |||
653 | 653 | ||
654 | switch (info->type) { | 654 | switch (info->type) { |
655 | case TEGRA_VGPU_FIFO_NONSTALL_INTR_CHANNEL: | 655 | case TEGRA_VGPU_FIFO_NONSTALL_INTR_CHANNEL: |
656 | gk20a_channel_semaphore_wakeup(g); | 656 | gk20a_channel_semaphore_wakeup(g, false); |
657 | break; | 657 | break; |
658 | default: | 658 | default: |
659 | WARN_ON(1); | 659 | WARN_ON(1); |
diff --git a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c index 3baa420f..32e451ed 100644 --- a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c | |||
@@ -919,7 +919,7 @@ int vgpu_gr_nonstall_isr(struct gk20a *g, | |||
919 | 919 | ||
920 | switch (info->type) { | 920 | switch (info->type) { |
921 | case TEGRA_VGPU_GR_NONSTALL_INTR_SEMAPHORE: | 921 | case TEGRA_VGPU_GR_NONSTALL_INTR_SEMAPHORE: |
922 | gk20a_channel_semaphore_wakeup(g); | 922 | gk20a_channel_semaphore_wakeup(g, true); |
923 | break; | 923 | break; |
924 | default: | 924 | default: |
925 | WARN_ON(1); | 925 | WARN_ON(1); |