From 83fd3de4618f312434aab791d56f15f3c659dab6 Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Thu, 24 May 2018 15:35:12 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1729900 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') 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) if (tsgid == FIFO_INVAL_TSG_ID) continue; - if (gk20a_fifo_check_tsg_ctxsw_timeout( + if (g->ops.fifo.check_tsg_ctxsw_timeout( &f->tsg[tsgid], &verbose, &ms)) { ret = true; -- cgit v1.2.2