pci.c 52 KB

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