diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/pci.c | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/pci.c b/drivers/gpu/nvgpu/common/linux/pci.c index 74f08704..c19ced7c 100644 --- a/drivers/gpu/nvgpu/common/linux/pci.c +++ b/drivers/gpu/nvgpu/common/linux/pci.c | |||
@@ -349,6 +349,43 @@ static struct gk20a_platform nvgpu_pci_device[] = { | |||
349 | .hardcode_sw_threshold = false, | 349 | .hardcode_sw_threshold = false, |
350 | .run_preos = true, | 350 | .run_preos = true, |
351 | }, | 351 | }, |
352 | { /* SKU 0x1e3f */ | ||
353 | /* ptimer src frequency in hz */ | ||
354 | .ptimer_src_freq = 31250000, | ||
355 | |||
356 | .probe = nvgpu_pci_tegra_probe, | ||
357 | .remove = nvgpu_pci_tegra_remove, | ||
358 | |||
359 | /* power management configuration */ | ||
360 | .railgate_delay_init = 500, | ||
361 | .can_railgate_init = false, | ||
362 | .can_elpg_init = false, | ||
363 | .enable_elpg = false, | ||
364 | .enable_elcg = false, | ||
365 | .enable_slcg = false, | ||
366 | .enable_blcg = false, | ||
367 | .enable_mscg = false, | ||
368 | .can_slcg = false, | ||
369 | .can_blcg = false, | ||
370 | .can_elcg = false, | ||
371 | .default_pri_timeout = 0x3ff, | ||
372 | |||
373 | .disable_aspm = true, | ||
374 | |||
375 | /* power management callbacks */ | ||
376 | .is_railgated = nvgpu_pci_tegra_is_railgated, | ||
377 | .clk_round_rate = nvgpu_pci_clk_round_rate, | ||
378 | |||
379 | /* | ||
380 | * WAR: PCIE X1 is very slow, set to very high value till nvlink is up | ||
381 | */ | ||
382 | .ch_wdt_timeout_ms = 30000, | ||
383 | |||
384 | .honors_aperture = true, | ||
385 | .vbios_min_version = 0x1, | ||
386 | .hardcode_sw_threshold = false, | ||
387 | .unified_memory = false, | ||
388 | }, | ||
352 | }; | 389 | }; |
353 | 390 | ||
354 | static struct pci_device_id nvgpu_pci_table[] = { | 391 | static struct pci_device_id nvgpu_pci_table[] = { |
@@ -400,6 +437,12 @@ static struct pci_device_id nvgpu_pci_table[] = { | |||
400 | .class_mask = 0xff << 16, | 437 | .class_mask = 0xff << 16, |
401 | .driver_data = 7, | 438 | .driver_data = 7, |
402 | }, | 439 | }, |
440 | { | ||
441 | PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x1e3f), | ||
442 | .class = PCI_BASE_CLASS_DISPLAY << 16, | ||
443 | .class_mask = 0xff << 16, | ||
444 | .driver_data = 8, | ||
445 | }, | ||
403 | {} | 446 | {} |
404 | }; | 447 | }; |
405 | 448 | ||