summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Fleury <tfleury@nvidia.com>2017-01-13 18:38:33 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-31 19:23:18 -0500
commitdb41ae567c21589c59804bf5a41ef3b15ba9984e (patch)
tree96aa26b9b04bd7a7b295d584632e63541106f83f
parent9132bb52a6ac6a4845007b755feeb3a074069e72 (diff)
gpu: nvgpu: enable PG419 SKU610 probing
Add PG419 SKU610 compatible device for PCI enumeration Jira DNVGPU-213 Change-Id: Ib2361fa8007b56d852b2e02d27f1c05540f34924 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: http://git-master/r/1285107 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
-rw-r--r--drivers/gpu/nvgpu/pci.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/pci.c b/drivers/gpu/nvgpu/pci.c
index dd8abc82..feb253b6 100644
--- a/drivers/gpu/nvgpu/pci.c
+++ b/drivers/gpu/nvgpu/pci.c
@@ -152,6 +152,40 @@ static struct gk20a_platform nvgpu_pci_device[] = {
152 .vidmem_is_vidmem = true, 152 .vidmem_is_vidmem = true,
153 .vbios_min_version = 0x86063000, 153 .vbios_min_version = 0x86063000,
154 .hardcode_sw_threshold = true, 154 .hardcode_sw_threshold = true,
155 },
156 { /* DEVICE=0x1c75 */
157 /* ptimer src frequency in hz */
158 .ptimer_src_freq = 31250000,
159
160 .probe = nvgpu_pci_tegra_probe,
161 .remove = nvgpu_pci_tegra_remove,
162
163 /* power management configuration */
164 .railgate_delay = 500,
165 .can_railgate = false,
166 .can_elpg = true,
167 .enable_elpg = true,
168 .enable_elcg = false,
169 .enable_slcg = true,
170 .enable_blcg = true,
171 .enable_mscg = true,
172 .default_pri_timeout = 0x3ff,
173
174 .disable_aspm = true,
175
176 /* power management callbacks */
177 .is_railgated = nvgpu_pci_tegra_is_railgated,
178 .clk_round_rate = nvgpu_pci_clk_round_rate,
179
180 .default_big_page_size = SZ_64K,
181
182 .ch_wdt_timeout_ms = 7000,
183
184 .has_ce = true,
185
186 .vidmem_is_vidmem = true,
187 .vbios_min_version = 0x86064700,
188 .hardcode_sw_threshold = false,
155 } 189 }
156}; 190};
157 191
@@ -174,6 +208,12 @@ static struct pci_device_id nvgpu_pci_table[] = {
174 .class_mask = 0xff << 16, 208 .class_mask = 0xff << 16,
175 .driver_data = 2, 209 .driver_data = 2,
176 }, 210 },
211 {
212 PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x1c75),
213 .class = PCI_BASE_CLASS_DISPLAY << 16,
214 .class_mask = 0xff << 16,
215 .driver_data = 3,
216 },
177 {} 217 {}
178}; 218};
179 219