gpu: nvgpu: disable watchdog for in-kernel CDE channels

The watchdog tracks wall clock time. If the GPU's runlist is heavily
congested, other work can last long enough to trigger the watchdog for
trusted kernel channels too.

We don't expect the CDE work to ever get stuck, so disable wdt there.

Bug 200311892

Change-Id: I58c7d23891bc73aaeea0ccfcead567b3c6c13a52
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1493814
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Konsta Holtta
2018-06-14 09:57:24 +03:00
committed by mobile promotions
parent 52265164c8
commit 1f51620fda

View File

@@ -1309,6 +1309,8 @@ static int gk20a_cde_load(struct gk20a_cde_ctx *cde_ctx)
goto err_get_gk20a_channel;
}
ch->timeout.enabled = false;
/* bind the channel to the vm */
err = g->ops.mm.vm_bind_channel(g->mm.cde.vm, ch);
if (err) {