Revert "WAR: gpu: nvgpu: disable MSI for kernel 4.14"

This reverts commit 0a90a5c5a9.

Bug 2462165

Change-Id: I8076353c862b77011abbfe9aca9f35e0c556be48
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1990597
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Thomas Fleury
2019-01-08 15:11:03 -08:00
committed by mobile promotions
parent ccf114fa4e
commit fb9b88e5a3

View File

@@ -578,9 +578,6 @@ static int nvgpu_pci_probe(struct pci_dev *pdev,
g->ina3221_i2c_port = platform->ina3221_i2c_port;
g->hardcode_sw_threshold = platform->hardcode_sw_threshold;
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
nvgpu_info(g, "MSI are disabled");
#else
#if defined(CONFIG_PCI_MSI)
err = pci_enable_msi(pdev);
if (err) {
@@ -589,7 +586,6 @@ static int nvgpu_pci_probe(struct pci_dev *pdev,
g->msi_enabled = false;
} else
g->msi_enabled = true;
#endif
#endif
g->irq_stall = pdev->irq;