diff options
author | Richard Zhao <rizhao@nvidia.com> | 2017-12-05 18:48:22 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-12-10 13:36:39 -0500 |
commit | fa1b18c171aba0f8bb674ccc8c60ae81213a16f6 (patch) | |
tree | 6c1204b817e052416da00400a713a66d0418cf1b /drivers/gpu/nvgpu/common/linux/vgpu/fifo_vgpu.h | |
parent | 7f0aa103eaba5f1ad9c928066c8abe69ef734626 (diff) |
gpu: nvgpu: vgpu: add tsg release command
gv11b needs tsg release callback to release CE method buffer.
Bug 2022929
Change-Id: I32e27a5fa49eb61b9c2fc72ea32034191a9be48e
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1611631
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Fleury <tfleury@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aparna Das <aparnad@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/fifo_vgpu.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/fifo_vgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/fifo_vgpu.h b/drivers/gpu/nvgpu/common/linux/vgpu/fifo_vgpu.h index 62a3a256..5aefb356 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/fifo_vgpu.h +++ b/drivers/gpu/nvgpu/common/linux/vgpu/fifo_vgpu.h | |||
@@ -50,6 +50,7 @@ int vgpu_fifo_force_reset_ch(struct channel_gk20a *ch, | |||
50 | u32 err_code, bool verbose); | 50 | u32 err_code, bool verbose); |
51 | u32 vgpu_fifo_default_timeslice_us(struct gk20a *g); | 51 | u32 vgpu_fifo_default_timeslice_us(struct gk20a *g); |
52 | int vgpu_tsg_open(struct tsg_gk20a *tsg); | 52 | int vgpu_tsg_open(struct tsg_gk20a *tsg); |
53 | void vgpu_tsg_release(struct tsg_gk20a *tsg); | ||
53 | int vgpu_tsg_bind_channel(struct tsg_gk20a *tsg, | 54 | int vgpu_tsg_bind_channel(struct tsg_gk20a *tsg, |
54 | struct channel_gk20a *ch); | 55 | struct channel_gk20a *ch); |
55 | int vgpu_tsg_unbind_channel(struct channel_gk20a *ch); | 56 | int vgpu_tsg_unbind_channel(struct channel_gk20a *ch); |