From a5e76ed7af2ffd496d23129f8f3d989335f8b21c Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Mon, 30 Oct 2017 15:57:28 -0700 Subject: gpu: nvgpu: Remove pg419 emulation on pg418 Remove emulation of pg419 board with a pg418 which does not have a power sensor, but claims to have one in VBIOS. JIRA NVGPU-259 Change-Id: I6527d08dd05b79f96e505561685504bb239ab4ac Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1588732 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/pmgr/pmgrpmu.c | 6 ------ drivers/gpu/nvgpu/pmgr/pwrdev.c | 6 ------ 2 files changed, 12 deletions(-) (limited to 'drivers/gpu/nvgpu/pmgr') 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) } } - /* WAR for missing INA3221 on HW2.5 RevA */ - if (g->power_sensor_missing) { - nvgpu_warn(g, "no power device found, skipping power policy"); - goto exit; - } - if (!(BOARDOBJGRP_IS_EMPTY( &g->pmgr_pmu.pmgr_policyobjs.pwr_policies.super)) || !(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) /* Override the Interfaces */ pboardobjgrp->pmudatainstget = _pwr_device_pmudata_instget; - /* WAR for missing INA3221 on HW2.5 RevA */ - if (g->power_sensor_missing) { - nvgpu_warn(g, "no power sensor, monitoring disabled"); - goto done; - } - status = devinit_get_pwr_device_table(g, ppwrdeviceobjs); if (status) goto done; -- cgit v1.2.2