summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b
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/gm20b
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/gm20b')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hal_gm20b.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
index fa493192..b41e07f9 100644
--- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
@@ -441,6 +441,8 @@ static const struct gpu_ops gm20b_ops = {
441 .ch_abort_clean_up = gk20a_channel_abort_clean_up, 441 .ch_abort_clean_up = gk20a_channel_abort_clean_up,
442 .check_tsg_ctxsw_timeout = gk20a_fifo_check_tsg_ctxsw_timeout, 442 .check_tsg_ctxsw_timeout = gk20a_fifo_check_tsg_ctxsw_timeout,
443 .check_ch_ctxsw_timeout = gk20a_fifo_check_ch_ctxsw_timeout, 443 .check_ch_ctxsw_timeout = gk20a_fifo_check_ch_ctxsw_timeout,
444 .channel_suspend = gk20a_channel_suspend,
445 .channel_resume = gk20a_channel_resume,
444#ifdef CONFIG_TEGRA_GK20A_NVHOST 446#ifdef CONFIG_TEGRA_GK20A_NVHOST
445 .alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf, 447 .alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf,
446 .free_syncpt_buf = gk20a_fifo_free_syncpt_buf, 448 .free_syncpt_buf = gk20a_fifo_free_syncpt_buf,