gpu: nvgpu: remove channel.check_ctxsw_timeout

nvgpu_channel_check_ctxsw_timeout is removed as ctxsw
timeout is not checked for channel that is not bound to
tsg.

JIRA NVGPU-1312

Change-Id: I8d12251e478a959d150b736206396c338575b2ec
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2079513
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-22 16:49:59 -07:00
committed by mobile promotions
parent dfafddcc21
commit 434931799a
10 changed files with 0 additions and 31 deletions

View File

@@ -1453,26 +1453,6 @@ bool nvgpu_channel_update_and_check_ctxsw_timeout(struct channel_gk20a *ch,
ch->ctxsw_timeout_accumulated_ms > ch->ctxsw_timeout_max_ms;
}
bool nvgpu_channel_check_ctxsw_timeout(struct channel_gk20a *ch,
bool *verbose, u32 *ms)
{
bool recover = false;
bool progress = false;
struct gk20a *g = ch->g;
recover = nvgpu_channel_update_and_check_ctxsw_timeout(ch,
g->ctxsw_timeout_period_ms, &progress);
*verbose = ch->ctxsw_timeout_debug_dump;
*ms = ch->ctxsw_timeout_accumulated_ms;
if (recover) {
nvgpu_channel_set_error_notifier(g, ch,
NVGPU_ERR_NOTIFIER_FIFO_ERROR_IDLE_TIMEOUT);
}
return recover;
}
void nvgpu_channel_recover(struct gk20a *g, struct channel_gk20a *ch,
bool verbose, u32 rc_type)
{