From bcab5c148607867eea29e2a2ac82c6b967995525 Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Fri, 16 Mar 2018 15:56:44 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1679706 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index f069b193..79aec7a2 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c @@ -2216,10 +2216,10 @@ bool gk20a_fifo_handle_sched_error(struct gk20a *g) bool verbose = false; if (is_tsg) { - ret = gk20a_fifo_check_tsg_ctxsw_timeout( + ret = g->ops.fifo.check_tsg_ctxsw_timeout( &f->tsg[id], &verbose, &ms); } else { - ret = gk20a_fifo_check_ch_ctxsw_timeout( + ret = g->ops.fifo.check_ch_ctxsw_timeout( &f->channel[id], &verbose, &ms); } -- cgit v1.2.2