summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/pci.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/pci.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/pci.c b/drivers/gpu/nvgpu/common/linux/pci.c
index 871abef4..6b3f1092 100644
--- a/drivers/gpu/nvgpu/common/linux/pci.c
+++ b/drivers/gpu/nvgpu/common/linux/pci.c
@@ -390,6 +390,40 @@ 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 */
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
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 },
393}; 427};
394 428
395static struct pci_device_id nvgpu_pci_table[] = { 429static struct pci_device_id nvgpu_pci_table[] = {
@@ -447,6 +481,12 @@ static struct pci_device_id nvgpu_pci_table[] = {
447 .class_mask = 0xff << 16, 481 .class_mask = 0xff << 16,
448 .driver_data = 8, 482 .driver_data = 8,
449 }, 483 },
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 },
450 {} 490 {}
451}; 491};
452 492