diff options
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr')
-rw-r--r-- | drivers/gpu/nvgpu/pmgr/pmgrpmu.c | 6 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/pmgr/pwrdev.c | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/drivers/gpu/nvgpu/pmgr/pmgrpmu.c b/drivers/gpu/nvgpu/pmgr/pmgrpmu.c index 6bd07365..afc92d66 100644 --- a/drivers/gpu/nvgpu/pmgr/pmgrpmu.c +++ b/drivers/gpu/nvgpu/pmgr/pmgrpmu.c | |||
@@ -507,12 +507,6 @@ u32 pmgr_send_pmgr_tables_to_pmu(struct gk20a *g) | |||
507 | } | 507 | } |
508 | } | 508 | } |
509 | 509 | ||
510 | /* WAR for missing INA3221 on HW2.5 RevA */ | ||
511 | if (g->power_sensor_missing) { | ||
512 | nvgpu_warn(g, "no power device found, skipping power policy"); | ||
513 | goto exit; | ||
514 | } | ||
515 | |||
516 | if (!(BOARDOBJGRP_IS_EMPTY( | 510 | if (!(BOARDOBJGRP_IS_EMPTY( |
517 | &g->pmgr_pmu.pmgr_policyobjs.pwr_policies.super)) || | 511 | &g->pmgr_pmu.pmgr_policyobjs.pwr_policies.super)) || |
518 | !(BOARDOBJGRP_IS_EMPTY( | 512 | !(BOARDOBJGRP_IS_EMPTY( |
diff --git a/drivers/gpu/nvgpu/pmgr/pwrdev.c b/drivers/gpu/nvgpu/pmgr/pwrdev.c index 42784c9b..97b236e1 100644 --- a/drivers/gpu/nvgpu/pmgr/pwrdev.c +++ b/drivers/gpu/nvgpu/pmgr/pwrdev.c | |||
@@ -305,12 +305,6 @@ u32 pmgr_device_sw_setup(struct gk20a *g) | |||
305 | /* Override the Interfaces */ | 305 | /* Override the Interfaces */ |
306 | pboardobjgrp->pmudatainstget = _pwr_device_pmudata_instget; | 306 | pboardobjgrp->pmudatainstget = _pwr_device_pmudata_instget; |
307 | 307 | ||
308 | /* WAR for missing INA3221 on HW2.5 RevA */ | ||
309 | if (g->power_sensor_missing) { | ||
310 | nvgpu_warn(g, "no power sensor, monitoring disabled"); | ||
311 | goto done; | ||
312 | } | ||
313 | |||
314 | status = devinit_get_pwr_device_table(g, ppwrdeviceobjs); | 308 | status = devinit_get_pwr_device_table(g, ppwrdeviceobjs); |
315 | if (status) | 309 | if (status) |
316 | goto done; | 310 | goto done; |