summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2018-07-30 10:21:11 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-07-31 13:14:22 -0400
commite6c135ecb70e8b966fc036587301c979ae70e869 (patch)
treee05708fb4af8e1b32e712ca1572085dcbf6f5327
parent13cc7ea93dabdbc57dcf4c6e567e7fbdb12e8d2b (diff)
gpu: nvgpu: add support PCI device id 0x1efa
Add support for PCI device id 0x1efa which has same driver data as of 0x1eba device Change-Id: If3d53fe116c711bf63a10eae0e731537b3705bc1 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1788694 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@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.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/pci.c b/drivers/gpu/nvgpu/os/linux/pci.c
index ee4bcf8c..e9374769 100644
--- a/drivers/gpu/nvgpu/os/linux/pci.c
+++ b/drivers/gpu/nvgpu/os/linux/pci.c
@@ -390,7 +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 */ 393 { /* 0x1eba, 0x1efa */
394 /* ptimer src frequency in hz */ 394 /* ptimer src frequency in hz */
395 .ptimer_src_freq = 31250000, 395 .ptimer_src_freq = 31250000,
396 396
@@ -487,6 +487,12 @@ static struct pci_device_id nvgpu_pci_table[] = {
487 .class_mask = 0xff << 16, 487 .class_mask = 0xff << 16,
488 .driver_data = 9, 488 .driver_data = 9,
489 }, 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 },
490 {} 496 {}
491}; 497};
492 498