diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2014-09-03 09:10:28 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:13 -0400 |
commit | 48e19c6c2857047a1d0f56d98bbe48dcd4726fcd (patch) | |
tree | e7f730a65e7e1731fa5713111f1aaada345f77ba /drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | |
parent | 3ef352a05a027231d9cb88b63f465e6a0da89759 (diff) |
gpu: nvgpu: add API to preempt TSG
Add API gk20a_fifo_preempt_tsg() which takes ID of tsg
and preempts it
Bug 1514064
Bug 1470692
Change-Id: I1d52c1dd7a9aecc1314b0f223fe4eedecc033629
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/495583
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h index bed8a361..04d22abb 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | |||
@@ -146,6 +146,7 @@ void gk20a_fifo_isr(struct gk20a *g); | |||
146 | void gk20a_fifo_nonstall_isr(struct gk20a *g); | 146 | void gk20a_fifo_nonstall_isr(struct gk20a *g); |
147 | 147 | ||
148 | int gk20a_fifo_preempt_channel(struct gk20a *g, u32 hw_chid); | 148 | int gk20a_fifo_preempt_channel(struct gk20a *g, u32 hw_chid); |
149 | int gk20a_fifo_preempt_tsg(struct gk20a *g, u32 tsgid); | ||
149 | 150 | ||
150 | int gk20a_fifo_enable_engine_activity(struct gk20a *g, | 151 | int gk20a_fifo_enable_engine_activity(struct gk20a *g, |
151 | struct fifo_engine_info_gk20a *eng_info); | 152 | struct fifo_engine_info_gk20a *eng_info); |