summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c
diff options
context:
space:
mode:
authorRichard Zhao <rizhao@nvidia.com>2018-03-16 18:56:44 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-29 21:54:11 -0400
commitbcab5c148607867eea29e2a2ac82c6b967995525 (patch)
tree3b6d79621678a0583333b26a923336f9adbd05ca /drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c
parentc5f03db98a20eb4e8b83fd350d293aab6986beff (diff)
gpu: nvgpu: add gops.fifo.check_tsg_ctxsw_timeout/check_ch_ctxsw_timeout
RM Server acts differently for ctxsw timeout check. It won't check GP_GET or accumulated timeouts, but notify guest and go to recovery. Jira VQRM-3058 Change-Id: I428aea34dc517311eb7e73feb556145e916309fb Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1679706 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c2
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 819ca852..8b8c630d 100644
--- a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c
+++ b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c
@@ -345,6 +345,8 @@ static const struct gpu_ops vgpu_gp10b_ops = {
345 .tsg_unbind_channel = vgpu_tsg_unbind_channel, 345 .tsg_unbind_channel = vgpu_tsg_unbind_channel,
346 .post_event_id = gk20a_tsg_event_id_post_event, 346 .post_event_id = gk20a_tsg_event_id_post_event,
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,
349 .check_ch_ctxsw_timeout = gk20a_fifo_check_ch_ctxsw_timeout,
348#ifdef CONFIG_TEGRA_GK20A_NVHOST 350#ifdef CONFIG_TEGRA_GK20A_NVHOST
349 .alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf, 351 .alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf,
350 .free_syncpt_buf = gk20a_fifo_free_syncpt_buf, 352 .free_syncpt_buf = gk20a_fifo_free_syncpt_buf,