summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRichard Zhao <rizhao@nvidia.com>2018-05-24 18:35:12 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-05-25 18:17:18 -0400
commit83fd3de4618f312434aab791d56f15f3c659dab6 (patch)
tree2aba3bc55e50985b469b849c07b9c3662ba88635 /drivers
parentcae514120b2c6420127ac6102a2d3fd5023218d0 (diff)
gpu: nvgpu: gv11b: move to use gops.fifo.check_tsg_ctxsw_timeout
Fixing RM server crash when handles ctxsw timeout. RM server needs to call its own HAL of .check_tsg_ctxsw_timeout. Jira EVLR-2691 Change-Id: Ibbc09cbcda39d44dc2a721c9b270d065e13fa9e2 Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1729900 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gv11b/fifo_gv11b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
index f00e806f..fd014971 100644
--- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
@@ -1458,7 +1458,7 @@ bool gv11b_fifo_handle_ctxsw_timeout(struct gk20a *g, u32 fifo_intr)
1458 if (tsgid == FIFO_INVAL_TSG_ID) 1458 if (tsgid == FIFO_INVAL_TSG_ID)
1459 continue; 1459 continue;
1460 1460
1461 if (gk20a_fifo_check_tsg_ctxsw_timeout( 1461 if (g->ops.fifo.check_tsg_ctxsw_timeout(
1462 &f->tsg[tsgid], &verbose, &ms)) { 1462 &f->tsg[tsgid], &verbose, &ms)) {
1463 ret = true; 1463 ret = true;
1464 1464