From d436ad67b60eef68c7d5551b539490f8efb24387 Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Mon, 19 Mar 2018 14:45:14 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1679707 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/gv11b/hal_gv11b.c') diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index fbf8ad61..67b3adbf 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c @@ -531,6 +531,8 @@ static const struct gpu_ops gv11b_ops = { .ch_abort_clean_up = gk20a_channel_abort_clean_up, .check_tsg_ctxsw_timeout = gk20a_fifo_check_tsg_ctxsw_timeout, .check_ch_ctxsw_timeout = gk20a_fifo_check_ch_ctxsw_timeout, + .channel_suspend = gk20a_channel_suspend, + .channel_resume = gk20a_channel_resume, #ifdef CONFIG_TEGRA_GK20A_NVHOST .alloc_syncpt_buf = gv11b_fifo_alloc_syncpt_buf, .free_syncpt_buf = gv11b_fifo_free_syncpt_buf, -- cgit v1.2.2