1 /* 2 * Copyright 2015 Red Hat Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the 9 * Software is furnished to do so, subject to the following conditions: 10 * 11 * The above copyright notice and this permission notice shall be included in 12 * all copies or substantial portions of the Software. 13 * 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 * OTHER DEALINGS IN THE SOFTWARE. 21 * 22 * Authors: Ben Skeggs <bskeggs@redhat.com> 23 */ 24 #include <core/pci.h> 25 #include "priv.h" 26 27 struct nvkm_device_pci_device { 28 u16 device; 29 const char *name; 30 const struct nvkm_device_pci_vendor *vendor; 31 }; 32 33 struct nvkm_device_pci_vendor { 34 u16 vendor; 35 u16 device; 36 const char *name; 37 const struct nvkm_device_quirk quirk; 38 }; 39 40 static const struct nvkm_device_pci_vendor 41 nvkm_device_pci_10de_0189[] = { 42 /* Apple iMac G4 NV18 */ 43 { 0x10de, 0x0010, NULL, { .tv_gpio = 4 } }, 44 {} 45 }; 46 47 static const struct nvkm_device_pci_vendor 48 nvkm_device_pci_10de_01f0[] = { 49 /* MSI nForce2 IGP */ 50 { 0x1462, 0x5710, NULL, { .tv_pin_mask = 0xc } }, 51 {} 52 }; 53 54 static const struct nvkm_device_pci_vendor 55 nvkm_device_pci_10de_0322[] = { 56 /* Zotac FX5200 */ 57 { 0x19da, 0x1035, NULL, { .tv_pin_mask = 0xc } }, 58 { 0x19da, 0x2035, NULL, { .tv_pin_mask = 0xc } }, 59 {} 60 }; 61 62 static const struct nvkm_device_pci_vendor 63 nvkm_device_pci_10de_05e7[] = { 64 { 0x10de, 0x0595, "Tesla T10 Processor" }, 65 { 0x10de, 0x068f, "Tesla T10 Processor" }, 66 { 0x10de, 0x0697, "Tesla M1060" }, 67 { 0x10de, 0x0714, "Tesla M1060" }, 68 { 0x10de, 0x0743, "Tesla M1060" }, 69 {} 70 }; 71 72 static const struct nvkm_device_pci_vendor 73 nvkm_device_pci_10de_0609[] = { 74 { 0x106b, 0x00a7, "GeForce 8800 GS" }, 75 {} 76 }; 77 78 static const struct nvkm_device_pci_vendor 79 nvkm_device_pci_10de_062e[] = { 80 { 0x106b, 0x0605, "GeForce GT 130" }, 81 {} 82 }; 83 84 static const struct nvkm_device_pci_vendor 85 nvkm_device_pci_10de_0649[] = { 86 { 0x1043, 0x202d, "GeForce GT 220M" }, 87 {} 88 }; 89 90 static const struct nvkm_device_pci_vendor 91 nvkm_device_pci_10de_0652[] = { 92 { 0x152d, 0x0850, "GeForce GT 240M LE" }, 93 {} 94 }; 95 96 static const struct nvkm_device_pci_vendor 97 nvkm_device_pci_10de_0654[] = { 98 { 0x1043, 0x14a2, "GeForce GT 320M" }, 99 { 0x1043, 0x14d2, "GeForce GT 320M" }, 100 {} 101 }; 102 103 static const struct nvkm_device_pci_vendor 104 nvkm_device_pci_10de_0655[] = { 105 { 0x106b, 0x0633, "GeForce GT 120" }, 106 {} 107 }; 108 109 static const struct nvkm_device_pci_vendor 110 nvkm_device_pci_10de_0656[] = { 111 { 0x106b, 0x0693, "GeForce GT 120" }, 112 {} 113 }; 114 115 static const struct nvkm_device_pci_vendor 116 nvkm_device_pci_10de_06d1[] = { 117 { 0x10de, 0x0771, "Tesla C2050" }, 118 { 0x10de, 0x0772, "Tesla C2070" }, 119 {} 120 }; 121 122 static const struct nvkm_device_pci_vendor 123 nvkm_device_pci_10de_06d2[] = { 124 { 0x10de, 0x088f, "Tesla X2070" }, 125 {} 126 }; 127 128 static const struct nvkm_device_pci_vendor 129 nvkm_device_pci_10de_06de[] = { 130 { 0x10de, 0x0773, "Tesla S2050" }, 131 { 0x10de, 0x082f, "Tesla M2050" }, 132 { 0x10de, 0x0840, "Tesla X2070" }, 133 { 0x10de, 0x0842, "Tesla M2050" }, 134 { 0x10de, 0x0846, "Tesla M2050" }, 135 { 0x10de, 0x0866, "Tesla M2050" }, 136 { 0x10de, 0x0907, "Tesla M2050" }, 137 { 0x10de, 0x091e, "Tesla M2050" }, 138 {} 139 }; 140 141 static const struct nvkm_device_pci_vendor 142 nvkm_device_pci_10de_06e8[] = { 143 { 0x103c, 0x360b, "GeForce 9200M GE" }, 144 {} 145 }; 146 147 static const struct nvkm_device_pci_vendor 148 nvkm_device_pci_10de_06f9[] = { 149 { 0x10de, 0x060d, "Quadro FX 370 Low Profile" }, 150 {} 151 }; 152 153 static const struct nvkm_device_pci_vendor 154 nvkm_device_pci_10de_06ff[] = { 155 { 0x10de, 0x0711, "HICx8 + Graphics" }, 156 {} 157 }; 158 159 static const struct nvkm_device_pci_vendor 160 nvkm_device_pci_10de_0866[] = { 161 { 0x106b, 0x00b1, "GeForce 9400M" }, 162 {} 163 }; 164 165 static const struct nvkm_device_pci_vendor 166 nvkm_device_pci_10de_0872[] = { 167 { 0x1043, 0x1c42, "GeForce G205M" }, 168 {} 169 }; 170 171 static const struct nvkm_device_pci_vendor 172 nvkm_device_pci_10de_0873[] = { 173 { 0x1043, 0x1c52, "GeForce G205M" }, 174 {} 175 }; 176 177 static const struct nvkm_device_pci_vendor 178 nvkm_device_pci_10de_0a6e[] = { 179 { 0x17aa, 0x3607, "Second Generation ION" }, 180 {} 181 }; 182 183 static const struct nvkm_device_pci_vendor 184 nvkm_device_pci_10de_0a70[] = { 185 { 0x17aa, 0x3605, "Second Generation ION" }, 186 { 0x17aa, 0x3617, "Second Generation ION" }, 187 {} 188 }; 189 190 static const struct nvkm_device_pci_vendor 191 nvkm_device_pci_10de_0a73[] = { 192 { 0x17aa, 0x3607, "Second Generation ION" }, 193 { 0x17aa, 0x3610, "Second Generation ION" }, 194 {} 195 }; 196 197 static const struct nvkm_device_pci_vendor 198 nvkm_device_pci_10de_0a74[] = { 199 { 0x17aa, 0x903a, "GeForce G210" }, 200 {} 201 }; 202 203 static const struct nvkm_device_pci_vendor 204 nvkm_device_pci_10de_0a75[] = { 205 { 0x17aa, 0x3605, "Second Generation ION" }, 206 {} 207 }; 208 209 static const struct nvkm_device_pci_vendor 210 nvkm_device_pci_10de_0a7a[] = { 211 { 0x1462, 0xaa51, "GeForce 405" }, 212 { 0x1462, 0xaa58, "GeForce 405" }, 213 { 0x1462, 0xac71, "GeForce 405" }, 214 { 0x1462, 0xac82, "GeForce 405" }, 215 { 0x1642, 0x3980, "GeForce 405" }, 216 { 0x17aa, 0x3950, "GeForce 405M" }, 217 { 0x17aa, 0x397d, "GeForce 405M" }, 218 { 0x1b0a, 0x90b4, "GeForce 405" }, 219 { 0x1bfd, 0x0003, "GeForce 405" }, 220 { 0x1bfd, 0x8006, "GeForce 405" }, 221 {} 222 }; 223 224 static const struct nvkm_device_pci_vendor 225 nvkm_device_pci_10de_0dd8[] = { 226 { 0x10de, 0x0914, "Quadro 2000D" }, 227 {} 228 }; 229 230 static const struct nvkm_device_pci_vendor 231 nvkm_device_pci_10de_0de9[] = { 232 { 0x1025, 0x0692, "GeForce GT 620M" }, 233 { 0x1025, 0x0725, "GeForce GT 620M" }, 234 { 0x1025, 0x0728, "GeForce GT 620M" }, 235 { 0x1025, 0x072b, "GeForce GT 620M" }, 236 { 0x1025, 0x072e, "GeForce GT 620M" }, 237 { 0x1025, 0x0753, "GeForce GT 620M" }, 238 { 0x1025, 0x0754, "GeForce GT 620M" }, 239 { 0x17aa, 0x3977, "GeForce GT 640M LE" }, 240 { 0x1b0a, 0x2210, "GeForce GT 635M" }, 241 {} 242 }; 243 244 static const struct nvkm_device_pci_vendor 245 nvkm_device_pci_10de_0dea[] = { 246 { 0x17aa, 0x365a, "GeForce 615" }, 247 { 0x17aa, 0x365b, "GeForce 615" }, 248 { 0x17aa, 0x365e, "GeForce 615" }, 249 { 0x17aa, 0x3660, "GeForce 615" }, 250 { 0x17aa, 0x366c, "GeForce 615" }, 251 {} 252 }; 253 254 static const struct nvkm_device_pci_vendor 255 nvkm_device_pci_10de_0df4[] = { 256 { 0x152d, 0x0952, "GeForce GT 630M" }, 257 { 0x152d, 0x0953, "GeForce GT 630M" }, 258 {} 259 }; 260 261 static const struct nvkm_device_pci_vendor 262 nvkm_device_pci_10de_0fd2[] = { 263 { 0x1028, 0x0595, "GeForce GT 640M LE" }, 264 { 0x1028, 0x05b2, "GeForce GT 640M LE" }, 265 {} 266 }; 267 268 static const struct nvkm_device_pci_vendor 269 nvkm_device_pci_10de_0fe3[] = { 270 { 0x103c, 0x2b16, "GeForce GT 745A" }, 271 { 0x17aa, 0x3675, "GeForce GT 745A" }, 272 {} 273 }; 274 275 static const struct nvkm_device_pci_vendor 276 nvkm_device_pci_10de_104b[] = { 277 { 0x1043, 0x844c, "GeForce GT 625" }, 278 { 0x1043, 0x846b, "GeForce GT 625" }, 279 { 0x1462, 0xb590, "GeForce GT 625" }, 280 { 0x174b, 0x0625, "GeForce GT 625" }, 281 { 0x174b, 0xa625, "GeForce GT 625" }, 282 {} 283 }; 284 285 static const struct nvkm_device_pci_vendor 286 nvkm_device_pci_10de_1058[] = { 287 { 0x103c, 0x2af1, "GeForce 610" }, 288 { 0x17aa, 0x3682, "GeForce 800A" }, 289 { 0x17aa, 0x3692, "GeForce 705A" }, 290 { 0x17aa, 0x3695, "GeForce 800A" }, 291 { 0x17aa, 0x36a8, "GeForce 800A" }, 292 { 0x17aa, 0x36ac, "GeForce 800A" }, 293 { 0x17aa, 0x36ad, "GeForce 800A" }, 294 { 0x705a, 0x3682, "GeForce 800A" }, 295 {} 296 }; 297 298 static const struct nvkm_device_pci_vendor 299 nvkm_device_pci_10de_105b[] = { 300 { 0x103c, 0x2afb, "GeForce 705A" }, 301 { 0x17aa, 0x36a1, "GeForce 800A" }, 302 {} 303 }; 304 305 static const struct nvkm_device_pci_vendor 306 nvkm_device_pci_10de_1091[] = { 307 { 0x10de, 0x088e, "Tesla X2090" }, 308 { 0x10de, 0x0891, "Tesla X2090" }, 309 { 0x10de, 0x0974, "Tesla X2090" }, 310 { 0x10de, 0x098d, "Tesla X2090" }, 311 {} 312 }; 313 314 static const struct nvkm_device_pci_vendor 315 nvkm_device_pci_10de_1096[] = { 316 { 0x10de, 0x0911, "Tesla C2050" }, 317 {} 318 }; 319 320 static const struct nvkm_device_pci_vendor 321 nvkm_device_pci_10de_1140[] = { 322 { 0x1019, 0x999f, "GeForce GT 720M" }, 323 { 0x1025, 0x0600, "GeForce GT 620M" }, 324 { 0x1025, 0x0606, "GeForce GT 620M" }, 325 { 0x1025, 0x064a, "GeForce GT 620M" }, 326 { 0x1025, 0x064c, "GeForce GT 620M" }, 327 { 0x1025, 0x067a, "GeForce GT 620M" }, 328 { 0x1025, 0x0680, "GeForce GT 620M" }, 329 { 0x1025, 0x0686, "GeForce 710M" }, 330 { 0x1025, 0x0689, "GeForce 710M" }, 331 { 0x1025, 0x068b, "GeForce 710M" }, 332 { 0x1025, 0x068d, "GeForce 710M" }, 333 { 0x1025, 0x068e, "GeForce 710M" }, 334 { 0x1025, 0x0691, "GeForce 710M" }, 335 { 0x1025, 0x0692, "GeForce GT 620M" }, 336 { 0x1025, 0x0694, "GeForce GT 620M" }, 337 { 0x1025, 0x0702, "GeForce GT 620M" }, 338 { 0x1025, 0x0719, "GeForce GT 620M" }, 339 { 0x1025, 0x0725, "GeForce GT 620M" }, 340 { 0x1025, 0x0728, "GeForce GT 620M" }, 341 { 0x1025, 0x072b, "GeForce GT 620M" }, 342 { 0x1025, 0x072e, "GeForce GT 620M" }, 343 { 0x1025, 0x0732, "GeForce GT 620M" }, 344 { 0x1025, 0x0763, "GeForce GT 720M" }, 345 { 0x1025, 0x0773, "GeForce 710M" }, 346 { 0x1025, 0x0774, "GeForce 710M" }, 347 { 0x1025, 0x0776, "GeForce GT 720M" }, 348 { 0x1025, 0x077a, "GeForce 710M" }, 349 { 0x1025, 0x077b, "GeForce 710M" }, 350 { 0x1025, 0x077c, "GeForce 710M" }, 351 { 0x1025, 0x077d, "GeForce 710M" }, 352 { 0x1025, 0x077e, "GeForce 710M" }, 353 { 0x1025, 0x077f, "GeForce 710M" }, 354 { 0x1025, 0x0781, "GeForce GT 720M" }, 355 { 0x1025, 0x0798, "GeForce GT 720M" }, 356 { 0x1025, 0x0799, "GeForce GT 720M" }, 357 { 0x1025, 0x079b, "GeForce GT 720M" }, 358 { 0x1025, 0x079c, "GeForce GT 720M" }, 359 { 0x1025, 0x0807, "GeForce GT 720M" }, 360 { 0x1025, 0x0821, "GeForce 820M" }, 361 { 0x1025, 0x0823, "GeForce GT 720M" }, 362 { 0x1025, 0x0830, "GeForce GT 720M" }, 363 { 0x1025, 0x0833, "GeForce GT 720M" }, 364 { 0x1025, 0x0837, "GeForce GT 720M" }, 365 { 0x1025, 0x083e, "GeForce 820M" }, 366 { 0x1025, 0x0841, "GeForce 710M" }, 367 { 0x1025, 0x0853, "GeForce 820M" }, 368 { 0x1025, 0x0854, "GeForce 820M" }, 369 { 0x1025, 0x0855, "GeForce 820M" }, 370 { 0x1025, 0x0856, "GeForce 820M" }, 371 { 0x1025, 0x0857, "GeForce 820M" }, 372 { 0x1025, 0x0858, "GeForce 820M" }, 373 { 0x1025, 0x0863, "GeForce 820M" }, 374 { 0x1025, 0x0868, "GeForce 820M" }, 375 { 0x1025, 0x0869, "GeForce 810M" }, 376 { 0x1025, 0x0873, "GeForce 820M" }, 377 { 0x1025, 0x0878, "GeForce 820M" }, 378 { 0x1025, 0x087b, "GeForce 820M" }, 379 { 0x1025, 0x087f, "GeForce 820M" }, 380 { 0x1025, 0x0881, "GeForce 820M" }, 381 { 0x1025, 0x0885, "GeForce 820M" }, 382 { 0x1025, 0x088a, "GeForce 820M" }, 383 { 0x1025, 0x089b, "GeForce 820M" }, 384 { 0x1025, 0x0921, "GeForce 820M" }, 385 { 0x1025, 0x092e, "GeForce 810M" }, 386 { 0x1025, 0x092f, "GeForce 820M" }, 387 { 0x1025, 0x0932, "GeForce 820M" }, 388 { 0x1025, 0x093a, "GeForce 820M" }, 389 { 0x1025, 0x093c, "GeForce 820M" }, 390 { 0x1025, 0x093f, "GeForce 820M" }, 391 { 0x1025, 0x0941, "GeForce 820M" }, 392 { 0x1025, 0x0945, "GeForce 820M" }, 393 { 0x1025, 0x0954, "GeForce 820M" }, 394 { 0x1025, 0x0965, "GeForce 820M" }, 395 { 0x1028, 0x054d, "GeForce GT 630M" }, 396 { 0x1028, 0x054e, "GeForce GT 630M" }, 397 { 0x1028, 0x0554, "GeForce GT 620M" }, 398 { 0x1028, 0x0557, "GeForce GT 620M" }, 399 { 0x1028, 0x0562, "GeForce GT625M" }, 400 { 0x1028, 0x0565, "GeForce GT 630M" }, 401 { 0x1028, 0x0568, "GeForce GT 630M" }, 402 { 0x1028, 0x0590, "GeForce GT 630M" }, 403 { 0x1028, 0x0592, "GeForce GT625M" }, 404 { 0x1028, 0x0594, "GeForce GT625M" }, 405 { 0x1028, 0x0595, "GeForce GT625M" }, 406 { 0x1028, 0x05a2, "GeForce GT625M" }, 407 { 0x1028, 0x05b1, "GeForce GT625M" }, 408 { 0x1028, 0x05b3, "GeForce GT625M" }, 409 { 0x1028, 0x05da, "GeForce GT 630M" }, 410 { 0x1028, 0x05de, "GeForce GT 720M" }, 411 { 0x1028, 0x05e0, "GeForce GT 720M" }, 412 { 0x1028, 0x05e8, "GeForce GT 630M" }, 413 { 0x1028, 0x05f4, "GeForce GT 720M" }, 414 { 0x1028, 0x060f, "GeForce GT 720M" }, 415 { 0x1028, 0x062f, "GeForce GT 720M" }, 416 { 0x1028, 0x064e, "GeForce 820M" }, 417 { 0x1028, 0x0652, "GeForce 820M" }, 418 { 0x1028, 0x0653, "GeForce 820M" }, 419 { 0x1028, 0x0655, "GeForce 820M" }, 420 { 0x1028, 0x065e, "GeForce 820M" }, 421 { 0x1028, 0x0662, "GeForce 820M" }, 422 { 0x1028, 0x068d, "GeForce 820M" }, 423 { 0x1028, 0x06ad, "GeForce 820M" }, 424 { 0x1028, 0x06ae, "GeForce 820M" }, 425 { 0x1028, 0x06af, "GeForce 820M" }, 426 { 0x1028, 0x06b0, "GeForce 820M" }, 427 { 0x1028, 0x06c0, "GeForce 820M" }, 428 { 0x1028, 0x06c1, "GeForce 820M" }, 429 { 0x103c, 0x18ef, "GeForce GT 630M" }, 430 { 0x103c, 0x18f9, "GeForce GT 630M" }, 431 { 0x103c, 0x18fb, "GeForce GT 630M" }, 432 { 0x103c, 0x18fd, "GeForce GT 630M" }, 433 { 0x103c, 0x18ff, "GeForce GT 630M" }, 434 { 0x103c, 0x218a, "GeForce 820M" }, 435 { 0x103c, 0x21bb, "GeForce 820M" }, 436 { 0x103c, 0x21bc, "GeForce 820M" }, 437 { 0x103c, 0x220e, "GeForce 820M" }, 438 { 0x103c, 0x2210, "GeForce 820M" }, 439 { 0x103c, 0x2212, "GeForce 820M" }, 440 { 0x103c, 0x2214, "GeForce 820M" }, 441 { 0x103c, 0x2218, "GeForce 820M" }, 442 { 0x103c, 0x225b, "GeForce 820M" }, 443 { 0x103c, 0x225d, "GeForce 820M" }, 444 { 0x103c, 0x226d, "GeForce 820M" }, 445 { 0x103c, 0x226f, "GeForce 820M" }, 446 { 0x103c, 0x22d2, "GeForce 820M" }, 447 { 0x103c, 0x22d9, "GeForce 820M" }, 448 { 0x103c, 0x2335, "GeForce 820M" }, 449 { 0x103c, 0x2337, "GeForce 820M" }, 450 { 0x103c, 0x2aef, "GeForce GT 720A" }, 451 { 0x103c, 0x2af9, "GeForce 710A" }, 452 { 0x1043, 0x10dd, "NVS 5200M" }, 453 { 0x1043, 0x10ed, "NVS 5200M" }, 454 { 0x1043, 0x11fd, "GeForce GT 720M" }, 455 { 0x1043, 0x124d, "GeForce GT 720M" }, 456 { 0x1043, 0x126d, "GeForce GT 720M" }, 457 { 0x1043, 0x131d, "GeForce GT 720M" }, 458 { 0x1043, 0x13fd, "GeForce GT 720M" }, 459 { 0x1043, 0x14c7, "GeForce GT 720M" }, 460 { 0x1043, 0x1507, "GeForce GT 620M" }, 461 { 0x1043, 0x15ad, "GeForce 820M" }, 462 { 0x1043, 0x15ed, "GeForce 820M" }, 463 { 0x1043, 0x160d, "GeForce 820M" }, 464 { 0x1043, 0x163d, "GeForce 820M" }, 465 { 0x1043, 0x165d, "GeForce 820M" }, 466 { 0x1043, 0x166d, "GeForce 820M" }, 467 { 0x1043, 0x16cd, "GeForce 820M" }, 468 { 0x1043, 0x16dd, "GeForce 820M" }, 469 { 0x1043, 0x170d, "GeForce 820M" }, 470 { 0x1043, 0x176d, "GeForce 820M" }, 471 { 0x1043, 0x178d, "GeForce 820M" }, 472 { 0x1043, 0x179d, "GeForce 820M" }, 473 { 0x1043, 0x2132, "GeForce GT 620M" }, 474 { 0x1043, 0x2136, "NVS 5200M" }, 475 { 0x1043, 0x21ba, "GeForce GT 720M" }, 476 { 0x1043, 0x21fa, "GeForce GT 720M" }, 477 { 0x1043, 0x220a, "GeForce GT 720M" }, 478 { 0x1043, 0x221a, "GeForce GT 720M" }, 479 { 0x1043, 0x223a, "GeForce GT 710M" }, 480 { 0x1043, 0x224a, "GeForce GT 710M" }, 481 { 0x1043, 0x227a, "GeForce 820M" }, 482 { 0x1043, 0x228a, "GeForce 820M" }, 483 { 0x1043, 0x22fa, "GeForce 820M" }, 484 { 0x1043, 0x232a, "GeForce 820M" }, 485 { 0x1043, 0x233a, "GeForce 820M" }, 486 { 0x1043, 0x235a, "GeForce 820M" }, 487 { 0x1043, 0x236a, "GeForce 820M" }, 488 { 0x1043, 0x238a, "GeForce 820M" }, 489 { 0x1043, 0x8595, "GeForce GT 720M" }, 490 { 0x1043, 0x85ea, "GeForce GT 720M" }, 491 { 0x1043, 0x85eb, "GeForce 820M" }, 492 { 0x1043, 0x85ec, "GeForce 820M" }, 493 { 0x1043, 0x85ee, "GeForce GT 720M" }, 494 { 0x1043, 0x85f3, "GeForce 820M" }, 495 { 0x1043, 0x860e, "GeForce 820M" }, 496 { 0x1043, 0x861a, "GeForce 820M" }, 497 { 0x1043, 0x861b, "GeForce 820M" }, 498 { 0x1043, 0x8628, "GeForce 820M" }, 499 { 0x1043, 0x8643, "GeForce 820M" }, 500 { 0x1043, 0x864c, "GeForce 820M" }, 501 { 0x1043, 0x8652, "GeForce 820M" }, 502 { 0x1043, 0x8660, "GeForce 820M" }, 503 { 0x1043, 0x8661, "GeForce 820M" }, 504 { 0x105b, 0x0dac, "GeForce GT 720M" }, 505 { 0x105b, 0x0dad, "GeForce GT 720M" }, 506 { 0x105b, 0x0ef3, "GeForce GT 720M" }, 507 { 0x10cf, 0x17f5, "GeForce GT 720M" }, 508 { 0x1179, 0xfa01, "GeForce 710M" }, 509 { 0x1179, 0xfa02, "GeForce 710M" }, 510 { 0x1179, 0xfa03, "GeForce 710M" }, 511 { 0x1179, 0xfa05, "GeForce 710M" }, 512 { 0x1179, 0xfa11, "GeForce 710M" }, 513 { 0x1179, 0xfa13, "GeForce 710M" }, 514 { 0x1179, 0xfa18, "GeForce 710M" }, 515 { 0x1179, 0xfa19, "GeForce 710M" }, 516 { 0x1179, 0xfa21, "GeForce 710M" }, 517 { 0x1179, 0xfa23, "GeForce 710M" }, 518 { 0x1179, 0xfa2a, "GeForce 710M" }, 519 { 0x1179, 0xfa32, "GeForce 710M" }, 520 { 0x1179, 0xfa33, "GeForce 710M" }, 521 { 0x1179, 0xfa36, "GeForce 710M" }, 522 { 0x1179, 0xfa38, "GeForce 710M" }, 523 { 0x1179, 0xfa42, "GeForce 710M" }, 524 { 0x1179, 0xfa43, "GeForce 710M" }, 525 { 0x1179, 0xfa45, "GeForce 710M" }, 526 { 0x1179, 0xfa47, "GeForce 710M" }, 527 { 0x1179, 0xfa49, "GeForce 710M" }, 528 { 0x1179, 0xfa58, "GeForce 710M" }, 529 { 0x1179, 0xfa59, "GeForce 710M" }, 530 { 0x1179, 0xfa88, "GeForce 710M" }, 531 { 0x1179, 0xfa89, "GeForce 710M" }, 532 { 0x144d, 0xb092, "GeForce GT 620M" }, 533 { 0x144d, 0xc0d5, "GeForce GT 630M" }, 534 { 0x144d, 0xc0d7, "GeForce GT 620M" }, 535 { 0x144d, 0xc0e2, "NVS 5200M" }, 536 { 0x144d, 0xc0e3, "NVS 5200M" }, 537 { 0x144d, 0xc0e4, "NVS 5200M" }, 538 { 0x144d, 0xc10d, "GeForce 820M" }, 539 { 0x144d, 0xc652, "GeForce GT 620M" }, 540 { 0x144d, 0xc709, "GeForce 710M" }, 541 { 0x144d, 0xc711, "GeForce 710M" }, 542 { 0x144d, 0xc736, "GeForce 710M" }, 543 { 0x144d, 0xc737, "GeForce 710M" }, 544 { 0x144d, 0xc745, "GeForce 820M" }, 545 { 0x144d, 0xc750, "GeForce 820M" }, 546 { 0x1462, 0x10b8, "GeForce GT 710M" }, 547 { 0x1462, 0x10e9, "GeForce GT 720M" }, 548 { 0x1462, 0x1116, "GeForce 820M" }, 549 { 0x1462, 0xaa33, "GeForce 720M" }, 550 { 0x1462, 0xaaa2, "GeForce GT 720M" }, 551 { 0x1462, 0xaaa3, "GeForce 820M" }, 552 { 0x1462, 0xacb2, "GeForce GT 720M" }, 553 { 0x1462, 0xacc1, "GeForce GT 720M" }, 554 { 0x1462, 0xae61, "GeForce 720M" }, 555 { 0x1462, 0xae65, "GeForce GT 720M" }, 556 { 0x1462, 0xae6a, "GeForce 820M" }, 557 { 0x1462, 0xae71, "GeForce GT 720M" }, 558 { 0x14c0, 0x0083, "GeForce 820M" }, 559 { 0x152d, 0x0926, "GeForce 620M" }, 560 { 0x152d, 0x0982, "GeForce GT 630M" }, 561 { 0x152d, 0x0983, "GeForce GT 630M" }, 562 { 0x152d, 0x1005, "GeForce GT820M" }, 563 { 0x152d, 0x1012, "GeForce 710M" }, 564 { 0x152d, 0x1019, "GeForce 820M" }, 565 { 0x152d, 0x1030, "GeForce GT 630M" }, 566 { 0x152d, 0x1055, "GeForce 710M" }, 567 { 0x152d, 0x1067, "GeForce GT 720M" }, 568 { 0x152d, 0x1092, "GeForce 820M" }, 569 { 0x17aa, 0x2200, "NVS 5200M" }, 570 { 0x17aa, 0x2213, "GeForce GT 720M" }, 571 { 0x17aa, 0x2220, "GeForce GT 720M" }, 572 { 0x17aa, 0x309c, "GeForce GT 720A" }, 573 { 0x17aa, 0x30b4, "GeForce 820A" }, 574 { 0x17aa, 0x30b7, "GeForce 720A" }, 575 { 0x17aa, 0x30e4, "GeForce 820A" }, 576 { 0x17aa, 0x361b, "GeForce 820A" }, 577 { 0x17aa, 0x361c, "GeForce 820A" }, 578 { 0x17aa, 0x361d, "GeForce 820A" }, 579 { 0x17aa, 0x3656, "GeForce GT620M" }, 580 { 0x17aa, 0x365a, "GeForce 705M" }, 581 { 0x17aa, 0x365e, "GeForce 800M" }, 582 { 0x17aa, 0x3661, "GeForce 820A" }, 583 { 0x17aa, 0x366c, "GeForce 800M" }, 584 { 0x17aa, 0x3685, "GeForce 800M" }, 585 { 0x17aa, 0x3686, "GeForce 800M" }, 586 { 0x17aa, 0x3687, "GeForce 705A" }, 587 { 0x17aa, 0x3696, "GeForce 820A" }, 588 { 0x17aa, 0x369b, "GeForce 820A" }, 589 { 0x17aa, 0x369c, "GeForce 820A" }, 590 { 0x17aa, 0x369d, "GeForce 820A" }, 591 { 0x17aa, 0x369e, "GeForce 820A" }, 592 { 0x17aa, 0x36a6, "GeForce 820A" }, 593 { 0x17aa, 0x36a7, "GeForce 820A" }, 594 { 0x17aa, 0x36a9, "GeForce 820A" }, 595 { 0x17aa, 0x36af, "GeForce 820A" }, 596 { 0x17aa, 0x36b0, "GeForce 820A" }, 597 { 0x17aa, 0x36b6, "GeForce 820A" }, 598 { 0x17aa, 0x3800, "GeForce GT 720M" }, 599 { 0x17aa, 0x3801, "GeForce GT 720M" }, 600 { 0x17aa, 0x3802, "GeForce GT 720M" }, 601 { 0x17aa, 0x3803, "GeForce GT 720M" }, 602 { 0x17aa, 0x3804, "GeForce GT 720M" }, 603 { 0x17aa, 0x3806, "GeForce GT 720M" }, 604 { 0x17aa, 0x3808, "GeForce GT 720M" }, 605 { 0x17aa, 0x380d, "GeForce 820M" }, 606 { 0x17aa, 0x380e, "GeForce 820M" }, 607 { 0x17aa, 0x380f, "GeForce 820M" }, 608 { 0x17aa, 0x3811, "GeForce 820M" }, 609 { 0x17aa, 0x3812, "GeForce 820M" }, 610 { 0x17aa, 0x3813, "GeForce 820M" }, 611 { 0x17aa, 0x3816, "GeForce 820M" }, 612 { 0x17aa, 0x3817, "GeForce 820M" }, 613 { 0x17aa, 0x3818, "GeForce 820M" }, 614 { 0x17aa, 0x381a, "GeForce 820M" }, 615 { 0x17aa, 0x381c, "GeForce 820M" }, 616 { 0x17aa, 0x381d, "GeForce 820M" }, 617 { 0x17aa, 0x3901, "GeForce 610M" }, 618 { 0x17aa, 0x3902, "GeForce 710M" }, 619 { 0x17aa, 0x3903, "GeForce 710M" }, 620 { 0x17aa, 0x3904, "GeForce GT 625M" }, 621 { 0x17aa, 0x3905, "GeForce GT 720M" }, 622 { 0x17aa, 0x3907, "GeForce 820M" }, 623 { 0x17aa, 0x3910, "GeForce GT 720M" }, 624 { 0x17aa, 0x3912, "GeForce GT 720M" }, 625 { 0x17aa, 0x3913, "GeForce 820M" }, 626 { 0x17aa, 0x3915, "GeForce 820M" }, 627 { 0x17aa, 0x3983, "GeForce 610M" }, 628 { 0x17aa, 0x5001, "GeForce 610M" }, 629 { 0x17aa, 0x5003, "GeForce GT 720M" }, 630 { 0x17aa, 0x5005, "GeForce 705M" }, 631 { 0x17aa, 0x500d, "GeForce GT 620M" }, 632 { 0x17aa, 0x5014, "GeForce 710M" }, 633 { 0x17aa, 0x5017, "GeForce 710M" }, 634 { 0x17aa, 0x5019, "GeForce 710M" }, 635 { 0x17aa, 0x501a, "GeForce 710M" }, 636 { 0x17aa, 0x501f, "GeForce GT 720M" }, 637 { 0x17aa, 0x5025, "GeForce 710M" }, 638 { 0x17aa, 0x5027, "GeForce 710M" }, 639 { 0x17aa, 0x502a, "GeForce 710M" }, 640 { 0x17aa, 0x502b, "GeForce GT 720M" }, 641 { 0x17aa, 0x502d, "GeForce 710M" }, 642 { 0x17aa, 0x502e, "GeForce GT 720M" }, 643 { 0x17aa, 0x502f, "GeForce GT 720M" }, 644 { 0x17aa, 0x5030, "GeForce 705M" }, 645 { 0x17aa, 0x5031, "GeForce 705M" }, 646 { 0x17aa, 0x5032, "GeForce 820M" }, 647 { 0x17aa, 0x5033, "GeForce 820M" }, 648 { 0x17aa, 0x503e, "GeForce 710M" }, 649 { 0x17aa, 0x503f, "GeForce 820M" }, 650 { 0x17aa, 0x5040, "GeForce 820M" }, 651 { 0x1854, 0x0177, "GeForce 710M" }, 652 { 0x1854, 0x0180, "GeForce 710M" }, 653 { 0x1854, 0x0190, "GeForce GT 720M" }, 654 { 0x1854, 0x0192, "GeForce GT 720M" }, 655 { 0x1854, 0x0224, "GeForce 820M" }, 656 { 0x1b0a, 0x20dd, "GeForce GT 620M" }, 657 { 0x1b0a, 0x20df, "GeForce GT 620M" }, 658 { 0x1b0a, 0x210e, "GeForce 820M" }, 659 { 0x1b0a, 0x2202, "GeForce GT 720M" }, 660 { 0x1b0a, 0x90d7, "GeForce 820M" }, 661 { 0x1b0a, 0x90dd, "GeForce 820M" }, 662 { 0x1b50, 0x5530, "GeForce 820M" }, 663 {} 664 }; 665 666 static const struct nvkm_device_pci_vendor 667 nvkm_device_pci_10de_1185[] = { 668 { 0x10de, 0x106f, "GeForce GTX 760" }, 669 {} 670 }; 671 672 static const struct nvkm_device_pci_vendor 673 nvkm_device_pci_10de_1189[] = { 674 { 0x10de, 0x1074, "GeForce GTX 760 Ti OEM" }, 675 {} 676 }; 677 678 static const struct nvkm_device_pci_vendor 679 nvkm_device_pci_10de_1199[] = { 680 { 0x1458, 0xd001, "GeForce GTX 760" }, 681 {} 682 }; 683 684 static const struct nvkm_device_pci_vendor 685 nvkm_device_pci_10de_11e3[] = { 686 { 0x17aa, 0x3683, "GeForce GTX 760A" }, 687 {} 688 }; 689 690 static const struct nvkm_device_pci_vendor 691 nvkm_device_pci_10de_11fc[] = { 692 { 0x1179, 0x0001, NULL, { .War00C800_0 = true } }, /* Toshiba Tecra W50 */ 693 { 0x17aa, 0x2211, NULL, { .War00C800_0 = true } }, /* Lenovo W541 */ 694 { 0x17aa, 0x221e, NULL, { .War00C800_0 = true } }, /* Lenovo W541 */ 695 {} 696 }; 697 698 static const struct nvkm_device_pci_vendor 699 nvkm_device_pci_10de_1247[] = { 700 { 0x1043, 0x212a, "GeForce GT 635M" }, 701 { 0x1043, 0x212b, "GeForce GT 635M" }, 702 { 0x1043, 0x212c, "GeForce GT 635M" }, 703 {} 704 }; 705 706 static const struct nvkm_device_pci_vendor 707 nvkm_device_pci_10de_124d[] = { 708 { 0x1462, 0x10cc, "GeForce GT 635M" }, 709 {} 710 }; 711 712 static const struct nvkm_device_pci_vendor 713 nvkm_device_pci_10de_1290[] = { 714 { 0x103c, 0x2afa, "GeForce 730A" }, 715 {} 716 }; 717 718 static const struct nvkm_device_pci_vendor 719 nvkm_device_pci_10de_1292[] = { 720 { 0x17aa, 0x3675, "GeForce GT 740A" }, 721 { 0x17aa, 0x367c, "GeForce GT 740A" }, 722 { 0x17aa, 0x3684, "GeForce GT 740A" }, 723 {} 724 }; 725 726 static const struct nvkm_device_pci_vendor 727 nvkm_device_pci_10de_1295[] = { 728 { 0x103c, 0x2b0d, "GeForce 710A" }, 729 { 0x103c, 0x2b0f, "GeForce 710A" }, 730 { 0x103c, 0x2b20, "GeForce 810A" }, 731 { 0x103c, 0x2b21, "GeForce 810A" }, 732 {} 733 }; 734 735 static const struct nvkm_device_pci_vendor 736 nvkm_device_pci_10de_1299[] = { 737 { 0x17aa, 0x369b, "GeForce 920A" }, 738 {} 739 }; 740 741 static const struct nvkm_device_pci_vendor 742 nvkm_device_pci_10de_1340[] = { 743 { 0x103c, 0x2b2b, "GeForce 830A" }, 744 {} 745 }; 746 747 static const struct nvkm_device_pci_vendor 748 nvkm_device_pci_10de_1341[] = { 749 { 0x17aa, 0x3697, "GeForce 840A" }, 750 { 0x17aa, 0x3699, "GeForce 840A" }, 751 { 0x17aa, 0x369c, "GeForce 840A" }, 752 { 0x17aa, 0x36af, "GeForce 840A" }, 753 {} 754 }; 755 756 static const struct nvkm_device_pci_vendor 757 nvkm_device_pci_10de_1346[] = { 758 { 0x17aa, 0x30ba, "GeForce 930A" }, 759 { 0x17aa, 0x362c, "GeForce 930A" }, 760 {} 761 }; 762 763 static const struct nvkm_device_pci_vendor 764 nvkm_device_pci_10de_1347[] = { 765 { 0x17aa, 0x36b9, "GeForce 940A" }, 766 { 0x17aa, 0x36ba, "GeForce 940A" }, 767 {} 768 }; 769 770 static const struct nvkm_device_pci_vendor 771 nvkm_device_pci_10de_137a[] = { 772 { 0x17aa, 0x2225, "Quadro K620M" }, 773 {} 774 }; 775 776 static const struct nvkm_device_pci_vendor 777 nvkm_device_pci_10de_137d[] = { 778 { 0x17aa, 0x3699, "GeForce 940A" }, 779 {} 780 }; 781 782 static const struct nvkm_device_pci_vendor 783 nvkm_device_pci_10de_1391[] = { 784 { 0x17aa, 0x3697, "GeForce GTX 850A" }, 785 {} 786 }; 787 788 static const struct nvkm_device_pci_vendor 789 nvkm_device_pci_10de_1392[] = { 790 { 0x1028, 0x066a, "GeForce GPU" }, 791 { 0x1043, 0x861e, "GeForce GTX 750 Ti" }, 792 {} 793 }; 794 795 static const struct nvkm_device_pci_vendor 796 nvkm_device_pci_10de_139a[] = { 797 { 0x17aa, 0x36b9, "GeForce GTX 950A" }, 798 {} 799 }; 800 801 static const struct nvkm_device_pci_vendor 802 nvkm_device_pci_10de_139b[] = { 803 { 0x1028, 0x06a3, "GeForce GTX 860M" }, 804 { 0x19da, 0xc248, "GeForce GTX 750 Ti" }, 805 {} 806 }; 807 808 static const struct nvkm_device_pci_device 809 nvkm_device_pci_10de[] = { 810 { 0x0020, "RIVA TNT" }, 811 { 0x0028, "RIVA TNT2/TNT2 Pro" }, 812 { 0x0029, "RIVA TNT2 Ultra" }, 813 { 0x002c, "Vanta/Vanta LT" }, 814 { 0x002d, "RIVA TNT2 Model 64/Model 64 Pro" }, 815 { 0x0040, "GeForce 6800 Ultra" }, 816 { 0x0041, "GeForce 6800" }, 817 { 0x0042, "GeForce 6800 LE" }, 818 { 0x0043, "GeForce 6800 XE" }, 819 { 0x0044, "GeForce 6800 XT" }, 820 { 0x0045, "GeForce 6800 GT" }, 821 { 0x0046, "GeForce 6800 GT" }, 822 { 0x0047, "GeForce 6800 GS" }, 823 { 0x0048, "GeForce 6800 XT" }, 824 { 0x004e, "Quadro FX 4000" }, 825 { 0x0090, "GeForce 7800 GTX" }, 826 { 0x0091, "GeForce 7800 GTX" }, 827 { 0x0092, "GeForce 7800 GT" }, 828 { 0x0093, "GeForce 7800 GS" }, 829 { 0x0095, "GeForce 7800 SLI" }, 830 { 0x0098, "GeForce Go 7800" }, 831 { 0x0099, "GeForce Go 7800 GTX" }, 832 { 0x009d, "Quadro FX 4500" }, 833 { 0x00a0, "Aladdin TNT2" }, 834 { 0x00c0, "GeForce 6800 GS" }, 835 { 0x00c1, "GeForce 6800" }, 836 { 0x00c2, "GeForce 6800 LE" }, 837 { 0x00c3, "GeForce 6800 XT" }, 838 { 0x00c8, "GeForce Go 6800" }, 839 { 0x00c9, "GeForce Go 6800 Ultra" }, 840 { 0x00cc, "Quadro FX Go1400" }, 841 { 0x00cd, "Quadro FX 3450/4000 SDI" }, 842 { 0x00ce, "Quadro FX 1400" }, 843 { 0x00f1, "GeForce 6600 GT" }, 844 { 0x00f2, "GeForce 6600" }, 845 { 0x00f3, "GeForce 6200" }, 846 { 0x00f4, "GeForce 6600 LE" }, 847 { 0x00f5, "GeForce 7800 GS" }, 848 { 0x00f6, "GeForce 6800 GS" }, 849 { 0x00f8, "Quadro FX 3400/Quadro FX 4000" }, 850 { 0x00f9, "GeForce 6800 Ultra" }, 851 { 0x00fa, "GeForce PCX 5750" }, 852 { 0x00fb, "GeForce PCX 5900" }, 853 { 0x00fc, "Quadro FX 330/GeForce PCX 5300" }, 854 { 0x00fd, "Quadro FX 330/Quadro NVS 280 PCI-E" }, 855 { 0x00fe, "Quadro FX 1300" }, 856 { 0x0100, "GeForce 256" }, 857 { 0x0101, "GeForce DDR" }, 858 { 0x0103, "Quadro" }, 859 { 0x0110, "GeForce2 MX/MX 400" }, 860 { 0x0111, "GeForce2 MX 100/200" }, 861 { 0x0112, "GeForce2 Go" }, 862 { 0x0113, "Quadro2 MXR/EX/Go" }, 863 { 0x0140, "GeForce 6600 GT" }, 864 { 0x0141, "GeForce 6600" }, 865 { 0x0142, "GeForce 6600 LE" }, 866 { 0x0143, "GeForce 6600 VE" }, 867 { 0x0144, "GeForce Go 6600" }, 868 { 0x0145, "GeForce 6610 XL" }, 869 { 0x0146, "GeForce Go 6600 TE/6200 TE" }, 870 { 0x0147, "GeForce 6700 XL" }, 871 { 0x0148, "GeForce Go 6600" }, 872 { 0x0149, "GeForce Go 6600 GT" }, 873 { 0x014a, "Quadro NVS 440" }, 874 { 0x014c, "Quadro FX 540M" }, 875 { 0x014d, "Quadro FX 550" }, 876 { 0x014e, "Quadro FX 540" }, 877 { 0x014f, "GeForce 6200" }, 878 { 0x0150, "GeForce2 GTS/GeForce2 Pro" }, 879 { 0x0151, "GeForce2 Ti" }, 880 { 0x0152, "GeForce2 Ultra" }, 881 { 0x0153, "Quadro2 Pro" }, 882 { 0x0160, "GeForce 6500" }, 883 { 0x0161, "GeForce 6200 TurboCache(TM)" }, 884 { 0x0162, "GeForce 6200SE TurboCache(TM)" }, 885 { 0x0163, "GeForce 6200 LE" }, 886 { 0x0164, "GeForce Go 6200" }, 887 { 0x0165, "Quadro NVS 285" }, 888 { 0x0166, "GeForce Go 6400" }, 889 { 0x0167, "GeForce Go 6200" }, 890 { 0x0168, "GeForce Go 6400" }, 891 { 0x0169, "GeForce 6250" }, 892 { 0x016a, "GeForce 7100 GS" }, 893 { 0x0170, "GeForce4 MX 460" }, 894 { 0x0171, "GeForce4 MX 440" }, 895 { 0x0172, "GeForce4 MX 420" }, 896 { 0x0173, "GeForce4 MX 440-SE" }, 897 { 0x0174, "GeForce4 440 Go" }, 898 { 0x0175, "GeForce4 420 Go" }, 899 { 0x0176, "GeForce4 420 Go 32M" }, 900 { 0x0177, "GeForce4 460 Go" }, 901 { 0x0178, "Quadro4 550 XGL" }, 902 { 0x0179, "GeForce4 440 Go 64M" }, 903 { 0x017a, "Quadro NVS 400" }, 904 { 0x017c, "Quadro4 500 GoGL" }, 905 { 0x017d, "GeForce4 410 Go 16M" }, 906 { 0x0181, "GeForce4 MX 440 with AGP8X" }, 907 { 0x0182, "GeForce4 MX 440SE with AGP8X" }, 908 { 0x0183, "GeForce4 MX 420 with AGP8X" }, 909 { 0x0185, "GeForce4 MX 4000" }, 910 { 0x0188, "Quadro4 580 XGL" }, 911 { 0x0189, "GeForce4 MX with AGP8X (Mac)", nvkm_device_pci_10de_0189 }, 912 { 0x018a, "Quadro NVS 280 SD" }, 913 { 0x018b, "Quadro4 380 XGL" }, 914 { 0x018c, "Quadro NVS 50 PCI" }, 915 { 0x0191, "GeForce 8800 GTX" }, 916 { 0x0193, "GeForce 8800 GTS" }, 917 { 0x0194, "GeForce 8800 Ultra" }, 918 { 0x0197, "Tesla C870" }, 919 { 0x019d, "Quadro FX 5600" }, 920 { 0x019e, "Quadro FX 4600" }, 921 { 0x01a0, "GeForce2 Integrated GPU" }, 922 { 0x01d0, "GeForce 7350 LE" }, 923 { 0x01d1, "GeForce 7300 LE" }, 924 { 0x01d2, "GeForce 7550 LE" }, 925 { 0x01d3, "GeForce 7300 SE/7200 GS" }, 926 { 0x01d6, "GeForce Go 7200" }, 927 { 0x01d7, "GeForce Go 7300" }, 928 { 0x01d8, "GeForce Go 7400" }, 929 { 0x01da, "Quadro NVS 110M" }, 930 { 0x01db, "Quadro NVS 120M" }, 931 { 0x01dc, "Quadro FX 350M" }, 932 { 0x01dd, "GeForce 7500 LE" }, 933 { 0x01de, "Quadro FX 350" }, 934 { 0x01df, "GeForce 7300 GS" }, 935 { 0x01f0, "GeForce4 MX Integrated GPU", nvkm_device_pci_10de_01f0 }, 936 { 0x0200, "GeForce3" }, 937 { 0x0201, "GeForce3 Ti 200" }, 938 { 0x0202, "GeForce3 Ti 500" }, 939 { 0x0203, "Quadro DCC" }, 940 { 0x0211, "GeForce 6800" }, 941 { 0x0212, "GeForce 6800 LE" }, 942 { 0x0215, "GeForce 6800 GT" }, 943 { 0x0218, "GeForce 6800 XT" }, 944 { 0x0221, "GeForce 6200" }, 945 { 0x0222, "GeForce 6200 A-LE" }, 946 { 0x0240, "GeForce 6150" }, 947 { 0x0241, "GeForce 6150 LE" }, 948 { 0x0242, "GeForce 6100" }, 949 { 0x0244, "GeForce Go 6150" }, 950 { 0x0245, "Quadro NVS 210S / GeForce 6150LE" }, 951 { 0x0247, "GeForce Go 6100" }, 952 { 0x0250, "GeForce4 Ti 4600" }, 953 { 0x0251, "GeForce4 Ti 4400" }, 954 { 0x0253, "GeForce4 Ti 4200" }, 955 { 0x0258, "Quadro4 900 XGL" }, 956 { 0x0259, "Quadro4 750 XGL" }, 957 { 0x025b, "Quadro4 700 XGL" }, 958 { 0x0280, "GeForce4 Ti 4800" }, 959 { 0x0281, "GeForce4 Ti 4200 with AGP8X" }, 960 { 0x0282, "GeForce4 Ti 4800 SE" }, 961 { 0x0286, "GeForce4 4200 Go" }, 962 { 0x0288, "Quadro4 980 XGL" }, 963 { 0x0289, "Quadro4 780 XGL" }, 964 { 0x028c, "Quadro4 700 GoGL" }, 965 { 0x0290, "GeForce 7900 GTX" }, 966 { 0x0291, "GeForce 7900 GT/GTO" }, 967 { 0x0292, "GeForce 7900 GS" }, 968 { 0x0293, "GeForce 7950 GX2" }, 969 { 0x0294, "GeForce 7950 GX2" }, 970 { 0x0295, "GeForce 7950 GT" }, 971 { 0x0297, "GeForce Go 7950 GTX" }, 972 { 0x0298, "GeForce Go 7900 GS" }, 973 { 0x0299, "Quadro NVS 510M" }, 974 { 0x029a, "Quadro FX 2500M" }, 975 { 0x029b, "Quadro FX 1500M" }, 976 { 0x029c, "Quadro FX 5500" }, 977 { 0x029d, "Quadro FX 3500" }, 978 { 0x029e, "Quadro FX 1500" }, 979 { 0x029f, "Quadro FX 4500 X2" }, 980 { 0x02e0, "GeForce 7600 GT" }, 981 { 0x02e1, "GeForce 7600 GS" }, 982 { 0x02e2, "GeForce 7300 GT" }, 983 { 0x02e3, "GeForce 7900 GS" }, 984 { 0x02e4, "GeForce 7950 GT" }, 985 { 0x0301, "GeForce FX 5800 Ultra" }, 986 { 0x0302, "GeForce FX 5800" }, 987 { 0x0308, "Quadro FX 2000" }, 988 { 0x0309, "Quadro FX 1000" }, 989 { 0x0311, "GeForce FX 5600 Ultra" }, 990 { 0x0312, "GeForce FX 5600" }, 991 { 0x0314, "GeForce FX 5600XT" }, 992 { 0x031a, "GeForce FX Go5600" }, 993 { 0x031b, "GeForce FX Go5650" }, 994 { 0x031c, "Quadro FX Go700" }, 995 { 0x0320, "GeForce FX 5200" }, 996 { 0x0321, "GeForce FX 5200 Ultra" }, 997 { 0x0322, "GeForce FX 5200", nvkm_device_pci_10de_0322 }, 998 { 0x0323, "GeForce FX 5200LE" }, 999 { 0x0324, "GeForce FX Go5200" }, 1000 { 0x0325, "GeForce FX Go5250" }, 1001 { 0x0326, "GeForce FX 5500" }, 1002 { 0x0327, "GeForce FX 5100" }, 1003 { 0x0328, "GeForce FX Go5200 32M/64M" }, 1004 { 0x032a, "Quadro NVS 55/280 PCI" }, 1005 { 0x032b, "Quadro FX 500/FX 600" }, 1006 { 0x032c, "GeForce FX Go53xx" }, 1007 { 0x032d, "GeForce FX Go5100" }, 1008 { 0x0330, "GeForce FX 5900 Ultra" }, 1009 { 0x0331, "GeForce FX 5900" }, 1010 { 0x0332, "GeForce FX 5900XT" }, 1011 { 0x0333, "GeForce FX 5950 Ultra" }, 1012 { 0x0334, "GeForce FX 5900ZT" }, 1013 { 0x0338, "Quadro FX 3000" }, 1014 { 0x033f, "Quadro FX 700" }, 1015 { 0x0341, "GeForce FX 5700 Ultra" }, 1016 { 0x0342, "GeForce FX 5700" }, 1017 { 0x0343, "GeForce FX 5700LE" }, 1018 { 0x0344, "GeForce FX 5700VE" }, 1019 { 0x0347, "GeForce FX Go5700" }, 1020 { 0x0348, "GeForce FX Go5700" }, 1021 { 0x034c, "Quadro FX Go1000" }, 1022 { 0x034e, "Quadro FX 1100" }, 1023 { 0x038b, "GeForce 7650 GS" }, 1024 { 0x0390, "GeForce 7650 GS" }, 1025 { 0x0391, "GeForce 7600 GT" }, 1026 { 0x0392, "GeForce 7600 GS" }, 1027 { 0x0393, "GeForce 7300 GT" }, 1028 { 0x0394, "GeForce 7600 LE" }, 1029 { 0x0395, "GeForce 7300 GT" }, 1030 { 0x0397, "GeForce Go 7700" }, 1031 { 0x0398, "GeForce Go 7600" }, 1032 { 0x0399, "GeForce Go 7600 GT" }, 1033 { 0x039c, "Quadro FX 560M" }, 1034 { 0x039e, "Quadro FX 560" }, 1035 { 0x03d0, "GeForce 6150SE nForce 430" }, 1036 { 0x03d1, "GeForce 6100 nForce 405" }, 1037 { 0x03d2, "GeForce 6100 nForce 400" }, 1038 { 0x03d5, "GeForce 6100 nForce 420" }, 1039 { 0x03d6, "GeForce 7025 / nForce 630a" }, 1040 { 0x0400, "GeForce 8600 GTS" }, 1041 { 0x0401, "GeForce 8600 GT" }, 1042 { 0x0402, "GeForce 8600 GT" }, 1043 { 0x0403, "GeForce 8600 GS" }, 1044 { 0x0404, "GeForce 8400 GS" }, 1045 { 0x0405, "GeForce 9500M GS" }, 1046 { 0x0406, "GeForce 8300 GS" }, 1047 { 0x0407, "GeForce 8600M GT" }, 1048 { 0x0408, "GeForce 9650M GS" }, 1049 { 0x0409, "GeForce 8700M GT" }, 1050 { 0x040a, "Quadro FX 370" }, 1051 { 0x040b, "Quadro NVS 320M" }, 1052 { 0x040c, "Quadro FX 570M" }, 1053 { 0x040d, "Quadro FX 1600M" }, 1054 { 0x040e, "Quadro FX 570" }, 1055 { 0x040f, "Quadro FX 1700" }, 1056 { 0x0410, "GeForce GT 330" }, 1057 { 0x0420, "GeForce 8400 SE" }, 1058 { 0x0421, "GeForce 8500 GT" }, 1059 { 0x0422, "GeForce 8400 GS" }, 1060 { 0x0423, "GeForce 8300 GS" }, 1061 { 0x0424, "GeForce 8400 GS" }, 1062 { 0x0425, "GeForce 8600M GS" }, 1063 { 0x0426, "GeForce 8400M GT" }, 1064 { 0x0427, "GeForce 8400M GS" }, 1065 { 0x0428, "GeForce 8400M G" }, 1066 { 0x0429, "Quadro NVS 140M" }, 1067 { 0x042a, "Quadro NVS 130M" }, 1068 { 0x042b, "Quadro NVS 135M" }, 1069 { 0x042c, "GeForce 9400 GT" }, 1070 { 0x042d, "Quadro FX 360M" }, 1071 { 0x042e, "GeForce 9300M G" }, 1072 { 0x042f, "Quadro NVS 290" }, 1073 { 0x0531, "GeForce 7150M / nForce 630M" }, 1074 { 0x0533, "GeForce 7000M / nForce 610M" }, 1075 { 0x053a, "GeForce 7050 PV / nForce 630a" }, 1076 { 0x053b, "GeForce 7050 PV / nForce 630a" }, 1077 { 0x053e, "GeForce 7025 / nForce 630a" }, 1078 { 0x05e0, "GeForce GTX 295" }, 1079 { 0x05e1, "GeForce GTX 280" }, 1080 { 0x05e2, "GeForce GTX 260" }, 1081 { 0x05e3, "GeForce GTX 285" }, 1082 { 0x05e6, "GeForce GTX 275" }, 1083 { 0x05e7, "Tesla C1060", nvkm_device_pci_10de_05e7 }, 1084 { 0x05ea, "GeForce GTX 260" }, 1085 { 0x05eb, "GeForce GTX 295" }, 1086 { 0x05ed, "Quadroplex 2200 D2" }, 1087 { 0x05f8, "Quadroplex 2200 S4" }, 1088 { 0x05f9, "Quadro CX" }, 1089 { 0x05fd, "Quadro FX 5800" }, 1090 { 0x05fe, "Quadro FX 4800" }, 1091 { 0x05ff, "Quadro FX 3800" }, 1092 { 0x0600, "GeForce 8800 GTS 512" }, 1093 { 0x0601, "GeForce 9800 GT" }, 1094 { 0x0602, "GeForce 8800 GT" }, 1095 { 0x0603, "GeForce GT 230" }, 1096 { 0x0604, "GeForce 9800 GX2" }, 1097 { 0x0605, "GeForce 9800 GT" }, 1098 { 0x0606, "GeForce 8800 GS" }, 1099 { 0x0607, "GeForce GTS 240" }, 1100 { 0x0608, "GeForce 9800M GTX" }, 1101 { 0x0609, "GeForce 8800M GTS", nvkm_device_pci_10de_0609 }, 1102 { 0x060a, "GeForce GTX 280M" }, 1103 { 0x060b, "GeForce 9800M GT" }, 1104 { 0x060c, "GeForce 8800M GTX" }, 1105 { 0x060d, "GeForce 8800 GS" }, 1106 { 0x060f, "GeForce GTX 285M" }, 1107 { 0x0610, "GeForce 9600 GSO" }, 1108 { 0x0611, "GeForce 8800 GT" }, 1109 { 0x0612, "GeForce 9800 GTX/9800 GTX+" }, 1110 { 0x0613, "GeForce 9800 GTX+" }, 1111 { 0x0614, "GeForce 9800 GT" }, 1112 { 0x0615, "GeForce GTS 250" }, 1113 { 0x0617, "GeForce 9800M GTX" }, 1114 { 0x0618, "GeForce GTX 260M" }, 1115 { 0x0619, "Quadro FX 4700 X2" }, 1116 { 0x061a, "Quadro FX 3700" }, 1117 { 0x061b, "Quadro VX 200" }, 1118 { 0x061c, "Quadro FX 3600M" }, 1119 { 0x061d, "Quadro FX 2800M" }, 1120 { 0x061e, "Quadro FX 3700M" }, 1121 { 0x061f, "Quadro FX 3800M" }, 1122 { 0x0621, "GeForce GT 230" }, 1123 { 0x0622, "GeForce 9600 GT" }, 1124 { 0x0623, "GeForce 9600 GS" }, 1125 { 0x0625, "GeForce 9600 GSO 512" }, 1126 { 0x0626, "GeForce GT 130" }, 1127 { 0x0627, "GeForce GT 140" }, 1128 { 0x0628, "GeForce 9800M GTS" }, 1129 { 0x062a, "GeForce 9700M GTS" }, 1130 { 0x062b, "GeForce 9800M GS" }, 1131 { 0x062c, "GeForce 9800M GTS" }, 1132 { 0x062d, "GeForce 9600 GT" }, 1133 { 0x062e, "GeForce 9600 GT", nvkm_device_pci_10de_062e }, 1134 { 0x0630, "GeForce 9700 S" }, 1135 { 0x0631, "GeForce GTS 160M" }, 1136 { 0x0632, "GeForce GTS 150M" }, 1137 { 0x0635, "GeForce 9600 GSO" }, 1138 { 0x0637, "GeForce 9600 GT" }, 1139 { 0x0638, "Quadro FX 1800" }, 1140 { 0x063a, "Quadro FX 2700M" }, 1141 { 0x0640, "GeForce 9500 GT" }, 1142 { 0x0641, "GeForce 9400 GT" }, 1143 { 0x0643, "GeForce 9500 GT" }, 1144 { 0x0644, "GeForce 9500 GS" }, 1145 { 0x0645, "GeForce 9500 GS" }, 1146 { 0x0646, "GeForce GT 120" }, 1147 { 0x0647, "GeForce 9600M GT" }, 1148 { 0x0648, "GeForce 9600M GS" }, 1149 { 0x0649, "GeForce 9600M GT", nvkm_device_pci_10de_0649 }, 1150 { 0x064a, "GeForce 9700M GT" }, 1151 { 0x064b, "GeForce 9500M G" }, 1152 { 0x064c, "GeForce 9650M GT" }, 1153 { 0x0651, "GeForce G 110M" }, 1154 { 0x0652, "GeForce GT 130M", nvkm_device_pci_10de_0652 }, 1155 { 0x0653, "GeForce GT 120M" }, 1156 { 0x0654, "GeForce GT 220M", nvkm_device_pci_10de_0654 }, 1157 { 0x0655, NULL, nvkm_device_pci_10de_0655 }, 1158 { 0x0656, NULL, nvkm_device_pci_10de_0656 }, 1159 { 0x0658, "Quadro FX 380" }, 1160 { 0x0659, "Quadro FX 580" }, 1161 { 0x065a, "Quadro FX 1700M" }, 1162 { 0x065b, "GeForce 9400 GT" }, 1163 { 0x065c, "Quadro FX 770M" }, 1164 { 0x06c0, "GeForce GTX 480" }, 1165 { 0x06c4, "GeForce GTX 465" }, 1166 { 0x06ca, "GeForce GTX 480M" }, 1167 { 0x06cd, "GeForce GTX 470" }, 1168 { 0x06d1, "Tesla C2050 / C2070", nvkm_device_pci_10de_06d1 }, 1169 { 0x06d2, "Tesla M2070", nvkm_device_pci_10de_06d2 }, 1170 { 0x06d8, "Quadro 6000" }, 1171 { 0x06d9, "Quadro 5000" }, 1172 { 0x06da, "Quadro 5000M" }, 1173 { 0x06dc, "Quadro 6000" }, 1174 { 0x06dd, "Quadro 4000" }, 1175 { 0x06de, "Tesla T20 Processor", nvkm_device_pci_10de_06de }, 1176 { 0x06df, "Tesla M2070-Q" }, 1177 { 0x06e0, "GeForce 9300 GE" }, 1178 { 0x06e1, "GeForce 9300 GS" }, 1179 { 0x06e2, "GeForce 8400" }, 1180 { 0x06e3, "GeForce 8400 SE" }, 1181 { 0x06e4, "GeForce 8400 GS" }, 1182 { 0x06e5, "GeForce 9300M GS" }, 1183 { 0x06e6, "GeForce G100" }, 1184 { 0x06e7, "GeForce 9300 SE" }, 1185 { 0x06e8, "GeForce 9200M GS", nvkm_device_pci_10de_06e8 }, 1186 { 0x06e9, "GeForce 9300M GS" }, 1187 { 0x06ea, "Quadro NVS 150M" }, 1188 { 0x06eb, "Quadro NVS 160M" }, 1189 { 0x06ec, "GeForce G 105M" }, 1190 { 0x06ef, "GeForce G 103M" }, 1191 { 0x06f1, "GeForce G105M" }, 1192 { 0x06f8, "Quadro NVS 420" }, 1193 { 0x06f9, "Quadro FX 370 LP", nvkm_device_pci_10de_06f9 }, 1194 { 0x06fa, "Quadro NVS 450" }, 1195 { 0x06fb, "Quadro FX 370M" }, 1196 { 0x06fd, "Quadro NVS 295" }, 1197 { 0x06ff, "HICx16 + Graphics", nvkm_device_pci_10de_06ff }, 1198 { 0x07e0, "GeForce 7150 / nForce 630i" }, 1199 { 0x07e1, "GeForce 7100 / nForce 630i" }, 1200 { 0x07e2, "GeForce 7050 / nForce 630i" }, 1201 { 0x07e3, "GeForce 7050 / nForce 610i" }, 1202 { 0x07e5, "GeForce 7050 / nForce 620i" }, 1203 { 0x0840, "GeForce 8200M" }, 1204 { 0x0844, "GeForce 9100M G" }, 1205 { 0x0845, "GeForce 8200M G" }, 1206 { 0x0846, "GeForce 9200" }, 1207 { 0x0847, "GeForce 9100" }, 1208 { 0x0848, "GeForce 8300" }, 1209 { 0x0849, "GeForce 8200" }, 1210 { 0x084a, "nForce 730a" }, 1211 { 0x084b, "GeForce 9200" }, 1212 { 0x084c, "nForce 980a/780a SLI" }, 1213 { 0x084d, "nForce 750a SLI" }, 1214 { 0x084f, "GeForce 8100 / nForce 720a" }, 1215 { 0x0860, "GeForce 9400" }, 1216 { 0x0861, "GeForce 9400" }, 1217 { 0x0862, "GeForce 9400M G" }, 1218 { 0x0863, "GeForce 9400M" }, 1219 { 0x0864, "GeForce 9300" }, 1220 { 0x0865, "ION" }, 1221 { 0x0866, "GeForce 9400M G", nvkm_device_pci_10de_0866 }, 1222 { 0x0867, "GeForce 9400" }, 1223 { 0x0868, "nForce 760i SLI" }, 1224 { 0x0869, "GeForce 9400" }, 1225 { 0x086a, "GeForce 9400" }, 1226 { 0x086c, "GeForce 9300 / nForce 730i" }, 1227 { 0x086d, "GeForce 9200" }, 1228 { 0x086e, "GeForce 9100M G" }, 1229 { 0x086f, "GeForce 8200M G" }, 1230 { 0x0870, "GeForce 9400M" }, 1231 { 0x0871, "GeForce 9200" }, 1232 { 0x0872, "GeForce G102M", nvkm_device_pci_10de_0872 }, 1233 { 0x0873, "GeForce G102M", nvkm_device_pci_10de_0873 }, 1234 { 0x0874, "ION" }, 1235 { 0x0876, "ION" }, 1236 { 0x087a, "GeForce 9400" }, 1237 { 0x087d, "ION" }, 1238 { 0x087e, "ION LE" }, 1239 { 0x087f, "ION LE" }, 1240 { 0x08a0, "GeForce 320M" }, 1241 { 0x08a2, "GeForce 320M" }, 1242 { 0x08a3, "GeForce 320M" }, 1243 { 0x08a4, "GeForce 320M" }, 1244 { 0x08a5, "GeForce 320M" }, 1245 { 0x0a20, "GeForce GT 220" }, 1246 { 0x0a22, "GeForce 315" }, 1247 { 0x0a23, "GeForce 210" }, 1248 { 0x0a26, "GeForce 405" }, 1249 { 0x0a27, "GeForce 405" }, 1250 { 0x0a28, "GeForce GT 230M" }, 1251 { 0x0a29, "GeForce GT 330M" }, 1252 { 0x0a2a, "GeForce GT 230M" }, 1253 { 0x0a2b, "GeForce GT 330M" }, 1254 { 0x0a2c, "NVS 5100M" }, 1255 { 0x0a2d, "GeForce GT 320M" }, 1256 { 0x0a32, "GeForce GT 415" }, 1257 { 0x0a34, "GeForce GT 240M" }, 1258 { 0x0a35, "GeForce GT 325M" }, 1259 { 0x0a38, "Quadro 400" }, 1260 { 0x0a3c, "Quadro FX 880M" }, 1261 { 0x0a60, "GeForce G210" }, 1262 { 0x0a62, "GeForce 205" }, 1263 { 0x0a63, "GeForce 310" }, 1264 { 0x0a64, "Second Generation ION" }, 1265 { 0x0a65, "GeForce 210" }, 1266 { 0x0a66, "GeForce 310" }, 1267 { 0x0a67, "GeForce 315" }, 1268 { 0x0a68, "GeForce G105M" }, 1269 { 0x0a69, "GeForce G105M" }, 1270 { 0x0a6a, "NVS 2100M" }, 1271 { 0x0a6c, "NVS 3100M" }, 1272 { 0x0a6e, "GeForce 305M", nvkm_device_pci_10de_0a6e }, 1273 { 0x0a6f, "Second Generation ION" }, 1274 { 0x0a70, "GeForce 310M", nvkm_device_pci_10de_0a70 }, 1275 { 0x0a71, "GeForce 305M" }, 1276 { 0x0a72, "GeForce 310M" }, 1277 { 0x0a73, "GeForce 305M", nvkm_device_pci_10de_0a73 }, 1278 { 0x0a74, "GeForce G210M", nvkm_device_pci_10de_0a74 }, 1279 { 0x0a75, "GeForce 310M", nvkm_device_pci_10de_0a75 }, 1280 { 0x0a76, "Second Generation ION" }, 1281 { 0x0a78, "Quadro FX 380 LP" }, 1282 { 0x0a7a, "GeForce 315M", nvkm_device_pci_10de_0a7a }, 1283 { 0x0a7c, "Quadro FX 380M" }, 1284 { 0x0ca0, "GeForce GT 330" }, 1285 { 0x0ca2, "GeForce GT 320" }, 1286 { 0x0ca3, "GeForce GT 240" }, 1287 { 0x0ca4, "GeForce GT 340" }, 1288 { 0x0ca5, "GeForce GT 220" }, 1289 { 0x0ca7, "GeForce GT 330" }, 1290 { 0x0ca8, "GeForce GTS 260M" }, 1291 { 0x0ca9, "GeForce GTS 250M" }, 1292 { 0x0cac, "GeForce GT 220" }, 1293 { 0x0caf, "GeForce GT 335M" }, 1294 { 0x0cb0, "GeForce GTS 350M" }, 1295 { 0x0cb1, "GeForce GTS 360M" }, 1296 { 0x0cbc, "Quadro FX 1800M" }, 1297 { 0x0dc0, "GeForce GT 440" }, 1298 { 0x0dc4, "GeForce GTS 450" }, 1299 { 0x0dc5, "GeForce GTS 450" }, 1300 { 0x0dc6, "GeForce GTS 450" }, 1301 { 0x0dcd, "GeForce GT 555M" }, 1302 { 0x0dce, "GeForce GT 555M" }, 1303 { 0x0dd1, "GeForce GTX 460M" }, 1304 { 0x0dd2, "GeForce GT 445M" }, 1305 { 0x0dd3, "GeForce GT 435M" }, 1306 { 0x0dd6, "GeForce GT 550M" }, 1307 { 0x0dd8, "Quadro 2000", nvkm_device_pci_10de_0dd8 }, 1308 { 0x0dda, "Quadro 2000M" }, 1309 { 0x0de0, "GeForce GT 440" }, 1310 { 0x0de1, "GeForce GT 430" }, 1311 { 0x0de2, "GeForce GT 420" }, 1312 { 0x0de3, "GeForce GT 635M" }, 1313 { 0x0de4, "GeForce GT 520" }, 1314 { 0x0de5, "GeForce GT 530" }, 1315 { 0x0de7, "GeForce GT 610" }, 1316 { 0x0de8, "GeForce GT 620M" }, 1317 { 0x0de9, "GeForce GT 630M", nvkm_device_pci_10de_0de9 }, 1318 { 0x0dea, "GeForce 610M", nvkm_device_pci_10de_0dea }, 1319 { 0x0deb, "GeForce GT 555M" }, 1320 { 0x0dec, "GeForce GT 525M" }, 1321 { 0x0ded, "GeForce GT 520M" }, 1322 { 0x0dee, "GeForce GT 415M" }, 1323 { 0x0def, "NVS 5400M" }, 1324 { 0x0df0, "GeForce GT 425M" }, 1325 { 0x0df1, "GeForce GT 420M" }, 1326 { 0x0df2, "GeForce GT 435M" }, 1327 { 0x0df3, "GeForce GT 420M" }, 1328 { 0x0df4, "GeForce GT 540M", nvkm_device_pci_10de_0df4 }, 1329 { 0x0df5, "GeForce GT 525M" }, 1330 { 0x0df6, "GeForce GT 550M" }, 1331 { 0x0df7, "GeForce GT 520M" }, 1332 { 0x0df8, "Quadro 600" }, 1333 { 0x0df9, "Quadro 500M" }, 1334 { 0x0dfa, "Quadro 1000M" }, 1335 { 0x0dfc, "NVS 5200M" }, 1336 { 0x0e22, "GeForce GTX 460" }, 1337 { 0x0e23, "GeForce GTX 460 SE" }, 1338 { 0x0e24, "GeForce GTX 460" }, 1339 { 0x0e30, "GeForce GTX 470M" }, 1340 { 0x0e31, "GeForce GTX 485M" }, 1341 { 0x0e3a, "Quadro 3000M" }, 1342 { 0x0e3b, "Quadro 4000M" }, 1343 { 0x0f00, "GeForce GT 630" }, 1344 { 0x0f01, "GeForce GT 620" }, 1345 { 0x0f02, "GeForce GT 730" }, 1346 { 0x0fc0, "GeForce GT 640" }, 1347 { 0x0fc1, "GeForce GT 640" }, 1348 { 0x0fc2, "GeForce GT 630" }, 1349 { 0x0fc6, "GeForce GTX 650" }, 1350 { 0x0fc8, "GeForce GT 740" }, 1351 { 0x0fc9, "GeForce GT 730" }, 1352 { 0x0fcd, "GeForce GT 755M" }, 1353 { 0x0fce, "GeForce GT 640M LE" }, 1354 { 0x0fd1, "GeForce GT 650M" }, 1355 { 0x0fd2, "GeForce GT 640M", nvkm_device_pci_10de_0fd2 }, 1356 { 0x0fd3, "GeForce GT 640M LE" }, 1357 { 0x0fd4, "GeForce GTX 660M" }, 1358 { 0x0fd5, "GeForce GT 650M" }, 1359 { 0x0fd8, "GeForce GT 640M" }, 1360 { 0x0fd9, "GeForce GT 645M" }, 1361 { 0x0fdf, "GeForce GT 740M" }, 1362 { 0x0fe0, "GeForce GTX 660M" }, 1363 { 0x0fe1, "GeForce GT 730M" }, 1364 { 0x0fe2, "GeForce GT 745M" }, 1365 { 0x0fe3, "GeForce GT 745M", nvkm_device_pci_10de_0fe3 }, 1366 { 0x0fe4, "GeForce GT 750M" }, 1367 { 0x0fe9, "GeForce GT 750M" }, 1368 { 0x0fea, "GeForce GT 755M" }, 1369 { 0x0fec, "GeForce 710A" }, 1370 { 0x0fef, "GRID K340" }, 1371 { 0x0ff2, "GRID K1" }, 1372 { 0x0ff3, "Quadro K420" }, 1373 { 0x0ff6, "Quadro K1100M" }, 1374 { 0x0ff8, "Quadro K500M" }, 1375 { 0x0ff9, "Quadro K2000D" }, 1376 { 0x0ffa, "Quadro K600" }, 1377 { 0x0ffb, "Quadro K2000M" }, 1378 { 0x0ffc, "Quadro K1000M" }, 1379 { 0x0ffd, "NVS 510" }, 1380 { 0x0ffe, "Quadro K2000" }, 1381 { 0x0fff, "Quadro 410" }, 1382 { 0x1001, "GeForce GTX TITAN Z" }, 1383 { 0x1004, "GeForce GTX 780" }, 1384 { 0x1005, "GeForce GTX TITAN" }, 1385 { 0x1007, "GeForce GTX 780" }, 1386 { 0x1008, "GeForce GTX 780 Ti" }, 1387 { 0x100a, "GeForce GTX 780 Ti" }, 1388 { 0x100c, "GeForce GTX TITAN Black" }, 1389 { 0x1021, "Tesla K20Xm" }, 1390 { 0x1022, "Tesla K20c" }, 1391 { 0x1023, "Tesla K40m" }, 1392 { 0x1024, "Tesla K40c" }, 1393 { 0x1026, "Tesla K20s" }, 1394 { 0x1027, "Tesla K40st" }, 1395 { 0x1028, "Tesla K20m" }, 1396 { 0x1029, "Tesla K40s" }, 1397 { 0x102a, "Tesla K40t" }, 1398 { 0x102d, "Tesla K80" }, 1399 { 0x103a, "Quadro K6000" }, 1400 { 0x103c, "Quadro K5200" }, 1401 { 0x1040, "GeForce GT 520" }, 1402 { 0x1042, "GeForce 510" }, 1403 { 0x1048, "GeForce 605" }, 1404 { 0x1049, "GeForce GT 620" }, 1405 { 0x104a, "GeForce GT 610" }, 1406 { 0x104b, "GeForce GT 625 (OEM)", nvkm_device_pci_10de_104b }, 1407 { 0x104c, "GeForce GT 705" }, 1408 { 0x1050, "GeForce GT 520M" }, 1409 { 0x1051, "GeForce GT 520MX" }, 1410 { 0x1052, "GeForce GT 520M" }, 1411 { 0x1054, "GeForce 410M" }, 1412 { 0x1055, "GeForce 410M" }, 1413 { 0x1056, "NVS 4200M" }, 1414 { 0x1057, "NVS 4200M" }, 1415 { 0x1058, "GeForce 610M", nvkm_device_pci_10de_1058 }, 1416 { 0x1059, "GeForce 610M" }, 1417 { 0x105a, "GeForce 610M" }, 1418 { 0x105b, "GeForce 705M", nvkm_device_pci_10de_105b }, 1419 { 0x107c, "NVS 315" }, 1420 { 0x107d, "NVS 310" }, 1421 { 0x1080, "GeForce GTX 580" }, 1422 { 0x1081, "GeForce GTX 570" }, 1423 { 0x1082, "GeForce GTX 560 Ti" }, 1424 { 0x1084, "GeForce GTX 560" }, 1425 { 0x1086, "GeForce GTX 570" }, 1426 { 0x1087, "GeForce GTX 560 Ti" }, 1427 { 0x1088, "GeForce GTX 590" }, 1428 { 0x1089, "GeForce GTX 580" }, 1429 { 0x108b, "GeForce GTX 580" }, 1430 { 0x1091, "Tesla M2090", nvkm_device_pci_10de_1091 }, 1431 { 0x1094, "Tesla M2075" }, 1432 { 0x1096, "Tesla C2075", nvkm_device_pci_10de_1096 }, 1433 { 0x109a, "Quadro 5010M" }, 1434 { 0x109b, "Quadro 7000" }, 1435 { 0x10c0, "GeForce 9300 GS" }, 1436 { 0x10c3, "GeForce 8400GS" }, 1437 { 0x10c5, "GeForce 405" }, 1438 { 0x10d8, "NVS 300" }, 1439 { 0x1140, NULL, nvkm_device_pci_10de_1140 }, 1440 { 0x1180, "GeForce GTX 680" }, 1441 { 0x1183, "GeForce GTX 660 Ti" }, 1442 { 0x1184, "GeForce GTX 770" }, 1443 { 0x1185, "GeForce GTX 660", nvkm_device_pci_10de_1185 }, 1444 { 0x1187, "GeForce GTX 760" }, 1445 { 0x1188, "GeForce GTX 690" }, 1446 { 0x1189, "GeForce GTX 670", nvkm_device_pci_10de_1189 }, 1447 { 0x118a, "GRID K520" }, 1448 { 0x118e, "GeForce GTX 760 (192-bit)" }, 1449 { 0x118f, "Tesla K10" }, 1450 { 0x1193, "GeForce GTX 760 Ti OEM" }, 1451 { 0x1194, "Tesla K8" }, 1452 { 0x1195, "GeForce GTX 660" }, 1453 { 0x1198, "GeForce GTX 880M" }, 1454 { 0x1199, "GeForce GTX 870M", nvkm_device_pci_10de_1199 }, 1455 { 0x119a, "GeForce GTX 860M" }, 1456 { 0x119d, "GeForce GTX 775M" }, 1457 { 0x119e, "GeForce GTX 780M" }, 1458 { 0x119f, "GeForce GTX 780M" }, 1459 { 0x11a0, "GeForce GTX 680M" }, 1460 { 0x11a1, "GeForce GTX 670MX" }, 1461 { 0x11a2, "GeForce GTX 675MX" }, 1462 { 0x11a3, "GeForce GTX 680MX" }, 1463 { 0x11a7, "GeForce GTX 675MX" }, 1464 { 0x11b4, "Quadro K4200" }, 1465 { 0x11b6, "Quadro K3100M" }, 1466 { 0x11b7, "Quadro K4100M" }, 1467 { 0x11b8, "Quadro K5100M" }, 1468 { 0x11ba, "Quadro K5000" }, 1469 { 0x11bc, "Quadro K5000M" }, 1470 { 0x11bd, "Quadro K4000M" }, 1471 { 0x11be, "Quadro K3000M" }, 1472 { 0x11bf, "GRID K2" }, 1473 { 0x11c0, "GeForce GTX 660" }, 1474 { 0x11c2, "GeForce GTX 650 Ti BOOST" }, 1475 { 0x11c3, "GeForce GTX 650 Ti" }, 1476 { 0x11c4, "GeForce GTX 645" }, 1477 { 0x11c5, "GeForce GT 740" }, 1478 { 0x11c6, "GeForce GTX 650 Ti" }, 1479 { 0x11c8, "GeForce GTX 650" }, 1480 { 0x11cb, "GeForce GT 740" }, 1481 { 0x11e0, "GeForce GTX 770M" }, 1482 { 0x11e1, "GeForce GTX 765M" }, 1483 { 0x11e2, "GeForce GTX 765M" }, 1484 { 0x11e3, "GeForce GTX 760M", nvkm_device_pci_10de_11e3 }, 1485 { 0x11fa, "Quadro K4000" }, 1486 { 0x11fc, "Quadro K2100M", nvkm_device_pci_10de_11fc }, 1487 { 0x1200, "GeForce GTX 560 Ti" }, 1488 { 0x1201, "GeForce GTX 560" }, 1489 { 0x1203, "GeForce GTX 460 SE v2" }, 1490 { 0x1205, "GeForce GTX 460 v2" }, 1491 { 0x1206, "GeForce GTX 555" }, 1492 { 0x1207, "GeForce GT 645" }, 1493 { 0x1208, "GeForce GTX 560 SE" }, 1494 { 0x1210, "GeForce GTX 570M" }, 1495 { 0x1211, "GeForce GTX 580M" }, 1496 { 0x1212, "GeForce GTX 675M" }, 1497 { 0x1213, "GeForce GTX 670M" }, 1498 { 0x1241, "GeForce GT 545" }, 1499 { 0x1243, "GeForce GT 545" }, 1500 { 0x1244, "GeForce GTX 550 Ti" }, 1501 { 0x1245, "GeForce GTS 450" }, 1502 { 0x1246, "GeForce GT 550M" }, 1503 { 0x1247, "GeForce GT 555M", nvkm_device_pci_10de_1247 }, 1504 { 0x1248, "GeForce GT 555M" }, 1505 { 0x1249, "GeForce GTS 450" }, 1506 { 0x124b, "GeForce GT 640" }, 1507 { 0x124d, "GeForce GT 555M", nvkm_device_pci_10de_124d }, 1508 { 0x1251, "GeForce GTX 560M" }, 1509 { 0x1280, "GeForce GT 635" }, 1510 { 0x1281, "GeForce GT 710" }, 1511 { 0x1282, "GeForce GT 640" }, 1512 { 0x1284, "GeForce GT 630" }, 1513 { 0x1286, "GeForce GT 720" }, 1514 { 0x1287, "GeForce GT 730" }, 1515 { 0x1288, "GeForce GT 720" }, 1516 { 0x1289, "GeForce GT 710" }, 1517 { 0x1290, "GeForce GT 730M", nvkm_device_pci_10de_1290 }, 1518 { 0x1291, "GeForce GT 735M" }, 1519 { 0x1292, "GeForce GT 740M", nvkm_device_pci_10de_1292 }, 1520 { 0x1293, "GeForce GT 730M" }, 1521 { 0x1295, "GeForce 710M", nvkm_device_pci_10de_1295 }, 1522 { 0x1296, "GeForce 825M" }, 1523 { 0x1298, "GeForce GT 720M" }, 1524 { 0x1299, "GeForce 920M", nvkm_device_pci_10de_1299 }, 1525 { 0x129a, "GeForce 910M" }, 1526 { 0x12b9, "Quadro K610M" }, 1527 { 0x12ba, "Quadro K510M" }, 1528 { 0x1340, "GeForce 830M", nvkm_device_pci_10de_1340 }, 1529 { 0x1341, "GeForce 840M", nvkm_device_pci_10de_1341 }, 1530 { 0x1344, "GeForce 845M" }, 1531 { 0x1346, "GeForce 930M", nvkm_device_pci_10de_1346 }, 1532 { 0x1347, "GeForce 940M", nvkm_device_pci_10de_1347 }, 1533 { 0x137a, NULL, nvkm_device_pci_10de_137a }, 1534 { 0x137d, NULL, nvkm_device_pci_10de_137d }, 1535 { 0x1380, "GeForce GTX 750 Ti" }, 1536 { 0x1381, "GeForce GTX 750" }, 1537 { 0x1382, "GeForce GTX 745" }, 1538 { 0x1390, "GeForce 845M" }, 1539 { 0x1391, "GeForce GTX 850M", nvkm_device_pci_10de_1391 }, 1540 { 0x1392, "GeForce GTX 860M", nvkm_device_pci_10de_1392 }, 1541 { 0x1393, "GeForce 840M" }, 1542 { 0x1398, "GeForce 845M" }, 1543 { 0x139a, "GeForce GTX 950M", nvkm_device_pci_10de_139a }, 1544 { 0x139b, "GeForce GTX 960M", nvkm_device_pci_10de_139b }, 1545 { 0x139c, "GeForce 940M" }, 1546 { 0x13b3, "Quadro K2200M" }, 1547 { 0x13ba, "Quadro K2200" }, 1548 { 0x13bb, "Quadro K620" }, 1549 { 0x13bc, "Quadro K1200" }, 1550 { 0x13c0, "GeForce GTX 980" }, 1551 { 0x13c2, "GeForce GTX 970" }, 1552 { 0x13d7, "GeForce GTX 980M" }, 1553 { 0x13d8, "GeForce GTX 970M" }, 1554 { 0x13d9, "GeForce GTX 965M" }, 1555 { 0x1401, "GeForce GTX 960" }, 1556 { 0x1617, "GeForce GTX 980M" }, 1557 { 0x1618, "GeForce GTX 970M" }, 1558 { 0x1619, "GeForce GTX 965M" }, 1559 { 0x17c2, "GeForce GTX TITAN X" }, 1560 { 0x17c8, "GeForce GTX 980 Ti" }, 1561 { 0x17f0, "Quadro M6000" }, 1562 {} 1563 }; 1564 1565 static struct nvkm_device_pci * 1566 nvkm_device_pci(struct nvkm_device *device) 1567 { 1568 return container_of(device, struct nvkm_device_pci, device); 1569 } 1570 1571 static resource_size_t 1572 nvkm_device_pci_resource_addr(struct nvkm_device *device, unsigned bar) 1573 { 1574 struct nvkm_device_pci *pdev = nvkm_device_pci(device); 1575 return pci_resource_start(pdev->pdev, bar); 1576 } 1577 1578 static resource_size_t 1579 nvkm_device_pci_resource_size(struct nvkm_device *device, unsigned bar) 1580 { 1581 struct nvkm_device_pci *pdev = nvkm_device_pci(device); 1582 return pci_resource_len(pdev->pdev, bar); 1583 } 1584 1585 static void 1586 nvkm_device_pci_fini(struct nvkm_device *device, bool suspend) 1587 { 1588 struct nvkm_device_pci *pdev = nvkm_device_pci(device); 1589 if (suspend) { 1590 pci_disable_device(pdev->pdev); 1591 pdev->suspend = true; 1592 } 1593 } 1594 1595 static int 1596 nvkm_device_pci_preinit(struct nvkm_device *device) 1597 { 1598 struct nvkm_device_pci *pdev = nvkm_device_pci(device); 1599 if (pdev->suspend) { 1600 int ret = pci_enable_device(pdev->pdev); 1601 if (ret) 1602 return ret; 1603 pci_set_master(pdev->pdev); 1604 pdev->suspend = false; 1605 } 1606 return 0; 1607 } 1608 1609 static void * 1610 nvkm_device_pci_dtor(struct nvkm_device *device) 1611 { 1612 struct nvkm_device_pci *pdev = nvkm_device_pci(device); 1613 pci_disable_device(pdev->pdev); 1614 return pdev; 1615 } 1616 1617 static const struct nvkm_device_func 1618 nvkm_device_pci_func = { 1619 .pci = nvkm_device_pci, 1620 .dtor = nvkm_device_pci_dtor, 1621 .preinit = nvkm_device_pci_preinit, 1622 .fini = nvkm_device_pci_fini, 1623 .resource_addr = nvkm_device_pci_resource_addr, 1624 .resource_size = nvkm_device_pci_resource_size, 1625 .cpu_coherent = !IS_ENABLED(CONFIG_ARM), 1626 }; 1627 1628 int 1629 nvkm_device_pci_new(struct pci_dev *pci_dev, const char *cfg, const char *dbg, 1630 bool detect, bool mmio, u64 subdev_mask, 1631 struct nvkm_device **pdevice) 1632 { 1633 const struct nvkm_device_quirk *quirk = NULL; 1634 const struct nvkm_device_pci_device *pcid; 1635 const struct nvkm_device_pci_vendor *pciv; 1636 const char *name = NULL; 1637 struct nvkm_device_pci *pdev; 1638 int ret; 1639 1640 ret = pci_enable_device(pci_dev); 1641 if (ret) 1642 return ret; 1643 1644 switch (pci_dev->vendor) { 1645 case 0x10de: pcid = nvkm_device_pci_10de; break; 1646 default: 1647 pcid = NULL; 1648 break; 1649 } 1650 1651 while (pcid && pcid->device) { 1652 if (pciv = pcid->vendor, pcid->device == pci_dev->device) { 1653 while (pciv && pciv->vendor) { 1654 if (pciv->vendor == pci_dev->subsystem_vendor && 1655 pciv->device == pci_dev->subsystem_device) { 1656 quirk = &pciv->quirk; 1657 name = pciv->name; 1658 break; 1659 } 1660 pciv++; 1661 } 1662 if (!name) 1663 name = pcid->name; 1664 break; 1665 } 1666 pcid++; 1667 } 1668 1669 if (!(pdev = kzalloc(sizeof(*pdev), GFP_KERNEL))) { 1670 pci_disable_device(pci_dev); 1671 return -ENOMEM; 1672 } 1673 *pdevice = &pdev->device; 1674 pdev->pdev = pci_dev; 1675 1676 return nvkm_device_ctor(&nvkm_device_pci_func, quirk, &pci_dev->dev, 1677 pci_is_pcie(pci_dev) ? NVKM_DEVICE_PCIE : 1678 pci_find_capability(pci_dev, PCI_CAP_ID_AGP) ? 1679 NVKM_DEVICE_AGP : NVKM_DEVICE_PCI, 1680 (u64)pci_domain_nr(pci_dev->bus) << 32 | 1681 pci_dev->bus->number << 16 | 1682 PCI_SLOT(pci_dev->devfn) << 8 | 1683 PCI_FUNC(pci_dev->devfn), name, 1684 cfg, dbg, detect, mmio, subdev_mask, 1685 &pdev->device); 1686 } 1687