diff options
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pwrdev.c')
-rw-r--r-- | drivers/gpu/nvgpu/pmgr/pwrdev.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/pmgr/pwrdev.c b/drivers/gpu/nvgpu/pmgr/pwrdev.c index e32dfc40..06356592 100644 --- a/drivers/gpu/nvgpu/pmgr/pwrdev.c +++ b/drivers/gpu/nvgpu/pmgr/pwrdev.c | |||
@@ -297,6 +297,13 @@ u32 pmgr_device_sw_setup(struct gk20a *g) | |||
297 | /* Override the Interfaces */ | 297 | /* Override the Interfaces */ |
298 | pboardobjgrp->pmudatainstget = _pwr_device_pmudata_instget; | 298 | pboardobjgrp->pmudatainstget = _pwr_device_pmudata_instget; |
299 | 299 | ||
300 | /* WAR for missing INA3221 on HW2.5 RevA */ | ||
301 | if (g->power_sensor_missing) { | ||
302 | gk20a_warn(dev_from_gk20a(g), | ||
303 | "no power sensor, monitoring disabled"); | ||
304 | goto done; | ||
305 | } | ||
306 | |||
300 | status = devinit_get_pwr_device_table(g, ppwrdeviceobjs); | 307 | status = devinit_get_pwr_device_table(g, ppwrdeviceobjs); |
301 | if (status) | 308 | if (status) |
302 | goto done; | 309 | goto done; |