diff options
author | Richard Zhao <rizhao@nvidia.com> | 2018-03-19 17:45:14 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-29 21:54:20 -0400 |
commit | d436ad67b60eef68c7d5551b539490f8efb24387 (patch) | |
tree | 21283a39c70ca65f96cc2ecaf600e8880cba5083 /drivers/gpu/nvgpu/vgpu/gp10b | |
parent | bcab5c148607867eea29e2a2ac82c6b967995525 (diff) |
gpu: nvgpu: add gops.fifo.channel_suspend/channel_resume
RM Server acts differently for channel suspend/resume.
Jira VQRM-3058
Change-Id: If41e3099164654db448d1157fd7f51dd00c5e201
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1679707
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gp10b')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c index 8b8c630d..ab08e09d 100644 --- a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c +++ b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c | |||
@@ -347,6 +347,8 @@ static const struct gpu_ops vgpu_gp10b_ops = { | |||
347 | .ch_abort_clean_up = gk20a_channel_abort_clean_up, | 347 | .ch_abort_clean_up = gk20a_channel_abort_clean_up, |
348 | .check_tsg_ctxsw_timeout = gk20a_fifo_check_tsg_ctxsw_timeout, | 348 | .check_tsg_ctxsw_timeout = gk20a_fifo_check_tsg_ctxsw_timeout, |
349 | .check_ch_ctxsw_timeout = gk20a_fifo_check_ch_ctxsw_timeout, | 349 | .check_ch_ctxsw_timeout = gk20a_fifo_check_ch_ctxsw_timeout, |
350 | .channel_suspend = gk20a_channel_suspend, | ||
351 | .channel_resume = gk20a_channel_resume, | ||
350 | #ifdef CONFIG_TEGRA_GK20A_NVHOST | 352 | #ifdef CONFIG_TEGRA_GK20A_NVHOST |
351 | .alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf, | 353 | .alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf, |
352 | .free_syncpt_buf = gk20a_fifo_free_syncpt_buf, | 354 | .free_syncpt_buf = gk20a_fifo_free_syncpt_buf, |