diff options
author | Richard Zhao <rizhao@nvidia.com> | 2018-03-16 18:56:44 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-29 21:54:11 -0400 |
commit | bcab5c148607867eea29e2a2ac82c6b967995525 (patch) | |
tree | 3b6d79621678a0583333b26a923336f9adbd05ca /drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |
parent | c5f03db98a20eb4e8b83fd350d293aab6986beff (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/gk20a/fifo_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
2216 | bool verbose = false; | 2216 | bool verbose = false; |
2217 | 2217 | ||
2218 | if (is_tsg) { | 2218 | if (is_tsg) { |
2219 | ret = gk20a_fifo_check_tsg_ctxsw_timeout( | 2219 | ret = g->ops.fifo.check_tsg_ctxsw_timeout( |
2220 | &f->tsg[id], &verbose, &ms); | 2220 | &f->tsg[id], &verbose, &ms); |
2221 | } else { | 2221 | } else { |
2222 | ret = gk20a_fifo_check_ch_ctxsw_timeout( | 2222 | ret = g->ops.fifo.check_ch_ctxsw_timeout( |
2223 | &f->channel[id], &verbose, &ms); | 2223 | &f->channel[id], &verbose, &ms); |
2224 | } | 2224 | } |
2225 | 2225 | ||