diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/pci.c | 40 |
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 | ||