gpu: nvgpu: move ch and tsg specific ctxsw timeout

Move check_ch_ctxsw_timeout under channel ops as
check_ctxsw_timeout

Move check_tsg_ctxsw_timeout under tsg ops as
check_ctxsw_timeout

JIRA NVGPU-1312

Change-Id: If1711769176e4ee5945a00a61eab7bd67f6f665d
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2076826
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Seema Khowala
2019-03-19 15:32:56 -07:00
committed by mobile promotions
parent fe2a599700
commit c809831da5
10 changed files with 44 additions and 21 deletions

View File

@@ -326,7 +326,7 @@ bool gv11b_fifo_handle_ctxsw_timeout(struct gk20a *g, u32 fifo_intr)
continue;
}
if (nvgpu_tsg_check_ctxsw_timeout(
if (g->ops.tsg.check_ctxsw_timeout(
&f->tsg[tsgid], &verbose, &ms)) {
ret = true;