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>
This commit is contained in:
Richard Zhao
2018-05-24 15:35:12 -07:00
committed by mobile promotions
parent cae514120b
commit 83fd3de461

View File

@@ -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;