mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: Disable watchdog for in-kernel CE channels
Getting a timeout on kernel's own CE channels is unrecoverable. Vidmem freeing also depends on CE to clear pages that have been used so that they can be reused. Disable watchdog on kernel's CE channels. Bug 200287270 Change-Id: I87e0aa925d6d20485a5a19d2a6bfd050de34e968 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1454208 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
ce3c30f14f
commit
2ff3a9f374
@@ -460,7 +460,8 @@ u32 gk20a_ce_create_context_with_cb(struct device *dev,
|
||||
if (!ce_ctx->ch) {
|
||||
gk20a_err(ce_ctx->dev, "ce: gk20a channel not available");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
ce_ctx->ch->wdt_enabled = false;
|
||||
|
||||
/* bind the channel to the vm */
|
||||
err = __gk20a_vm_bind_channel(&g->mm.ce.vm, ce_ctx->ch);
|
||||
|
||||
Reference in New Issue
Block a user