From e6c135ecb70e8b966fc036587301c979ae70e869 Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Mon, 30 Jul 2018 19:51:11 +0530 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1788694 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/os/linux/pci.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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[] = { .hardcode_sw_threshold = false, .unified_memory = false, }, - { /* 0x1eba */ + { /* 0x1eba, 0x1efa */ /* ptimer src frequency in hz */ .ptimer_src_freq = 31250000, @@ -487,6 +487,12 @@ static struct pci_device_id nvgpu_pci_table[] = { .class_mask = 0xff << 16, .driver_data = 9, }, + { + PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x1efa), + .class = PCI_BASE_CLASS_DISPLAY << 16, + .class_mask = 0xff << 16, + .driver_data = 9, + }, {} }; -- cgit v1.2.2