summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/pmgr/pmgrpmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pmgrpmu.c')
-rw-r--r--drivers/gpu/nvgpu/pmgr/pmgrpmu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/pmgr/pmgrpmu.c b/drivers/gpu/nvgpu/pmgr/pmgrpmu.c
index 95225961..d09becd6 100644
--- a/drivers/gpu/nvgpu/pmgr/pmgrpmu.c
+++ b/drivers/gpu/nvgpu/pmgr/pmgrpmu.c
@@ -488,6 +488,12 @@ u32 pmgr_send_pmgr_tables_to_pmu(struct gk20a *g)
488 } 488 }
489 } 489 }
490 490
491 /* WAR for missing INA3221 on HW2.5 RevA */
492 if (g->power_sensor_missing) {
493 nvgpu_warn(g, "no power device found, skipping power policy");
494 goto exit;
495 }
496
491 if (!(BOARDOBJGRP_IS_EMPTY( 497 if (!(BOARDOBJGRP_IS_EMPTY(
492 &g->pmgr_pmu.pmgr_policyobjs.pwr_policies.super)) || 498 &g->pmgr_pmu.pmgr_policyobjs.pwr_policies.super)) ||
493 !(BOARDOBJGRP_IS_EMPTY( 499 !(BOARDOBJGRP_IS_EMPTY(