diff --git a/drivers/gpu/nvgpu/os/linux/module.c b/drivers/gpu/nvgpu/os/linux/module.c index 94c79a2ff..b08a8791c 100644 --- a/drivers/gpu/nvgpu/os/linux/module.c +++ b/drivers/gpu/nvgpu/os/linux/module.c @@ -441,11 +441,15 @@ int gk20a_pm_finalize_poweron(struct device *dev) if (nvgpu_is_enabled(g, NVGPU_SUPPORT_DGPU_THERMAL_ALERT) && nvgpu_platform_is_silicon(g)) { err = nvgpu_request_therm_irq(l); - if (err) { + if (err && (err != -ENOENT)) { nvgpu_err(g, "thermal interrupt request failed %d", err); goto done; } + if (err == -ENOENT) { + nvgpu_info(g, "nvgpu-therm-gpio DT entry is missing. " + "Thermal Alert feature will not be enabled"); + } } err = nvgpu_finalize_poweron(g);