summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Fleury <tfleury@nvidia.com>2019-10-21 09:32:09 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2019-10-28 18:55:10 -0400
commitaa43252d1a60db5d317a71787e2aee3b0d7cb8a8 (patch)
treefe95a722981af98426a26e114e334b6ca7227d85
parent10b3b5b1d58cbade2c8d973f80291e012efd1ad3 (diff)
gpu: nvgpu: disable PG189 dGPU
PG189 is not supported on rel-32. Remove related device ids from nvgpu list of supported devices. Bug 2732086 Change-Id: I800251a864357daab87769ec33a1e7268a2f7b57 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2222547 GVS: Gerrit_Virtual_Submit Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Peter Daifuku <pdaifuku@nvidia.com> Reviewed-by: Satish Arora <satisha@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
-rw-r--r--drivers/gpu/nvgpu/os/linux/pci.c45
1 files changed, 0 insertions, 45 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/pci.c b/drivers/gpu/nvgpu/os/linux/pci.c
index 61e412f2..07071d1f 100644
--- a/drivers/gpu/nvgpu/os/linux/pci.c
+++ b/drivers/gpu/nvgpu/os/linux/pci.c
@@ -390,40 +390,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
390 .hardcode_sw_threshold = false, 390 .hardcode_sw_threshold = false,
391 .unified_memory = false, 391 .unified_memory = false,
392 }, 392 },
393 { /* 0x1eba, 0x1efa */
394 /* ptimer src frequency in hz */
395 .ptimer_src_freq = 31250000,
396
397 .probe = nvgpu_pci_tegra_probe,
398 .remove = nvgpu_pci_tegra_remove,
399
400 /* power management configuration */
401 .railgate_delay_init = 500,
402 .can_railgate_init = false,
403 .can_elpg_init = false,
404 .enable_elpg = false,
405 .enable_elcg = false,
406 .enable_slcg = false,
407 .enable_blcg = false,
408 .enable_mscg = false,
409 .can_slcg = false,
410 .can_blcg = false,
411 .can_elcg = false,
412
413 .disable_aspm = true,
414 393
415 /* power management callbacks */
416 .is_railgated = nvgpu_pci_tegra_is_railgated,
417 .clk_round_rate = nvgpu_pci_clk_round_rate,
418
419 .ch_wdt_timeout_ms = 7000,
420
421 .honors_aperture = true,
422 .dma_mask = DMA_BIT_MASK(40),
423 .vbios_min_version = 0x90040109,
424 .hardcode_sw_threshold = false,
425 .has_syncpoints = true,
426 },
427}; 394};
428 395
429static struct pci_device_id nvgpu_pci_table[] = { 396static struct pci_device_id nvgpu_pci_table[] = {
@@ -481,18 +448,6 @@ static struct pci_device_id nvgpu_pci_table[] = {
481 .class_mask = 0xff << 16, 448 .class_mask = 0xff << 16,
482 .driver_data = 8, 449 .driver_data = 8,
483 }, 450 },
484 {
485 PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x1eba),
486 .class = PCI_BASE_CLASS_DISPLAY << 16,
487 .class_mask = 0xff << 16,
488 .driver_data = 9,
489 },
490 {
491 PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x1efa),
492 .class = PCI_BASE_CLASS_DISPLAY << 16,
493 .class_mask = 0xff << 16,
494 .driver_data = 9,
495 },
496 {} 451 {}
497}; 452};
498 453