summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/bios_gp106.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-10-30 18:57:28 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-01 18:26:37 -0400
commita5e76ed7af2ffd496d23129f8f3d989335f8b21c (patch)
treebba04c7954054266f7771b931befba3820685be7 /drivers/gpu/nvgpu/gp106/bios_gp106.c
parent7e59e0b09b605c4082fb812fb0842537819282cf (diff)
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>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/bios_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/bios_gp106.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/nvgpu/gp106/bios_gp106.c b/drivers/gpu/nvgpu/gp106/bios_gp106.c
index 9d75249d..d42f2e14 100644
--- a/drivers/gpu/nvgpu/gp106/bios_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/bios_gp106.c
@@ -20,8 +20,6 @@
20 * DEALINGS IN THE SOFTWARE. 20 * DEALINGS IN THE SOFTWARE.
21 */ 21 */
22 22
23#include <linux/pci_ids.h>
24
25#include <nvgpu/bios.h> 23#include <nvgpu/bios.h>
26#include <nvgpu/kmem.h> 24#include <nvgpu/kmem.h>
27#include <nvgpu/nvgpu_common.h> 25#include <nvgpu/nvgpu_common.h>
@@ -220,13 +218,6 @@ int gp106_bios_init(struct gk20a *g)
220 goto free_firmware; 218 goto free_firmware;
221 } 219 }
222 220
223 /* WAR for HW2.5 RevA (INA3221 is missing) */
224 if ((g->pci_vendor_id == PCI_VENDOR_ID_NVIDIA) &&
225 (g->pci_device_id == 0x1c75) &&
226 (g->gpu_characteristics.vbios_version == 0x86065300)) {
227 g->power_sensor_missing = true;
228 }
229
230 gk20a_dbg_fn("done"); 221 gk20a_dbg_fn("done");
231 222
232 err = gp106_bios_devinit(g); 223 err = gp106_bios_devinit(g);