summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSachit Kadle <skadle@nvidia.com>2016-09-14 23:55:34 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-10-20 01:10:29 -0400
commitdb6e115d1728bd2471359fe18392b8edbf954d30 (patch)
treec9695c9fa43af6f2b154bd791ab252d7f7d264fe /drivers
parent2c3c567553a20e71b1dc0cba892772f33aacaa01 (diff)
gpu: nvgpu: enable probing of gp106 sku10
Enable probing of gp106 sku10 by adding the device id to the known device table. JIRA DNVGPU-72 Change-Id: I2c10914c8510c6081202a374f50ef40371d7d183 Signed-off-by: Sachit Kadle <skadle@nvidia.com> Reviewed-on: http://git-master/r/1221123 (cherry picked from commit 17ff6de69f19212b6c6be39496f8e76c8554b861) Reviewed-on: http://git-master/r/1239427 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com> GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/pci.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/pci.c b/drivers/gpu/nvgpu/pci.c
index f101fcc4..a3d53440 100644
--- a/drivers/gpu/nvgpu/pci.c
+++ b/drivers/gpu/nvgpu/pci.c
@@ -69,6 +69,13 @@ static struct gk20a_platform nvgpu_pci_device = {
69 69
70static struct pci_device_id nvgpu_pci_table[] = { 70static struct pci_device_id nvgpu_pci_table[] = {
71 { 71 {
72 PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x1c35),
73 .class = PCI_BASE_CLASS_DISPLAY << 16,
74 .class_mask = 0xff << 16,
75 .driver_data = NVGPU_PCI_ENABLE_BLCG |
76 NVGPU_PCI_ENABLE_SLCG,
77 },
78 {
72 PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x1c36), 79 PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x1c36),
73 .class = PCI_BASE_CLASS_DISPLAY << 16, 80 .class = PCI_BASE_CLASS_DISPLAY << 16,
74 .class_mask = 0xff << 16, 81 .class_mask = 0xff << 16,