summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b
diff options
context:
space:
mode:
authorRichard Zhao <rizhao@nvidia.com>2018-03-19 17:45:14 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-29 21:54:20 -0400
commitd436ad67b60eef68c7d5551b539490f8efb24387 (patch)
tree21283a39c70ca65f96cc2ecaf600e8880cba5083 /drivers/gpu/nvgpu/gp10b
parentbcab5c148607867eea29e2a2ac82c6b967995525 (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/gp10b')
-rw-r--r--drivers/gpu/nvgpu/gp10b/hal_gp10b.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c
index 4db7e557..9238c4d7 100644
--- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c
@@ -473,6 +473,8 @@ static const struct gpu_ops gp10b_ops = {
473 .ch_abort_clean_up = gk20a_channel_abort_clean_up, 473 .ch_abort_clean_up = gk20a_channel_abort_clean_up,
474 .check_tsg_ctxsw_timeout = gk20a_fifo_check_tsg_ctxsw_timeout, 474 .check_tsg_ctxsw_timeout = gk20a_fifo_check_tsg_ctxsw_timeout,
475 .check_ch_ctxsw_timeout = gk20a_fifo_check_ch_ctxsw_timeout, 475 .check_ch_ctxsw_timeout = gk20a_fifo_check_ch_ctxsw_timeout,
476 .channel_suspend = gk20a_channel_suspend,
477 .channel_resume = gk20a_channel_resume,
476#ifdef CONFIG_TEGRA_GK20A_NVHOST 478#ifdef CONFIG_TEGRA_GK20A_NVHOST
477 .alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf, 479 .alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf,
478 .free_syncpt_buf = gk20a_fifo_free_syncpt_buf, 480 .free_syncpt_buf = gk20a_fifo_free_syncpt_buf,