From 1f51620fda57443c77506c354af837a60883d78b Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Thu, 14 Jun 2018 09:57:24 +0300 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1493814 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/cde.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/nvgpu/common/linux/cde.c b/drivers/gpu/nvgpu/common/linux/cde.c index 1ada0793..32b333f1 100644 --- a/drivers/gpu/nvgpu/common/linux/cde.c +++ b/drivers/gpu/nvgpu/common/linux/cde.c @@ -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) { -- cgit v1.2.2