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 <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1588732
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Terje Bergstrom
2017-10-30 15:57:28 -07:00
committed by mobile promotions
parent 7e59e0b09b
commit a5e76ed7af
5 changed files with 0 additions and 32 deletions

View File

@@ -20,8 +20,6 @@
* DEALINGS IN THE SOFTWARE.
*/
#include <linux/pci_ids.h>
#include <nvgpu/bios.h>
#include <nvgpu/kmem.h>
#include <nvgpu/nvgpu_common.h>
@@ -220,13 +218,6 @@ int gp106_bios_init(struct gk20a *g)
goto free_firmware;
}
/* WAR for HW2.5 RevA (INA3221 is missing) */
if ((g->pci_vendor_id == PCI_VENDOR_ID_NVIDIA) &&
(g->pci_device_id == 0x1c75) &&
(g->gpu_characteristics.vbios_version == 0x86065300)) {
g->power_sensor_missing = true;
}
gk20a_dbg_fn("done");
err = gp106_bios_devinit(g);

View File

@@ -202,13 +202,6 @@ static int gp106_init_gpu_characteristics(struct gk20a *g)
__nvgpu_set_enabled(g, NVGPU_SUPPORT_DEVICE_EVENTS, true);
__nvgpu_set_enabled(g, NVGPU_SUPPORT_SET_THERM_ALERT_LIMIT, true);
/* WAR for missing INA3221 on HW2.5 RevA */
if (g->power_sensor_missing) {
__nvgpu_set_enabled(g, NVGPU_SUPPORT_GET_VOLTAGE, false);
__nvgpu_set_enabled(g, NVGPU_SUPPORT_GET_CURRENT, false);
__nvgpu_set_enabled(g, NVGPU_SUPPORT_GET_POWER, false);
}
return 0;
}