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/gk20a/channel_gk20a.h | |
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/gk20a/channel_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index ca11739e..29c39160 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |||
@@ -215,7 +215,7 @@ void gk20a_disable_channel(struct channel_gk20a *ch); | |||
215 | void gk20a_channel_abort(struct channel_gk20a *ch, bool channel_preempt); | 215 | void gk20a_channel_abort(struct channel_gk20a *ch, bool channel_preempt); |
216 | int gk20a_channel_finish(struct channel_gk20a *ch, unsigned long timeout); | 216 | int gk20a_channel_finish(struct channel_gk20a *ch, unsigned long timeout); |
217 | void gk20a_set_error_notifier(struct channel_gk20a *ch, __u32 error); | 217 | void gk20a_set_error_notifier(struct channel_gk20a *ch, __u32 error); |
218 | void gk20a_channel_semaphore_wakeup(struct gk20a *g); | 218 | void gk20a_channel_semaphore_wakeup(struct gk20a *g, bool post_events); |
219 | int gk20a_channel_alloc_priv_cmdbuf(struct channel_gk20a *c, u32 size, | 219 | int gk20a_channel_alloc_priv_cmdbuf(struct channel_gk20a *c, u32 size, |
220 | struct priv_cmd_entry **entry); | 220 | struct priv_cmd_entry **entry); |
221 | 221 | ||