nve0_grctx.c 102 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777
  1. /*
  2. * Copyright 2010 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
  23. */
  24. #include "drmP.h"
  25. #include "nouveau_drv.h"
  26. #include "nouveau_mm.h"
  27. #include "nve0_graph.h"
  28. static void
  29. nv_icmd(struct drm_device *dev, u32 icmd, u32 data)
  30. {
  31. nv_wr32(dev, 0x400204, data);
  32. nv_wr32(dev, 0x400200, icmd);
  33. while (nv_rd32(dev, 0x400700) & 0x00000002) {}
  34. }
  35. static void
  36. nve0_grctx_generate_icmd(struct drm_device *dev)
  37. {
  38. nv_wr32(dev, 0x400208, 0x80000000);
  39. nv_icmd(dev, 0x001000, 0x00000004);
  40. nv_icmd(dev, 0x000039, 0x00000000);
  41. nv_icmd(dev, 0x00003a, 0x00000000);
  42. nv_icmd(dev, 0x00003b, 0x00000000);
  43. nv_icmd(dev, 0x0000a9, 0x0000ffff);
  44. nv_icmd(dev, 0x000038, 0x0fac6881);
  45. nv_icmd(dev, 0x00003d, 0x00000001);
  46. nv_icmd(dev, 0x0000e8, 0x00000400);
  47. nv_icmd(dev, 0x0000e9, 0x00000400);
  48. nv_icmd(dev, 0x0000ea, 0x00000400);
  49. nv_icmd(dev, 0x0000eb, 0x00000400);
  50. nv_icmd(dev, 0x0000ec, 0x00000400);
  51. nv_icmd(dev, 0x0000ed, 0x00000400);
  52. nv_icmd(dev, 0x0000ee, 0x00000400);
  53. nv_icmd(dev, 0x0000ef, 0x00000400);
  54. nv_icmd(dev, 0x000078, 0x00000300);
  55. nv_icmd(dev, 0x000079, 0x00000300);
  56. nv_icmd(dev, 0x00007a, 0x00000300);
  57. nv_icmd(dev, 0x00007b, 0x00000300);
  58. nv_icmd(dev, 0x00007c, 0x00000300);
  59. nv_icmd(dev, 0x00007d, 0x00000300);
  60. nv_icmd(dev, 0x00007e, 0x00000300);
  61. nv_icmd(dev, 0x00007f, 0x00000300);
  62. nv_icmd(dev, 0x000050, 0x00000011);
  63. nv_icmd(dev, 0x000058, 0x00000008);
  64. nv_icmd(dev, 0x000059, 0x00000008);
  65. nv_icmd(dev, 0x00005a, 0x00000008);
  66. nv_icmd(dev, 0x00005b, 0x00000008);
  67. nv_icmd(dev, 0x00005c, 0x00000008);
  68. nv_icmd(dev, 0x00005d, 0x00000008);
  69. nv_icmd(dev, 0x00005e, 0x00000008);
  70. nv_icmd(dev, 0x00005f, 0x00000008);
  71. nv_icmd(dev, 0x000208, 0x00000001);
  72. nv_icmd(dev, 0x000209, 0x00000001);
  73. nv_icmd(dev, 0x00020a, 0x00000001);
  74. nv_icmd(dev, 0x00020b, 0x00000001);
  75. nv_icmd(dev, 0x00020c, 0x00000001);
  76. nv_icmd(dev, 0x00020d, 0x00000001);
  77. nv_icmd(dev, 0x00020e, 0x00000001);
  78. nv_icmd(dev, 0x00020f, 0x00000001);
  79. nv_icmd(dev, 0x000081, 0x00000001);
  80. nv_icmd(dev, 0x000085, 0x00000004);
  81. nv_icmd(dev, 0x000088, 0x00000400);
  82. nv_icmd(dev, 0x000090, 0x00000300);
  83. nv_icmd(dev, 0x000098, 0x00001001);
  84. nv_icmd(dev, 0x0000e3, 0x00000001);
  85. nv_icmd(dev, 0x0000da, 0x00000001);
  86. nv_icmd(dev, 0x0000f8, 0x00000003);
  87. nv_icmd(dev, 0x0000fa, 0x00000001);
  88. nv_icmd(dev, 0x00009f, 0x0000ffff);
  89. nv_icmd(dev, 0x0000a0, 0x0000ffff);
  90. nv_icmd(dev, 0x0000a1, 0x0000ffff);
  91. nv_icmd(dev, 0x0000a2, 0x0000ffff);
  92. nv_icmd(dev, 0x0000b1, 0x00000001);
  93. nv_icmd(dev, 0x0000ad, 0x0000013e);
  94. nv_icmd(dev, 0x0000e1, 0x00000010);
  95. nv_icmd(dev, 0x000290, 0x00000000);
  96. nv_icmd(dev, 0x000291, 0x00000000);
  97. nv_icmd(dev, 0x000292, 0x00000000);
  98. nv_icmd(dev, 0x000293, 0x00000000);
  99. nv_icmd(dev, 0x000294, 0x00000000);
  100. nv_icmd(dev, 0x000295, 0x00000000);
  101. nv_icmd(dev, 0x000296, 0x00000000);
  102. nv_icmd(dev, 0x000297, 0x00000000);
  103. nv_icmd(dev, 0x000298, 0x00000000);
  104. nv_icmd(dev, 0x000299, 0x00000000);
  105. nv_icmd(dev, 0x00029a, 0x00000000);
  106. nv_icmd(dev, 0x00029b, 0x00000000);
  107. nv_icmd(dev, 0x00029c, 0x00000000);
  108. nv_icmd(dev, 0x00029d, 0x00000000);
  109. nv_icmd(dev, 0x00029e, 0x00000000);
  110. nv_icmd(dev, 0x00029f, 0x00000000);
  111. nv_icmd(dev, 0x0003b0, 0x00000000);
  112. nv_icmd(dev, 0x0003b1, 0x00000000);
  113. nv_icmd(dev, 0x0003b2, 0x00000000);
  114. nv_icmd(dev, 0x0003b3, 0x00000000);
  115. nv_icmd(dev, 0x0003b4, 0x00000000);
  116. nv_icmd(dev, 0x0003b5, 0x00000000);
  117. nv_icmd(dev, 0x0003b6, 0x00000000);
  118. nv_icmd(dev, 0x0003b7, 0x00000000);
  119. nv_icmd(dev, 0x0003b8, 0x00000000);
  120. nv_icmd(dev, 0x0003b9, 0x00000000);
  121. nv_icmd(dev, 0x0003ba, 0x00000000);
  122. nv_icmd(dev, 0x0003bb, 0x00000000);
  123. nv_icmd(dev, 0x0003bc, 0x00000000);
  124. nv_icmd(dev, 0x0003bd, 0x00000000);
  125. nv_icmd(dev, 0x0003be, 0x00000000);
  126. nv_icmd(dev, 0x0003bf, 0x00000000);
  127. nv_icmd(dev, 0x0002a0, 0x00000000);
  128. nv_icmd(dev, 0x0002a1, 0x00000000);
  129. nv_icmd(dev, 0x0002a2, 0x00000000);
  130. nv_icmd(dev, 0x0002a3, 0x00000000);
  131. nv_icmd(dev, 0x0002a4, 0x00000000);
  132. nv_icmd(dev, 0x0002a5, 0x00000000);
  133. nv_icmd(dev, 0x0002a6, 0x00000000);
  134. nv_icmd(dev, 0x0002a7, 0x00000000);
  135. nv_icmd(dev, 0x0002a8, 0x00000000);
  136. nv_icmd(dev, 0x0002a9, 0x00000000);
  137. nv_icmd(dev, 0x0002aa, 0x00000000);
  138. nv_icmd(dev, 0x0002ab, 0x00000000);
  139. nv_icmd(dev, 0x0002ac, 0x00000000);
  140. nv_icmd(dev, 0x0002ad, 0x00000000);
  141. nv_icmd(dev, 0x0002ae, 0x00000000);
  142. nv_icmd(dev, 0x0002af, 0x00000000);
  143. nv_icmd(dev, 0x000420, 0x00000000);
  144. nv_icmd(dev, 0x000421, 0x00000000);
  145. nv_icmd(dev, 0x000422, 0x00000000);
  146. nv_icmd(dev, 0x000423, 0x00000000);
  147. nv_icmd(dev, 0x000424, 0x00000000);
  148. nv_icmd(dev, 0x000425, 0x00000000);
  149. nv_icmd(dev, 0x000426, 0x00000000);
  150. nv_icmd(dev, 0x000427, 0x00000000);
  151. nv_icmd(dev, 0x000428, 0x00000000);
  152. nv_icmd(dev, 0x000429, 0x00000000);
  153. nv_icmd(dev, 0x00042a, 0x00000000);
  154. nv_icmd(dev, 0x00042b, 0x00000000);
  155. nv_icmd(dev, 0x00042c, 0x00000000);
  156. nv_icmd(dev, 0x00042d, 0x00000000);
  157. nv_icmd(dev, 0x00042e, 0x00000000);
  158. nv_icmd(dev, 0x00042f, 0x00000000);
  159. nv_icmd(dev, 0x0002b0, 0x00000000);
  160. nv_icmd(dev, 0x0002b1, 0x00000000);
  161. nv_icmd(dev, 0x0002b2, 0x00000000);
  162. nv_icmd(dev, 0x0002b3, 0x00000000);
  163. nv_icmd(dev, 0x0002b4, 0x00000000);
  164. nv_icmd(dev, 0x0002b5, 0x00000000);
  165. nv_icmd(dev, 0x0002b6, 0x00000000);
  166. nv_icmd(dev, 0x0002b7, 0x00000000);
  167. nv_icmd(dev, 0x0002b8, 0x00000000);
  168. nv_icmd(dev, 0x0002b9, 0x00000000);
  169. nv_icmd(dev, 0x0002ba, 0x00000000);
  170. nv_icmd(dev, 0x0002bb, 0x00000000);
  171. nv_icmd(dev, 0x0002bc, 0x00000000);
  172. nv_icmd(dev, 0x0002bd, 0x00000000);
  173. nv_icmd(dev, 0x0002be, 0x00000000);
  174. nv_icmd(dev, 0x0002bf, 0x00000000);
  175. nv_icmd(dev, 0x000430, 0x00000000);
  176. nv_icmd(dev, 0x000431, 0x00000000);
  177. nv_icmd(dev, 0x000432, 0x00000000);
  178. nv_icmd(dev, 0x000433, 0x00000000);
  179. nv_icmd(dev, 0x000434, 0x00000000);
  180. nv_icmd(dev, 0x000435, 0x00000000);
  181. nv_icmd(dev, 0x000436, 0x00000000);
  182. nv_icmd(dev, 0x000437, 0x00000000);
  183. nv_icmd(dev, 0x000438, 0x00000000);
  184. nv_icmd(dev, 0x000439, 0x00000000);
  185. nv_icmd(dev, 0x00043a, 0x00000000);
  186. nv_icmd(dev, 0x00043b, 0x00000000);
  187. nv_icmd(dev, 0x00043c, 0x00000000);
  188. nv_icmd(dev, 0x00043d, 0x00000000);
  189. nv_icmd(dev, 0x00043e, 0x00000000);
  190. nv_icmd(dev, 0x00043f, 0x00000000);
  191. nv_icmd(dev, 0x0002c0, 0x00000000);
  192. nv_icmd(dev, 0x0002c1, 0x00000000);
  193. nv_icmd(dev, 0x0002c2, 0x00000000);
  194. nv_icmd(dev, 0x0002c3, 0x00000000);
  195. nv_icmd(dev, 0x0002c4, 0x00000000);
  196. nv_icmd(dev, 0x0002c5, 0x00000000);
  197. nv_icmd(dev, 0x0002c6, 0x00000000);
  198. nv_icmd(dev, 0x0002c7, 0x00000000);
  199. nv_icmd(dev, 0x0002c8, 0x00000000);
  200. nv_icmd(dev, 0x0002c9, 0x00000000);
  201. nv_icmd(dev, 0x0002ca, 0x00000000);
  202. nv_icmd(dev, 0x0002cb, 0x00000000);
  203. nv_icmd(dev, 0x0002cc, 0x00000000);
  204. nv_icmd(dev, 0x0002cd, 0x00000000);
  205. nv_icmd(dev, 0x0002ce, 0x00000000);
  206. nv_icmd(dev, 0x0002cf, 0x00000000);
  207. nv_icmd(dev, 0x0004d0, 0x00000000);
  208. nv_icmd(dev, 0x0004d1, 0x00000000);
  209. nv_icmd(dev, 0x0004d2, 0x00000000);
  210. nv_icmd(dev, 0x0004d3, 0x00000000);
  211. nv_icmd(dev, 0x0004d4, 0x00000000);
  212. nv_icmd(dev, 0x0004d5, 0x00000000);
  213. nv_icmd(dev, 0x0004d6, 0x00000000);
  214. nv_icmd(dev, 0x0004d7, 0x00000000);
  215. nv_icmd(dev, 0x0004d8, 0x00000000);
  216. nv_icmd(dev, 0x0004d9, 0x00000000);
  217. nv_icmd(dev, 0x0004da, 0x00000000);
  218. nv_icmd(dev, 0x0004db, 0x00000000);
  219. nv_icmd(dev, 0x0004dc, 0x00000000);
  220. nv_icmd(dev, 0x0004dd, 0x00000000);
  221. nv_icmd(dev, 0x0004de, 0x00000000);
  222. nv_icmd(dev, 0x0004df, 0x00000000);
  223. nv_icmd(dev, 0x000720, 0x00000000);
  224. nv_icmd(dev, 0x000721, 0x00000000);
  225. nv_icmd(dev, 0x000722, 0x00000000);
  226. nv_icmd(dev, 0x000723, 0x00000000);
  227. nv_icmd(dev, 0x000724, 0x00000000);
  228. nv_icmd(dev, 0x000725, 0x00000000);
  229. nv_icmd(dev, 0x000726, 0x00000000);
  230. nv_icmd(dev, 0x000727, 0x00000000);
  231. nv_icmd(dev, 0x000728, 0x00000000);
  232. nv_icmd(dev, 0x000729, 0x00000000);
  233. nv_icmd(dev, 0x00072a, 0x00000000);
  234. nv_icmd(dev, 0x00072b, 0x00000000);
  235. nv_icmd(dev, 0x00072c, 0x00000000);
  236. nv_icmd(dev, 0x00072d, 0x00000000);
  237. nv_icmd(dev, 0x00072e, 0x00000000);
  238. nv_icmd(dev, 0x00072f, 0x00000000);
  239. nv_icmd(dev, 0x0008c0, 0x00000000);
  240. nv_icmd(dev, 0x0008c1, 0x00000000);
  241. nv_icmd(dev, 0x0008c2, 0x00000000);
  242. nv_icmd(dev, 0x0008c3, 0x00000000);
  243. nv_icmd(dev, 0x0008c4, 0x00000000);
  244. nv_icmd(dev, 0x0008c5, 0x00000000);
  245. nv_icmd(dev, 0x0008c6, 0x00000000);
  246. nv_icmd(dev, 0x0008c7, 0x00000000);
  247. nv_icmd(dev, 0x0008c8, 0x00000000);
  248. nv_icmd(dev, 0x0008c9, 0x00000000);
  249. nv_icmd(dev, 0x0008ca, 0x00000000);
  250. nv_icmd(dev, 0x0008cb, 0x00000000);
  251. nv_icmd(dev, 0x0008cc, 0x00000000);
  252. nv_icmd(dev, 0x0008cd, 0x00000000);
  253. nv_icmd(dev, 0x0008ce, 0x00000000);
  254. nv_icmd(dev, 0x0008cf, 0x00000000);
  255. nv_icmd(dev, 0x000890, 0x00000000);
  256. nv_icmd(dev, 0x000891, 0x00000000);
  257. nv_icmd(dev, 0x000892, 0x00000000);
  258. nv_icmd(dev, 0x000893, 0x00000000);
  259. nv_icmd(dev, 0x000894, 0x00000000);
  260. nv_icmd(dev, 0x000895, 0x00000000);
  261. nv_icmd(dev, 0x000896, 0x00000000);
  262. nv_icmd(dev, 0x000897, 0x00000000);
  263. nv_icmd(dev, 0x000898, 0x00000000);
  264. nv_icmd(dev, 0x000899, 0x00000000);
  265. nv_icmd(dev, 0x00089a, 0x00000000);
  266. nv_icmd(dev, 0x00089b, 0x00000000);
  267. nv_icmd(dev, 0x00089c, 0x00000000);
  268. nv_icmd(dev, 0x00089d, 0x00000000);
  269. nv_icmd(dev, 0x00089e, 0x00000000);
  270. nv_icmd(dev, 0x00089f, 0x00000000);
  271. nv_icmd(dev, 0x0008e0, 0x00000000);
  272. nv_icmd(dev, 0x0008e1, 0x00000000);
  273. nv_icmd(dev, 0x0008e2, 0x00000000);
  274. nv_icmd(dev, 0x0008e3, 0x00000000);
  275. nv_icmd(dev, 0x0008e4, 0x00000000);
  276. nv_icmd(dev, 0x0008e5, 0x00000000);
  277. nv_icmd(dev, 0x0008e6, 0x00000000);
  278. nv_icmd(dev, 0x0008e7, 0x00000000);
  279. nv_icmd(dev, 0x0008e8, 0x00000000);
  280. nv_icmd(dev, 0x0008e9, 0x00000000);
  281. nv_icmd(dev, 0x0008ea, 0x00000000);
  282. nv_icmd(dev, 0x0008eb, 0x00000000);
  283. nv_icmd(dev, 0x0008ec, 0x00000000);
  284. nv_icmd(dev, 0x0008ed, 0x00000000);
  285. nv_icmd(dev, 0x0008ee, 0x00000000);
  286. nv_icmd(dev, 0x0008ef, 0x00000000);
  287. nv_icmd(dev, 0x0008a0, 0x00000000);
  288. nv_icmd(dev, 0x0008a1, 0x00000000);
  289. nv_icmd(dev, 0x0008a2, 0x00000000);
  290. nv_icmd(dev, 0x0008a3, 0x00000000);
  291. nv_icmd(dev, 0x0008a4, 0x00000000);
  292. nv_icmd(dev, 0x0008a5, 0x00000000);
  293. nv_icmd(dev, 0x0008a6, 0x00000000);
  294. nv_icmd(dev, 0x0008a7, 0x00000000);
  295. nv_icmd(dev, 0x0008a8, 0x00000000);
  296. nv_icmd(dev, 0x0008a9, 0x00000000);
  297. nv_icmd(dev, 0x0008aa, 0x00000000);
  298. nv_icmd(dev, 0x0008ab, 0x00000000);
  299. nv_icmd(dev, 0x0008ac, 0x00000000);
  300. nv_icmd(dev, 0x0008ad, 0x00000000);
  301. nv_icmd(dev, 0x0008ae, 0x00000000);
  302. nv_icmd(dev, 0x0008af, 0x00000000);
  303. nv_icmd(dev, 0x0008f0, 0x00000000);
  304. nv_icmd(dev, 0x0008f1, 0x00000000);
  305. nv_icmd(dev, 0x0008f2, 0x00000000);
  306. nv_icmd(dev, 0x0008f3, 0x00000000);
  307. nv_icmd(dev, 0x0008f4, 0x00000000);
  308. nv_icmd(dev, 0x0008f5, 0x00000000);
  309. nv_icmd(dev, 0x0008f6, 0x00000000);
  310. nv_icmd(dev, 0x0008f7, 0x00000000);
  311. nv_icmd(dev, 0x0008f8, 0x00000000);
  312. nv_icmd(dev, 0x0008f9, 0x00000000);
  313. nv_icmd(dev, 0x0008fa, 0x00000000);
  314. nv_icmd(dev, 0x0008fb, 0x00000000);
  315. nv_icmd(dev, 0x0008fc, 0x00000000);
  316. nv_icmd(dev, 0x0008fd, 0x00000000);
  317. nv_icmd(dev, 0x0008fe, 0x00000000);
  318. nv_icmd(dev, 0x0008ff, 0x00000000);
  319. nv_icmd(dev, 0x00094c, 0x000000ff);
  320. nv_icmd(dev, 0x00094d, 0xffffffff);
  321. nv_icmd(dev, 0x00094e, 0x00000002);
  322. nv_icmd(dev, 0x0002ec, 0x00000001);
  323. nv_icmd(dev, 0x000303, 0x00000001);
  324. nv_icmd(dev, 0x0002e6, 0x00000001);
  325. nv_icmd(dev, 0x000466, 0x00000052);
  326. nv_icmd(dev, 0x000301, 0x3f800000);
  327. nv_icmd(dev, 0x000304, 0x30201000);
  328. nv_icmd(dev, 0x000305, 0x70605040);
  329. nv_icmd(dev, 0x000306, 0xb8a89888);
  330. nv_icmd(dev, 0x000307, 0xf8e8d8c8);
  331. nv_icmd(dev, 0x00030a, 0x00ffff00);
  332. nv_icmd(dev, 0x00030b, 0x0000001a);
  333. nv_icmd(dev, 0x00030c, 0x00000001);
  334. nv_icmd(dev, 0x000318, 0x00000001);
  335. nv_icmd(dev, 0x000340, 0x00000000);
  336. nv_icmd(dev, 0x000375, 0x00000001);
  337. nv_icmd(dev, 0x00037d, 0x00000006);
  338. nv_icmd(dev, 0x0003a0, 0x00000002);
  339. nv_icmd(dev, 0x0003aa, 0x00000001);
  340. nv_icmd(dev, 0x0003a9, 0x00000001);
  341. nv_icmd(dev, 0x000380, 0x00000001);
  342. nv_icmd(dev, 0x000383, 0x00000011);
  343. nv_icmd(dev, 0x000360, 0x00000040);
  344. nv_icmd(dev, 0x000366, 0x00000000);
  345. nv_icmd(dev, 0x000367, 0x00000000);
  346. nv_icmd(dev, 0x000368, 0x00000fff);
  347. nv_icmd(dev, 0x000370, 0x00000000);
  348. nv_icmd(dev, 0x000371, 0x00000000);
  349. nv_icmd(dev, 0x000372, 0x000fffff);
  350. nv_icmd(dev, 0x00037a, 0x00000012);
  351. nv_icmd(dev, 0x000619, 0x00000003);
  352. nv_icmd(dev, 0x000811, 0x00000003);
  353. nv_icmd(dev, 0x000812, 0x00000004);
  354. nv_icmd(dev, 0x000813, 0x00000006);
  355. nv_icmd(dev, 0x000814, 0x00000008);
  356. nv_icmd(dev, 0x000815, 0x0000000b);
  357. nv_icmd(dev, 0x000800, 0x00000001);
  358. nv_icmd(dev, 0x000801, 0x00000001);
  359. nv_icmd(dev, 0x000802, 0x00000001);
  360. nv_icmd(dev, 0x000803, 0x00000001);
  361. nv_icmd(dev, 0x000804, 0x00000001);
  362. nv_icmd(dev, 0x000805, 0x00000001);
  363. nv_icmd(dev, 0x000632, 0x00000001);
  364. nv_icmd(dev, 0x000633, 0x00000002);
  365. nv_icmd(dev, 0x000634, 0x00000003);
  366. nv_icmd(dev, 0x000635, 0x00000004);
  367. nv_icmd(dev, 0x000654, 0x3f800000);
  368. nv_icmd(dev, 0x000657, 0x3f800000);
  369. nv_icmd(dev, 0x000655, 0x3f800000);
  370. nv_icmd(dev, 0x000656, 0x3f800000);
  371. nv_icmd(dev, 0x0006cd, 0x3f800000);
  372. nv_icmd(dev, 0x0007f5, 0x3f800000);
  373. nv_icmd(dev, 0x0007dc, 0x39291909);
  374. nv_icmd(dev, 0x0007dd, 0x79695949);
  375. nv_icmd(dev, 0x0007de, 0xb9a99989);
  376. nv_icmd(dev, 0x0007df, 0xf9e9d9c9);
  377. nv_icmd(dev, 0x0007e8, 0x00003210);
  378. nv_icmd(dev, 0x0007e9, 0x00007654);
  379. nv_icmd(dev, 0x0007ea, 0x00000098);
  380. nv_icmd(dev, 0x0007ec, 0x39291909);
  381. nv_icmd(dev, 0x0007ed, 0x79695949);
  382. nv_icmd(dev, 0x0007ee, 0xb9a99989);
  383. nv_icmd(dev, 0x0007ef, 0xf9e9d9c9);
  384. nv_icmd(dev, 0x0007f0, 0x00003210);
  385. nv_icmd(dev, 0x0007f1, 0x00007654);
  386. nv_icmd(dev, 0x0007f2, 0x00000098);
  387. nv_icmd(dev, 0x0005a5, 0x00000001);
  388. nv_icmd(dev, 0x000980, 0x00000000);
  389. nv_icmd(dev, 0x000981, 0x00000000);
  390. nv_icmd(dev, 0x000982, 0x00000000);
  391. nv_icmd(dev, 0x000983, 0x00000000);
  392. nv_icmd(dev, 0x000984, 0x00000000);
  393. nv_icmd(dev, 0x000985, 0x00000000);
  394. nv_icmd(dev, 0x000986, 0x00000000);
  395. nv_icmd(dev, 0x000987, 0x00000000);
  396. nv_icmd(dev, 0x000988, 0x00000000);
  397. nv_icmd(dev, 0x000989, 0x00000000);
  398. nv_icmd(dev, 0x00098a, 0x00000000);
  399. nv_icmd(dev, 0x00098b, 0x00000000);
  400. nv_icmd(dev, 0x00098c, 0x00000000);
  401. nv_icmd(dev, 0x00098d, 0x00000000);
  402. nv_icmd(dev, 0x00098e, 0x00000000);
  403. nv_icmd(dev, 0x00098f, 0x00000000);
  404. nv_icmd(dev, 0x000990, 0x00000000);
  405. nv_icmd(dev, 0x000991, 0x00000000);
  406. nv_icmd(dev, 0x000992, 0x00000000);
  407. nv_icmd(dev, 0x000993, 0x00000000);
  408. nv_icmd(dev, 0x000994, 0x00000000);
  409. nv_icmd(dev, 0x000995, 0x00000000);
  410. nv_icmd(dev, 0x000996, 0x00000000);
  411. nv_icmd(dev, 0x000997, 0x00000000);
  412. nv_icmd(dev, 0x000998, 0x00000000);
  413. nv_icmd(dev, 0x000999, 0x00000000);
  414. nv_icmd(dev, 0x00099a, 0x00000000);
  415. nv_icmd(dev, 0x00099b, 0x00000000);
  416. nv_icmd(dev, 0x00099c, 0x00000000);
  417. nv_icmd(dev, 0x00099d, 0x00000000);
  418. nv_icmd(dev, 0x00099e, 0x00000000);
  419. nv_icmd(dev, 0x00099f, 0x00000000);
  420. nv_icmd(dev, 0x0009a0, 0x00000000);
  421. nv_icmd(dev, 0x0009a1, 0x00000000);
  422. nv_icmd(dev, 0x0009a2, 0x00000000);
  423. nv_icmd(dev, 0x0009a3, 0x00000000);
  424. nv_icmd(dev, 0x0009a4, 0x00000000);
  425. nv_icmd(dev, 0x0009a5, 0x00000000);
  426. nv_icmd(dev, 0x0009a6, 0x00000000);
  427. nv_icmd(dev, 0x0009a7, 0x00000000);
  428. nv_icmd(dev, 0x0009a8, 0x00000000);
  429. nv_icmd(dev, 0x0009a9, 0x00000000);
  430. nv_icmd(dev, 0x0009aa, 0x00000000);
  431. nv_icmd(dev, 0x0009ab, 0x00000000);
  432. nv_icmd(dev, 0x0009ac, 0x00000000);
  433. nv_icmd(dev, 0x0009ad, 0x00000000);
  434. nv_icmd(dev, 0x0009ae, 0x00000000);
  435. nv_icmd(dev, 0x0009af, 0x00000000);
  436. nv_icmd(dev, 0x0009b0, 0x00000000);
  437. nv_icmd(dev, 0x0009b1, 0x00000000);
  438. nv_icmd(dev, 0x0009b2, 0x00000000);
  439. nv_icmd(dev, 0x0009b3, 0x00000000);
  440. nv_icmd(dev, 0x0009b4, 0x00000000);
  441. nv_icmd(dev, 0x0009b5, 0x00000000);
  442. nv_icmd(dev, 0x0009b6, 0x00000000);
  443. nv_icmd(dev, 0x0009b7, 0x00000000);
  444. nv_icmd(dev, 0x0009b8, 0x00000000);
  445. nv_icmd(dev, 0x0009b9, 0x00000000);
  446. nv_icmd(dev, 0x0009ba, 0x00000000);
  447. nv_icmd(dev, 0x0009bb, 0x00000000);
  448. nv_icmd(dev, 0x0009bc, 0x00000000);
  449. nv_icmd(dev, 0x0009bd, 0x00000000);
  450. nv_icmd(dev, 0x0009be, 0x00000000);
  451. nv_icmd(dev, 0x0009bf, 0x00000000);
  452. nv_icmd(dev, 0x0009c0, 0x00000000);
  453. nv_icmd(dev, 0x0009c1, 0x00000000);
  454. nv_icmd(dev, 0x0009c2, 0x00000000);
  455. nv_icmd(dev, 0x0009c3, 0x00000000);
  456. nv_icmd(dev, 0x0009c4, 0x00000000);
  457. nv_icmd(dev, 0x0009c5, 0x00000000);
  458. nv_icmd(dev, 0x0009c6, 0x00000000);
  459. nv_icmd(dev, 0x0009c7, 0x00000000);
  460. nv_icmd(dev, 0x0009c8, 0x00000000);
  461. nv_icmd(dev, 0x0009c9, 0x00000000);
  462. nv_icmd(dev, 0x0009ca, 0x00000000);
  463. nv_icmd(dev, 0x0009cb, 0x00000000);
  464. nv_icmd(dev, 0x0009cc, 0x00000000);
  465. nv_icmd(dev, 0x0009cd, 0x00000000);
  466. nv_icmd(dev, 0x0009ce, 0x00000000);
  467. nv_icmd(dev, 0x0009cf, 0x00000000);
  468. nv_icmd(dev, 0x0009d0, 0x00000000);
  469. nv_icmd(dev, 0x0009d1, 0x00000000);
  470. nv_icmd(dev, 0x0009d2, 0x00000000);
  471. nv_icmd(dev, 0x0009d3, 0x00000000);
  472. nv_icmd(dev, 0x0009d4, 0x00000000);
  473. nv_icmd(dev, 0x0009d5, 0x00000000);
  474. nv_icmd(dev, 0x0009d6, 0x00000000);
  475. nv_icmd(dev, 0x0009d7, 0x00000000);
  476. nv_icmd(dev, 0x0009d8, 0x00000000);
  477. nv_icmd(dev, 0x0009d9, 0x00000000);
  478. nv_icmd(dev, 0x0009da, 0x00000000);
  479. nv_icmd(dev, 0x0009db, 0x00000000);
  480. nv_icmd(dev, 0x0009dc, 0x00000000);
  481. nv_icmd(dev, 0x0009dd, 0x00000000);
  482. nv_icmd(dev, 0x0009de, 0x00000000);
  483. nv_icmd(dev, 0x0009df, 0x00000000);
  484. nv_icmd(dev, 0x0009e0, 0x00000000);
  485. nv_icmd(dev, 0x0009e1, 0x00000000);
  486. nv_icmd(dev, 0x0009e2, 0x00000000);
  487. nv_icmd(dev, 0x0009e3, 0x00000000);
  488. nv_icmd(dev, 0x0009e4, 0x00000000);
  489. nv_icmd(dev, 0x0009e5, 0x00000000);
  490. nv_icmd(dev, 0x0009e6, 0x00000000);
  491. nv_icmd(dev, 0x0009e7, 0x00000000);
  492. nv_icmd(dev, 0x0009e8, 0x00000000);
  493. nv_icmd(dev, 0x0009e9, 0x00000000);
  494. nv_icmd(dev, 0x0009ea, 0x00000000);
  495. nv_icmd(dev, 0x0009eb, 0x00000000);
  496. nv_icmd(dev, 0x0009ec, 0x00000000);
  497. nv_icmd(dev, 0x0009ed, 0x00000000);
  498. nv_icmd(dev, 0x0009ee, 0x00000000);
  499. nv_icmd(dev, 0x0009ef, 0x00000000);
  500. nv_icmd(dev, 0x0009f0, 0x00000000);
  501. nv_icmd(dev, 0x0009f1, 0x00000000);
  502. nv_icmd(dev, 0x0009f2, 0x00000000);
  503. nv_icmd(dev, 0x0009f3, 0x00000000);
  504. nv_icmd(dev, 0x0009f4, 0x00000000);
  505. nv_icmd(dev, 0x0009f5, 0x00000000);
  506. nv_icmd(dev, 0x0009f6, 0x00000000);
  507. nv_icmd(dev, 0x0009f7, 0x00000000);
  508. nv_icmd(dev, 0x0009f8, 0x00000000);
  509. nv_icmd(dev, 0x0009f9, 0x00000000);
  510. nv_icmd(dev, 0x0009fa, 0x00000000);
  511. nv_icmd(dev, 0x0009fb, 0x00000000);
  512. nv_icmd(dev, 0x0009fc, 0x00000000);
  513. nv_icmd(dev, 0x0009fd, 0x00000000);
  514. nv_icmd(dev, 0x0009fe, 0x00000000);
  515. nv_icmd(dev, 0x0009ff, 0x00000000);
  516. nv_icmd(dev, 0x000468, 0x00000004);
  517. nv_icmd(dev, 0x00046c, 0x00000001);
  518. nv_icmd(dev, 0x000470, 0x00000000);
  519. nv_icmd(dev, 0x000471, 0x00000000);
  520. nv_icmd(dev, 0x000472, 0x00000000);
  521. nv_icmd(dev, 0x000473, 0x00000000);
  522. nv_icmd(dev, 0x000474, 0x00000000);
  523. nv_icmd(dev, 0x000475, 0x00000000);
  524. nv_icmd(dev, 0x000476, 0x00000000);
  525. nv_icmd(dev, 0x000477, 0x00000000);
  526. nv_icmd(dev, 0x000478, 0x00000000);
  527. nv_icmd(dev, 0x000479, 0x00000000);
  528. nv_icmd(dev, 0x00047a, 0x00000000);
  529. nv_icmd(dev, 0x00047b, 0x00000000);
  530. nv_icmd(dev, 0x00047c, 0x00000000);
  531. nv_icmd(dev, 0x00047d, 0x00000000);
  532. nv_icmd(dev, 0x00047e, 0x00000000);
  533. nv_icmd(dev, 0x00047f, 0x00000000);
  534. nv_icmd(dev, 0x000480, 0x00000000);
  535. nv_icmd(dev, 0x000481, 0x00000000);
  536. nv_icmd(dev, 0x000482, 0x00000000);
  537. nv_icmd(dev, 0x000483, 0x00000000);
  538. nv_icmd(dev, 0x000484, 0x00000000);
  539. nv_icmd(dev, 0x000485, 0x00000000);
  540. nv_icmd(dev, 0x000486, 0x00000000);
  541. nv_icmd(dev, 0x000487, 0x00000000);
  542. nv_icmd(dev, 0x000488, 0x00000000);
  543. nv_icmd(dev, 0x000489, 0x00000000);
  544. nv_icmd(dev, 0x00048a, 0x00000000);
  545. nv_icmd(dev, 0x00048b, 0x00000000);
  546. nv_icmd(dev, 0x00048c, 0x00000000);
  547. nv_icmd(dev, 0x00048d, 0x00000000);
  548. nv_icmd(dev, 0x00048e, 0x00000000);
  549. nv_icmd(dev, 0x00048f, 0x00000000);
  550. nv_icmd(dev, 0x000490, 0x00000000);
  551. nv_icmd(dev, 0x000491, 0x00000000);
  552. nv_icmd(dev, 0x000492, 0x00000000);
  553. nv_icmd(dev, 0x000493, 0x00000000);
  554. nv_icmd(dev, 0x000494, 0x00000000);
  555. nv_icmd(dev, 0x000495, 0x00000000);
  556. nv_icmd(dev, 0x000496, 0x00000000);
  557. nv_icmd(dev, 0x000497, 0x00000000);
  558. nv_icmd(dev, 0x000498, 0x00000000);
  559. nv_icmd(dev, 0x000499, 0x00000000);
  560. nv_icmd(dev, 0x00049a, 0x00000000);
  561. nv_icmd(dev, 0x00049b, 0x00000000);
  562. nv_icmd(dev, 0x00049c, 0x00000000);
  563. nv_icmd(dev, 0x00049d, 0x00000000);
  564. nv_icmd(dev, 0x00049e, 0x00000000);
  565. nv_icmd(dev, 0x00049f, 0x00000000);
  566. nv_icmd(dev, 0x0004a0, 0x00000000);
  567. nv_icmd(dev, 0x0004a1, 0x00000000);
  568. nv_icmd(dev, 0x0004a2, 0x00000000);
  569. nv_icmd(dev, 0x0004a3, 0x00000000);
  570. nv_icmd(dev, 0x0004a4, 0x00000000);
  571. nv_icmd(dev, 0x0004a5, 0x00000000);
  572. nv_icmd(dev, 0x0004a6, 0x00000000);
  573. nv_icmd(dev, 0x0004a7, 0x00000000);
  574. nv_icmd(dev, 0x0004a8, 0x00000000);
  575. nv_icmd(dev, 0x0004a9, 0x00000000);
  576. nv_icmd(dev, 0x0004aa, 0x00000000);
  577. nv_icmd(dev, 0x0004ab, 0x00000000);
  578. nv_icmd(dev, 0x0004ac, 0x00000000);
  579. nv_icmd(dev, 0x0004ad, 0x00000000);
  580. nv_icmd(dev, 0x0004ae, 0x00000000);
  581. nv_icmd(dev, 0x0004af, 0x00000000);
  582. nv_icmd(dev, 0x0004b0, 0x00000000);
  583. nv_icmd(dev, 0x0004b1, 0x00000000);
  584. nv_icmd(dev, 0x0004b2, 0x00000000);
  585. nv_icmd(dev, 0x0004b3, 0x00000000);
  586. nv_icmd(dev, 0x0004b4, 0x00000000);
  587. nv_icmd(dev, 0x0004b5, 0x00000000);
  588. nv_icmd(dev, 0x0004b6, 0x00000000);
  589. nv_icmd(dev, 0x0004b7, 0x00000000);
  590. nv_icmd(dev, 0x0004b8, 0x00000000);
  591. nv_icmd(dev, 0x0004b9, 0x00000000);
  592. nv_icmd(dev, 0x0004ba, 0x00000000);
  593. nv_icmd(dev, 0x0004bb, 0x00000000);
  594. nv_icmd(dev, 0x0004bc, 0x00000000);
  595. nv_icmd(dev, 0x0004bd, 0x00000000);
  596. nv_icmd(dev, 0x0004be, 0x00000000);
  597. nv_icmd(dev, 0x0004bf, 0x00000000);
  598. nv_icmd(dev, 0x0004c0, 0x00000000);
  599. nv_icmd(dev, 0x0004c1, 0x00000000);
  600. nv_icmd(dev, 0x0004c2, 0x00000000);
  601. nv_icmd(dev, 0x0004c3, 0x00000000);
  602. nv_icmd(dev, 0x0004c4, 0x00000000);
  603. nv_icmd(dev, 0x0004c5, 0x00000000);
  604. nv_icmd(dev, 0x0004c6, 0x00000000);
  605. nv_icmd(dev, 0x0004c7, 0x00000000);
  606. nv_icmd(dev, 0x0004c8, 0x00000000);
  607. nv_icmd(dev, 0x0004c9, 0x00000000);
  608. nv_icmd(dev, 0x0004ca, 0x00000000);
  609. nv_icmd(dev, 0x0004cb, 0x00000000);
  610. nv_icmd(dev, 0x0004cc, 0x00000000);
  611. nv_icmd(dev, 0x0004cd, 0x00000000);
  612. nv_icmd(dev, 0x0004ce, 0x00000000);
  613. nv_icmd(dev, 0x0004cf, 0x00000000);
  614. nv_icmd(dev, 0x000510, 0x3f800000);
  615. nv_icmd(dev, 0x000511, 0x3f800000);
  616. nv_icmd(dev, 0x000512, 0x3f800000);
  617. nv_icmd(dev, 0x000513, 0x3f800000);
  618. nv_icmd(dev, 0x000514, 0x3f800000);
  619. nv_icmd(dev, 0x000515, 0x3f800000);
  620. nv_icmd(dev, 0x000516, 0x3f800000);
  621. nv_icmd(dev, 0x000517, 0x3f800000);
  622. nv_icmd(dev, 0x000518, 0x3f800000);
  623. nv_icmd(dev, 0x000519, 0x3f800000);
  624. nv_icmd(dev, 0x00051a, 0x3f800000);
  625. nv_icmd(dev, 0x00051b, 0x3f800000);
  626. nv_icmd(dev, 0x00051c, 0x3f800000);
  627. nv_icmd(dev, 0x00051d, 0x3f800000);
  628. nv_icmd(dev, 0x00051e, 0x3f800000);
  629. nv_icmd(dev, 0x00051f, 0x3f800000);
  630. nv_icmd(dev, 0x000520, 0x000002b6);
  631. nv_icmd(dev, 0x000529, 0x00000001);
  632. nv_icmd(dev, 0x000530, 0xffff0000);
  633. nv_icmd(dev, 0x000531, 0xffff0000);
  634. nv_icmd(dev, 0x000532, 0xffff0000);
  635. nv_icmd(dev, 0x000533, 0xffff0000);
  636. nv_icmd(dev, 0x000534, 0xffff0000);
  637. nv_icmd(dev, 0x000535, 0xffff0000);
  638. nv_icmd(dev, 0x000536, 0xffff0000);
  639. nv_icmd(dev, 0x000537, 0xffff0000);
  640. nv_icmd(dev, 0x000538, 0xffff0000);
  641. nv_icmd(dev, 0x000539, 0xffff0000);
  642. nv_icmd(dev, 0x00053a, 0xffff0000);
  643. nv_icmd(dev, 0x00053b, 0xffff0000);
  644. nv_icmd(dev, 0x00053c, 0xffff0000);
  645. nv_icmd(dev, 0x00053d, 0xffff0000);
  646. nv_icmd(dev, 0x00053e, 0xffff0000);
  647. nv_icmd(dev, 0x00053f, 0xffff0000);
  648. nv_icmd(dev, 0x000585, 0x0000003f);
  649. nv_icmd(dev, 0x000576, 0x00000003);
  650. nv_icmd(dev, 0x00057b, 0x00000059);
  651. nv_icmd(dev, 0x000586, 0x00000040);
  652. nv_icmd(dev, 0x000582, 0x00000080);
  653. nv_icmd(dev, 0x000583, 0x00000080);
  654. nv_icmd(dev, 0x0005c2, 0x00000001);
  655. nv_icmd(dev, 0x000638, 0x00000001);
  656. nv_icmd(dev, 0x000639, 0x00000001);
  657. nv_icmd(dev, 0x00063a, 0x00000002);
  658. nv_icmd(dev, 0x00063b, 0x00000001);
  659. nv_icmd(dev, 0x00063c, 0x00000001);
  660. nv_icmd(dev, 0x00063d, 0x00000002);
  661. nv_icmd(dev, 0x00063e, 0x00000001);
  662. nv_icmd(dev, 0x0008b8, 0x00000001);
  663. nv_icmd(dev, 0x0008b9, 0x00000001);
  664. nv_icmd(dev, 0x0008ba, 0x00000001);
  665. nv_icmd(dev, 0x0008bb, 0x00000001);
  666. nv_icmd(dev, 0x0008bc, 0x00000001);
  667. nv_icmd(dev, 0x0008bd, 0x00000001);
  668. nv_icmd(dev, 0x0008be, 0x00000001);
  669. nv_icmd(dev, 0x0008bf, 0x00000001);
  670. nv_icmd(dev, 0x000900, 0x00000001);
  671. nv_icmd(dev, 0x000901, 0x00000001);
  672. nv_icmd(dev, 0x000902, 0x00000001);
  673. nv_icmd(dev, 0x000903, 0x00000001);
  674. nv_icmd(dev, 0x000904, 0x00000001);
  675. nv_icmd(dev, 0x000905, 0x00000001);
  676. nv_icmd(dev, 0x000906, 0x00000001);
  677. nv_icmd(dev, 0x000907, 0x00000001);
  678. nv_icmd(dev, 0x000908, 0x00000002);
  679. nv_icmd(dev, 0x000909, 0x00000002);
  680. nv_icmd(dev, 0x00090a, 0x00000002);
  681. nv_icmd(dev, 0x00090b, 0x00000002);
  682. nv_icmd(dev, 0x00090c, 0x00000002);
  683. nv_icmd(dev, 0x00090d, 0x00000002);
  684. nv_icmd(dev, 0x00090e, 0x00000002);
  685. nv_icmd(dev, 0x00090f, 0x00000002);
  686. nv_icmd(dev, 0x000910, 0x00000001);
  687. nv_icmd(dev, 0x000911, 0x00000001);
  688. nv_icmd(dev, 0x000912, 0x00000001);
  689. nv_icmd(dev, 0x000913, 0x00000001);
  690. nv_icmd(dev, 0x000914, 0x00000001);
  691. nv_icmd(dev, 0x000915, 0x00000001);
  692. nv_icmd(dev, 0x000916, 0x00000001);
  693. nv_icmd(dev, 0x000917, 0x00000001);
  694. nv_icmd(dev, 0x000918, 0x00000001);
  695. nv_icmd(dev, 0x000919, 0x00000001);
  696. nv_icmd(dev, 0x00091a, 0x00000001);
  697. nv_icmd(dev, 0x00091b, 0x00000001);
  698. nv_icmd(dev, 0x00091c, 0x00000001);
  699. nv_icmd(dev, 0x00091d, 0x00000001);
  700. nv_icmd(dev, 0x00091e, 0x00000001);
  701. nv_icmd(dev, 0x00091f, 0x00000001);
  702. nv_icmd(dev, 0x000920, 0x00000002);
  703. nv_icmd(dev, 0x000921, 0x00000002);
  704. nv_icmd(dev, 0x000922, 0x00000002);
  705. nv_icmd(dev, 0x000923, 0x00000002);
  706. nv_icmd(dev, 0x000924, 0x00000002);
  707. nv_icmd(dev, 0x000925, 0x00000002);
  708. nv_icmd(dev, 0x000926, 0x00000002);
  709. nv_icmd(dev, 0x000927, 0x00000002);
  710. nv_icmd(dev, 0x000928, 0x00000001);
  711. nv_icmd(dev, 0x000929, 0x00000001);
  712. nv_icmd(dev, 0x00092a, 0x00000001);
  713. nv_icmd(dev, 0x00092b, 0x00000001);
  714. nv_icmd(dev, 0x00092c, 0x00000001);
  715. nv_icmd(dev, 0x00092d, 0x00000001);
  716. nv_icmd(dev, 0x00092e, 0x00000001);
  717. nv_icmd(dev, 0x00092f, 0x00000001);
  718. nv_icmd(dev, 0x000648, 0x00000001);
  719. nv_icmd(dev, 0x000649, 0x00000001);
  720. nv_icmd(dev, 0x00064a, 0x00000001);
  721. nv_icmd(dev, 0x00064b, 0x00000001);
  722. nv_icmd(dev, 0x00064c, 0x00000001);
  723. nv_icmd(dev, 0x00064d, 0x00000001);
  724. nv_icmd(dev, 0x00064e, 0x00000001);
  725. nv_icmd(dev, 0x00064f, 0x00000001);
  726. nv_icmd(dev, 0x000650, 0x00000001);
  727. nv_icmd(dev, 0x000658, 0x0000000f);
  728. nv_icmd(dev, 0x0007ff, 0x0000000a);
  729. nv_icmd(dev, 0x00066a, 0x40000000);
  730. nv_icmd(dev, 0x00066b, 0x10000000);
  731. nv_icmd(dev, 0x00066c, 0xffff0000);
  732. nv_icmd(dev, 0x00066d, 0xffff0000);
  733. nv_icmd(dev, 0x0007af, 0x00000008);
  734. nv_icmd(dev, 0x0007b0, 0x00000008);
  735. nv_icmd(dev, 0x0007f6, 0x00000001);
  736. nv_icmd(dev, 0x0006b2, 0x00000055);
  737. nv_icmd(dev, 0x0007ad, 0x00000003);
  738. nv_icmd(dev, 0x000937, 0x00000001);
  739. nv_icmd(dev, 0x000971, 0x00000008);
  740. nv_icmd(dev, 0x000972, 0x00000040);
  741. nv_icmd(dev, 0x000973, 0x0000012c);
  742. nv_icmd(dev, 0x00097c, 0x00000040);
  743. nv_icmd(dev, 0x000979, 0x00000003);
  744. nv_icmd(dev, 0x000975, 0x00000020);
  745. nv_icmd(dev, 0x000976, 0x00000001);
  746. nv_icmd(dev, 0x000977, 0x00000020);
  747. nv_icmd(dev, 0x000978, 0x00000001);
  748. nv_icmd(dev, 0x000957, 0x00000003);
  749. nv_icmd(dev, 0x00095e, 0x20164010);
  750. nv_icmd(dev, 0x00095f, 0x00000020);
  751. nv_icmd(dev, 0x00097d, 0x00000020);
  752. nv_icmd(dev, 0x000683, 0x00000006);
  753. nv_icmd(dev, 0x000685, 0x003fffff);
  754. nv_icmd(dev, 0x000687, 0x003fffff);
  755. nv_icmd(dev, 0x0006a0, 0x00000005);
  756. nv_icmd(dev, 0x000840, 0x00400008);
  757. nv_icmd(dev, 0x000841, 0x08000080);
  758. nv_icmd(dev, 0x000842, 0x00400008);
  759. nv_icmd(dev, 0x000843, 0x08000080);
  760. nv_icmd(dev, 0x000818, 0x00000000);
  761. nv_icmd(dev, 0x000819, 0x00000000);
  762. nv_icmd(dev, 0x00081a, 0x00000000);
  763. nv_icmd(dev, 0x00081b, 0x00000000);
  764. nv_icmd(dev, 0x00081c, 0x00000000);
  765. nv_icmd(dev, 0x00081d, 0x00000000);
  766. nv_icmd(dev, 0x00081e, 0x00000000);
  767. nv_icmd(dev, 0x00081f, 0x00000000);
  768. nv_icmd(dev, 0x000848, 0x00000000);
  769. nv_icmd(dev, 0x000849, 0x00000000);
  770. nv_icmd(dev, 0x00084a, 0x00000000);
  771. nv_icmd(dev, 0x00084b, 0x00000000);
  772. nv_icmd(dev, 0x00084c, 0x00000000);
  773. nv_icmd(dev, 0x00084d, 0x00000000);
  774. nv_icmd(dev, 0x00084e, 0x00000000);
  775. nv_icmd(dev, 0x00084f, 0x00000000);
  776. nv_icmd(dev, 0x000850, 0x00000000);
  777. nv_icmd(dev, 0x000851, 0x00000000);
  778. nv_icmd(dev, 0x000852, 0x00000000);
  779. nv_icmd(dev, 0x000853, 0x00000000);
  780. nv_icmd(dev, 0x000854, 0x00000000);
  781. nv_icmd(dev, 0x000855, 0x00000000);
  782. nv_icmd(dev, 0x000856, 0x00000000);
  783. nv_icmd(dev, 0x000857, 0x00000000);
  784. nv_icmd(dev, 0x000738, 0x00000000);
  785. nv_icmd(dev, 0x0006aa, 0x00000001);
  786. nv_icmd(dev, 0x0006ab, 0x00000002);
  787. nv_icmd(dev, 0x0006ac, 0x00000080);
  788. nv_icmd(dev, 0x0006ad, 0x00000100);
  789. nv_icmd(dev, 0x0006ae, 0x00000100);
  790. nv_icmd(dev, 0x0006b1, 0x00000011);
  791. nv_icmd(dev, 0x0006bb, 0x000000cf);
  792. nv_icmd(dev, 0x0006ce, 0x2a712488);
  793. nv_icmd(dev, 0x000739, 0x4085c000);
  794. nv_icmd(dev, 0x00073a, 0x00000080);
  795. nv_icmd(dev, 0x000786, 0x80000100);
  796. nv_icmd(dev, 0x00073c, 0x00010100);
  797. nv_icmd(dev, 0x00073d, 0x02800000);
  798. nv_icmd(dev, 0x000787, 0x000000cf);
  799. nv_icmd(dev, 0x00078c, 0x00000008);
  800. nv_icmd(dev, 0x000792, 0x00000001);
  801. nv_icmd(dev, 0x000794, 0x00000001);
  802. nv_icmd(dev, 0x000795, 0x00000001);
  803. nv_icmd(dev, 0x000796, 0x00000001);
  804. nv_icmd(dev, 0x000797, 0x000000cf);
  805. nv_icmd(dev, 0x000836, 0x00000001);
  806. nv_icmd(dev, 0x00079a, 0x00000002);
  807. nv_icmd(dev, 0x000833, 0x04444480);
  808. nv_icmd(dev, 0x0007a1, 0x00000001);
  809. nv_icmd(dev, 0x0007a3, 0x00000001);
  810. nv_icmd(dev, 0x0007a4, 0x00000001);
  811. nv_icmd(dev, 0x0007a5, 0x00000001);
  812. nv_icmd(dev, 0x000831, 0x00000004);
  813. nv_icmd(dev, 0x000b07, 0x00000002);
  814. nv_icmd(dev, 0x000b08, 0x00000100);
  815. nv_icmd(dev, 0x000b09, 0x00000100);
  816. nv_icmd(dev, 0x000b0a, 0x00000001);
  817. nv_icmd(dev, 0x000a04, 0x000000ff);
  818. nv_icmd(dev, 0x000a0b, 0x00000040);
  819. nv_icmd(dev, 0x00097f, 0x00000100);
  820. nv_icmd(dev, 0x000a02, 0x00000001);
  821. nv_icmd(dev, 0x000809, 0x00000007);
  822. nv_icmd(dev, 0x00c221, 0x00000040);
  823. nv_icmd(dev, 0x00c1b0, 0x0000000f);
  824. nv_icmd(dev, 0x00c1b1, 0x0000000f);
  825. nv_icmd(dev, 0x00c1b2, 0x0000000f);
  826. nv_icmd(dev, 0x00c1b3, 0x0000000f);
  827. nv_icmd(dev, 0x00c1b4, 0x0000000f);
  828. nv_icmd(dev, 0x00c1b5, 0x0000000f);
  829. nv_icmd(dev, 0x00c1b6, 0x0000000f);
  830. nv_icmd(dev, 0x00c1b7, 0x0000000f);
  831. nv_icmd(dev, 0x00c1b8, 0x0fac6881);
  832. nv_icmd(dev, 0x00c1b9, 0x00fac688);
  833. nv_icmd(dev, 0x00c401, 0x00000001);
  834. nv_icmd(dev, 0x00c402, 0x00010001);
  835. nv_icmd(dev, 0x00c403, 0x00000001);
  836. nv_icmd(dev, 0x00c404, 0x00000001);
  837. nv_icmd(dev, 0x00c40e, 0x00000020);
  838. nv_icmd(dev, 0x00c500, 0x00000003);
  839. nv_icmd(dev, 0x01e100, 0x00000001);
  840. nv_icmd(dev, 0x001000, 0x00000002);
  841. nv_icmd(dev, 0x0006aa, 0x00000001);
  842. nv_icmd(dev, 0x0006ad, 0x00000100);
  843. nv_icmd(dev, 0x0006ae, 0x00000100);
  844. nv_icmd(dev, 0x0006b1, 0x00000011);
  845. nv_icmd(dev, 0x00078c, 0x00000008);
  846. nv_icmd(dev, 0x000792, 0x00000001);
  847. nv_icmd(dev, 0x000794, 0x00000001);
  848. nv_icmd(dev, 0x000795, 0x00000001);
  849. nv_icmd(dev, 0x000796, 0x00000001);
  850. nv_icmd(dev, 0x000797, 0x000000cf);
  851. nv_icmd(dev, 0x00079a, 0x00000002);
  852. nv_icmd(dev, 0x000833, 0x04444480);
  853. nv_icmd(dev, 0x0007a1, 0x00000001);
  854. nv_icmd(dev, 0x0007a3, 0x00000001);
  855. nv_icmd(dev, 0x0007a4, 0x00000001);
  856. nv_icmd(dev, 0x0007a5, 0x00000001);
  857. nv_icmd(dev, 0x000831, 0x00000004);
  858. nv_icmd(dev, 0x01e100, 0x00000001);
  859. nv_icmd(dev, 0x001000, 0x00000008);
  860. nv_icmd(dev, 0x000039, 0x00000000);
  861. nv_icmd(dev, 0x00003a, 0x00000000);
  862. nv_icmd(dev, 0x00003b, 0x00000000);
  863. nv_icmd(dev, 0x000380, 0x00000001);
  864. nv_icmd(dev, 0x000366, 0x00000000);
  865. nv_icmd(dev, 0x000367, 0x00000000);
  866. nv_icmd(dev, 0x000368, 0x00000fff);
  867. nv_icmd(dev, 0x000370, 0x00000000);
  868. nv_icmd(dev, 0x000371, 0x00000000);
  869. nv_icmd(dev, 0x000372, 0x000fffff);
  870. nv_icmd(dev, 0x000813, 0x00000006);
  871. nv_icmd(dev, 0x000814, 0x00000008);
  872. nv_icmd(dev, 0x000957, 0x00000003);
  873. nv_icmd(dev, 0x000818, 0x00000000);
  874. nv_icmd(dev, 0x000819, 0x00000000);
  875. nv_icmd(dev, 0x00081a, 0x00000000);
  876. nv_icmd(dev, 0x00081b, 0x00000000);
  877. nv_icmd(dev, 0x00081c, 0x00000000);
  878. nv_icmd(dev, 0x00081d, 0x00000000);
  879. nv_icmd(dev, 0x00081e, 0x00000000);
  880. nv_icmd(dev, 0x00081f, 0x00000000);
  881. nv_icmd(dev, 0x000848, 0x00000000);
  882. nv_icmd(dev, 0x000849, 0x00000000);
  883. nv_icmd(dev, 0x00084a, 0x00000000);
  884. nv_icmd(dev, 0x00084b, 0x00000000);
  885. nv_icmd(dev, 0x00084c, 0x00000000);
  886. nv_icmd(dev, 0x00084d, 0x00000000);
  887. nv_icmd(dev, 0x00084e, 0x00000000);
  888. nv_icmd(dev, 0x00084f, 0x00000000);
  889. nv_icmd(dev, 0x000850, 0x00000000);
  890. nv_icmd(dev, 0x000851, 0x00000000);
  891. nv_icmd(dev, 0x000852, 0x00000000);
  892. nv_icmd(dev, 0x000853, 0x00000000);
  893. nv_icmd(dev, 0x000854, 0x00000000);
  894. nv_icmd(dev, 0x000855, 0x00000000);
  895. nv_icmd(dev, 0x000856, 0x00000000);
  896. nv_icmd(dev, 0x000857, 0x00000000);
  897. nv_icmd(dev, 0x000738, 0x00000000);
  898. nv_icmd(dev, 0x000b07, 0x00000002);
  899. nv_icmd(dev, 0x000b08, 0x00000100);
  900. nv_icmd(dev, 0x000b09, 0x00000100);
  901. nv_icmd(dev, 0x000b0a, 0x00000001);
  902. nv_icmd(dev, 0x000a04, 0x000000ff);
  903. nv_icmd(dev, 0x00097f, 0x00000100);
  904. nv_icmd(dev, 0x000a02, 0x00000001);
  905. nv_icmd(dev, 0x000809, 0x00000007);
  906. nv_icmd(dev, 0x00c221, 0x00000040);
  907. nv_icmd(dev, 0x00c401, 0x00000001);
  908. nv_icmd(dev, 0x00c402, 0x00010001);
  909. nv_icmd(dev, 0x00c403, 0x00000001);
  910. nv_icmd(dev, 0x00c404, 0x00000001);
  911. nv_icmd(dev, 0x00c40e, 0x00000020);
  912. nv_icmd(dev, 0x00c500, 0x00000003);
  913. nv_icmd(dev, 0x01e100, 0x00000001);
  914. nv_icmd(dev, 0x001000, 0x00000001);
  915. nv_icmd(dev, 0x000b07, 0x00000002);
  916. nv_icmd(dev, 0x000b08, 0x00000100);
  917. nv_icmd(dev, 0x000b09, 0x00000100);
  918. nv_icmd(dev, 0x000b0a, 0x00000001);
  919. nv_icmd(dev, 0x01e100, 0x00000001);
  920. nv_wr32(dev, 0x400208, 0x00000000);
  921. }
  922. static void
  923. nv_mthd(struct drm_device *dev, u32 class, u32 mthd, u32 data)
  924. {
  925. nv_wr32(dev, 0x40448c, data);
  926. nv_wr32(dev, 0x404488, 0x80000000 | (mthd << 14) | class);
  927. }
  928. static void
  929. nve0_grctx_generate_a097(struct drm_device *dev)
  930. {
  931. nv_mthd(dev, 0xa097, 0x0800, 0x00000000);
  932. nv_mthd(dev, 0xa097, 0x0840, 0x00000000);
  933. nv_mthd(dev, 0xa097, 0x0880, 0x00000000);
  934. nv_mthd(dev, 0xa097, 0x08c0, 0x00000000);
  935. nv_mthd(dev, 0xa097, 0x0900, 0x00000000);
  936. nv_mthd(dev, 0xa097, 0x0940, 0x00000000);
  937. nv_mthd(dev, 0xa097, 0x0980, 0x00000000);
  938. nv_mthd(dev, 0xa097, 0x09c0, 0x00000000);
  939. nv_mthd(dev, 0xa097, 0x0804, 0x00000000);
  940. nv_mthd(dev, 0xa097, 0x0844, 0x00000000);
  941. nv_mthd(dev, 0xa097, 0x0884, 0x00000000);
  942. nv_mthd(dev, 0xa097, 0x08c4, 0x00000000);
  943. nv_mthd(dev, 0xa097, 0x0904, 0x00000000);
  944. nv_mthd(dev, 0xa097, 0x0944, 0x00000000);
  945. nv_mthd(dev, 0xa097, 0x0984, 0x00000000);
  946. nv_mthd(dev, 0xa097, 0x09c4, 0x00000000);
  947. nv_mthd(dev, 0xa097, 0x0808, 0x00000400);
  948. nv_mthd(dev, 0xa097, 0x0848, 0x00000400);
  949. nv_mthd(dev, 0xa097, 0x0888, 0x00000400);
  950. nv_mthd(dev, 0xa097, 0x08c8, 0x00000400);
  951. nv_mthd(dev, 0xa097, 0x0908, 0x00000400);
  952. nv_mthd(dev, 0xa097, 0x0948, 0x00000400);
  953. nv_mthd(dev, 0xa097, 0x0988, 0x00000400);
  954. nv_mthd(dev, 0xa097, 0x09c8, 0x00000400);
  955. nv_mthd(dev, 0xa097, 0x080c, 0x00000300);
  956. nv_mthd(dev, 0xa097, 0x084c, 0x00000300);
  957. nv_mthd(dev, 0xa097, 0x088c, 0x00000300);
  958. nv_mthd(dev, 0xa097, 0x08cc, 0x00000300);
  959. nv_mthd(dev, 0xa097, 0x090c, 0x00000300);
  960. nv_mthd(dev, 0xa097, 0x094c, 0x00000300);
  961. nv_mthd(dev, 0xa097, 0x098c, 0x00000300);
  962. nv_mthd(dev, 0xa097, 0x09cc, 0x00000300);
  963. nv_mthd(dev, 0xa097, 0x0810, 0x000000cf);
  964. nv_mthd(dev, 0xa097, 0x0850, 0x00000000);
  965. nv_mthd(dev, 0xa097, 0x0890, 0x00000000);
  966. nv_mthd(dev, 0xa097, 0x08d0, 0x00000000);
  967. nv_mthd(dev, 0xa097, 0x0910, 0x00000000);
  968. nv_mthd(dev, 0xa097, 0x0950, 0x00000000);
  969. nv_mthd(dev, 0xa097, 0x0990, 0x00000000);
  970. nv_mthd(dev, 0xa097, 0x09d0, 0x00000000);
  971. nv_mthd(dev, 0xa097, 0x0814, 0x00000040);
  972. nv_mthd(dev, 0xa097, 0x0854, 0x00000040);
  973. nv_mthd(dev, 0xa097, 0x0894, 0x00000040);
  974. nv_mthd(dev, 0xa097, 0x08d4, 0x00000040);
  975. nv_mthd(dev, 0xa097, 0x0914, 0x00000040);
  976. nv_mthd(dev, 0xa097, 0x0954, 0x00000040);
  977. nv_mthd(dev, 0xa097, 0x0994, 0x00000040);
  978. nv_mthd(dev, 0xa097, 0x09d4, 0x00000040);
  979. nv_mthd(dev, 0xa097, 0x0818, 0x00000001);
  980. nv_mthd(dev, 0xa097, 0x0858, 0x00000001);
  981. nv_mthd(dev, 0xa097, 0x0898, 0x00000001);
  982. nv_mthd(dev, 0xa097, 0x08d8, 0x00000001);
  983. nv_mthd(dev, 0xa097, 0x0918, 0x00000001);
  984. nv_mthd(dev, 0xa097, 0x0958, 0x00000001);
  985. nv_mthd(dev, 0xa097, 0x0998, 0x00000001);
  986. nv_mthd(dev, 0xa097, 0x09d8, 0x00000001);
  987. nv_mthd(dev, 0xa097, 0x081c, 0x00000000);
  988. nv_mthd(dev, 0xa097, 0x085c, 0x00000000);
  989. nv_mthd(dev, 0xa097, 0x089c, 0x00000000);
  990. nv_mthd(dev, 0xa097, 0x08dc, 0x00000000);
  991. nv_mthd(dev, 0xa097, 0x091c, 0x00000000);
  992. nv_mthd(dev, 0xa097, 0x095c, 0x00000000);
  993. nv_mthd(dev, 0xa097, 0x099c, 0x00000000);
  994. nv_mthd(dev, 0xa097, 0x09dc, 0x00000000);
  995. nv_mthd(dev, 0xa097, 0x0820, 0x00000000);
  996. nv_mthd(dev, 0xa097, 0x0860, 0x00000000);
  997. nv_mthd(dev, 0xa097, 0x08a0, 0x00000000);
  998. nv_mthd(dev, 0xa097, 0x08e0, 0x00000000);
  999. nv_mthd(dev, 0xa097, 0x0920, 0x00000000);
  1000. nv_mthd(dev, 0xa097, 0x0960, 0x00000000);
  1001. nv_mthd(dev, 0xa097, 0x09a0, 0x00000000);
  1002. nv_mthd(dev, 0xa097, 0x09e0, 0x00000000);
  1003. nv_mthd(dev, 0xa097, 0x1c00, 0x00000000);
  1004. nv_mthd(dev, 0xa097, 0x1c10, 0x00000000);
  1005. nv_mthd(dev, 0xa097, 0x1c20, 0x00000000);
  1006. nv_mthd(dev, 0xa097, 0x1c30, 0x00000000);
  1007. nv_mthd(dev, 0xa097, 0x1c40, 0x00000000);
  1008. nv_mthd(dev, 0xa097, 0x1c50, 0x00000000);
  1009. nv_mthd(dev, 0xa097, 0x1c60, 0x00000000);
  1010. nv_mthd(dev, 0xa097, 0x1c70, 0x00000000);
  1011. nv_mthd(dev, 0xa097, 0x1c80, 0x00000000);
  1012. nv_mthd(dev, 0xa097, 0x1c90, 0x00000000);
  1013. nv_mthd(dev, 0xa097, 0x1ca0, 0x00000000);
  1014. nv_mthd(dev, 0xa097, 0x1cb0, 0x00000000);
  1015. nv_mthd(dev, 0xa097, 0x1cc0, 0x00000000);
  1016. nv_mthd(dev, 0xa097, 0x1cd0, 0x00000000);
  1017. nv_mthd(dev, 0xa097, 0x1ce0, 0x00000000);
  1018. nv_mthd(dev, 0xa097, 0x1cf0, 0x00000000);
  1019. nv_mthd(dev, 0xa097, 0x1c04, 0x00000000);
  1020. nv_mthd(dev, 0xa097, 0x1c14, 0x00000000);
  1021. nv_mthd(dev, 0xa097, 0x1c24, 0x00000000);
  1022. nv_mthd(dev, 0xa097, 0x1c34, 0x00000000);
  1023. nv_mthd(dev, 0xa097, 0x1c44, 0x00000000);
  1024. nv_mthd(dev, 0xa097, 0x1c54, 0x00000000);
  1025. nv_mthd(dev, 0xa097, 0x1c64, 0x00000000);
  1026. nv_mthd(dev, 0xa097, 0x1c74, 0x00000000);
  1027. nv_mthd(dev, 0xa097, 0x1c84, 0x00000000);
  1028. nv_mthd(dev, 0xa097, 0x1c94, 0x00000000);
  1029. nv_mthd(dev, 0xa097, 0x1ca4, 0x00000000);
  1030. nv_mthd(dev, 0xa097, 0x1cb4, 0x00000000);
  1031. nv_mthd(dev, 0xa097, 0x1cc4, 0x00000000);
  1032. nv_mthd(dev, 0xa097, 0x1cd4, 0x00000000);
  1033. nv_mthd(dev, 0xa097, 0x1ce4, 0x00000000);
  1034. nv_mthd(dev, 0xa097, 0x1cf4, 0x00000000);
  1035. nv_mthd(dev, 0xa097, 0x1c08, 0x00000000);
  1036. nv_mthd(dev, 0xa097, 0x1c18, 0x00000000);
  1037. nv_mthd(dev, 0xa097, 0x1c28, 0x00000000);
  1038. nv_mthd(dev, 0xa097, 0x1c38, 0x00000000);
  1039. nv_mthd(dev, 0xa097, 0x1c48, 0x00000000);
  1040. nv_mthd(dev, 0xa097, 0x1c58, 0x00000000);
  1041. nv_mthd(dev, 0xa097, 0x1c68, 0x00000000);
  1042. nv_mthd(dev, 0xa097, 0x1c78, 0x00000000);
  1043. nv_mthd(dev, 0xa097, 0x1c88, 0x00000000);
  1044. nv_mthd(dev, 0xa097, 0x1c98, 0x00000000);
  1045. nv_mthd(dev, 0xa097, 0x1ca8, 0x00000000);
  1046. nv_mthd(dev, 0xa097, 0x1cb8, 0x00000000);
  1047. nv_mthd(dev, 0xa097, 0x1cc8, 0x00000000);
  1048. nv_mthd(dev, 0xa097, 0x1cd8, 0x00000000);
  1049. nv_mthd(dev, 0xa097, 0x1ce8, 0x00000000);
  1050. nv_mthd(dev, 0xa097, 0x1cf8, 0x00000000);
  1051. nv_mthd(dev, 0xa097, 0x1c0c, 0x00000000);
  1052. nv_mthd(dev, 0xa097, 0x1c1c, 0x00000000);
  1053. nv_mthd(dev, 0xa097, 0x1c2c, 0x00000000);
  1054. nv_mthd(dev, 0xa097, 0x1c3c, 0x00000000);
  1055. nv_mthd(dev, 0xa097, 0x1c4c, 0x00000000);
  1056. nv_mthd(dev, 0xa097, 0x1c5c, 0x00000000);
  1057. nv_mthd(dev, 0xa097, 0x1c6c, 0x00000000);
  1058. nv_mthd(dev, 0xa097, 0x1c7c, 0x00000000);
  1059. nv_mthd(dev, 0xa097, 0x1c8c, 0x00000000);
  1060. nv_mthd(dev, 0xa097, 0x1c9c, 0x00000000);
  1061. nv_mthd(dev, 0xa097, 0x1cac, 0x00000000);
  1062. nv_mthd(dev, 0xa097, 0x1cbc, 0x00000000);
  1063. nv_mthd(dev, 0xa097, 0x1ccc, 0x00000000);
  1064. nv_mthd(dev, 0xa097, 0x1cdc, 0x00000000);
  1065. nv_mthd(dev, 0xa097, 0x1cec, 0x00000000);
  1066. nv_mthd(dev, 0xa097, 0x1cfc, 0x00000000);
  1067. nv_mthd(dev, 0xa097, 0x1d00, 0x00000000);
  1068. nv_mthd(dev, 0xa097, 0x1d10, 0x00000000);
  1069. nv_mthd(dev, 0xa097, 0x1d20, 0x00000000);
  1070. nv_mthd(dev, 0xa097, 0x1d30, 0x00000000);
  1071. nv_mthd(dev, 0xa097, 0x1d40, 0x00000000);
  1072. nv_mthd(dev, 0xa097, 0x1d50, 0x00000000);
  1073. nv_mthd(dev, 0xa097, 0x1d60, 0x00000000);
  1074. nv_mthd(dev, 0xa097, 0x1d70, 0x00000000);
  1075. nv_mthd(dev, 0xa097, 0x1d80, 0x00000000);
  1076. nv_mthd(dev, 0xa097, 0x1d90, 0x00000000);
  1077. nv_mthd(dev, 0xa097, 0x1da0, 0x00000000);
  1078. nv_mthd(dev, 0xa097, 0x1db0, 0x00000000);
  1079. nv_mthd(dev, 0xa097, 0x1dc0, 0x00000000);
  1080. nv_mthd(dev, 0xa097, 0x1dd0, 0x00000000);
  1081. nv_mthd(dev, 0xa097, 0x1de0, 0x00000000);
  1082. nv_mthd(dev, 0xa097, 0x1df0, 0x00000000);
  1083. nv_mthd(dev, 0xa097, 0x1d04, 0x00000000);
  1084. nv_mthd(dev, 0xa097, 0x1d14, 0x00000000);
  1085. nv_mthd(dev, 0xa097, 0x1d24, 0x00000000);
  1086. nv_mthd(dev, 0xa097, 0x1d34, 0x00000000);
  1087. nv_mthd(dev, 0xa097, 0x1d44, 0x00000000);
  1088. nv_mthd(dev, 0xa097, 0x1d54, 0x00000000);
  1089. nv_mthd(dev, 0xa097, 0x1d64, 0x00000000);
  1090. nv_mthd(dev, 0xa097, 0x1d74, 0x00000000);
  1091. nv_mthd(dev, 0xa097, 0x1d84, 0x00000000);
  1092. nv_mthd(dev, 0xa097, 0x1d94, 0x00000000);
  1093. nv_mthd(dev, 0xa097, 0x1da4, 0x00000000);
  1094. nv_mthd(dev, 0xa097, 0x1db4, 0x00000000);
  1095. nv_mthd(dev, 0xa097, 0x1dc4, 0x00000000);
  1096. nv_mthd(dev, 0xa097, 0x1dd4, 0x00000000);
  1097. nv_mthd(dev, 0xa097, 0x1de4, 0x00000000);
  1098. nv_mthd(dev, 0xa097, 0x1df4, 0x00000000);
  1099. nv_mthd(dev, 0xa097, 0x1d08, 0x00000000);
  1100. nv_mthd(dev, 0xa097, 0x1d18, 0x00000000);
  1101. nv_mthd(dev, 0xa097, 0x1d28, 0x00000000);
  1102. nv_mthd(dev, 0xa097, 0x1d38, 0x00000000);
  1103. nv_mthd(dev, 0xa097, 0x1d48, 0x00000000);
  1104. nv_mthd(dev, 0xa097, 0x1d58, 0x00000000);
  1105. nv_mthd(dev, 0xa097, 0x1d68, 0x00000000);
  1106. nv_mthd(dev, 0xa097, 0x1d78, 0x00000000);
  1107. nv_mthd(dev, 0xa097, 0x1d88, 0x00000000);
  1108. nv_mthd(dev, 0xa097, 0x1d98, 0x00000000);
  1109. nv_mthd(dev, 0xa097, 0x1da8, 0x00000000);
  1110. nv_mthd(dev, 0xa097, 0x1db8, 0x00000000);
  1111. nv_mthd(dev, 0xa097, 0x1dc8, 0x00000000);
  1112. nv_mthd(dev, 0xa097, 0x1dd8, 0x00000000);
  1113. nv_mthd(dev, 0xa097, 0x1de8, 0x00000000);
  1114. nv_mthd(dev, 0xa097, 0x1df8, 0x00000000);
  1115. nv_mthd(dev, 0xa097, 0x1d0c, 0x00000000);
  1116. nv_mthd(dev, 0xa097, 0x1d1c, 0x00000000);
  1117. nv_mthd(dev, 0xa097, 0x1d2c, 0x00000000);
  1118. nv_mthd(dev, 0xa097, 0x1d3c, 0x00000000);
  1119. nv_mthd(dev, 0xa097, 0x1d4c, 0x00000000);
  1120. nv_mthd(dev, 0xa097, 0x1d5c, 0x00000000);
  1121. nv_mthd(dev, 0xa097, 0x1d6c, 0x00000000);
  1122. nv_mthd(dev, 0xa097, 0x1d7c, 0x00000000);
  1123. nv_mthd(dev, 0xa097, 0x1d8c, 0x00000000);
  1124. nv_mthd(dev, 0xa097, 0x1d9c, 0x00000000);
  1125. nv_mthd(dev, 0xa097, 0x1dac, 0x00000000);
  1126. nv_mthd(dev, 0xa097, 0x1dbc, 0x00000000);
  1127. nv_mthd(dev, 0xa097, 0x1dcc, 0x00000000);
  1128. nv_mthd(dev, 0xa097, 0x1ddc, 0x00000000);
  1129. nv_mthd(dev, 0xa097, 0x1dec, 0x00000000);
  1130. nv_mthd(dev, 0xa097, 0x1dfc, 0x00000000);
  1131. nv_mthd(dev, 0xa097, 0x1f00, 0x00000000);
  1132. nv_mthd(dev, 0xa097, 0x1f08, 0x00000000);
  1133. nv_mthd(dev, 0xa097, 0x1f10, 0x00000000);
  1134. nv_mthd(dev, 0xa097, 0x1f18, 0x00000000);
  1135. nv_mthd(dev, 0xa097, 0x1f20, 0x00000000);
  1136. nv_mthd(dev, 0xa097, 0x1f28, 0x00000000);
  1137. nv_mthd(dev, 0xa097, 0x1f30, 0x00000000);
  1138. nv_mthd(dev, 0xa097, 0x1f38, 0x00000000);
  1139. nv_mthd(dev, 0xa097, 0x1f40, 0x00000000);
  1140. nv_mthd(dev, 0xa097, 0x1f48, 0x00000000);
  1141. nv_mthd(dev, 0xa097, 0x1f50, 0x00000000);
  1142. nv_mthd(dev, 0xa097, 0x1f58, 0x00000000);
  1143. nv_mthd(dev, 0xa097, 0x1f60, 0x00000000);
  1144. nv_mthd(dev, 0xa097, 0x1f68, 0x00000000);
  1145. nv_mthd(dev, 0xa097, 0x1f70, 0x00000000);
  1146. nv_mthd(dev, 0xa097, 0x1f78, 0x00000000);
  1147. nv_mthd(dev, 0xa097, 0x1f04, 0x00000000);
  1148. nv_mthd(dev, 0xa097, 0x1f0c, 0x00000000);
  1149. nv_mthd(dev, 0xa097, 0x1f14, 0x00000000);
  1150. nv_mthd(dev, 0xa097, 0x1f1c, 0x00000000);
  1151. nv_mthd(dev, 0xa097, 0x1f24, 0x00000000);
  1152. nv_mthd(dev, 0xa097, 0x1f2c, 0x00000000);
  1153. nv_mthd(dev, 0xa097, 0x1f34, 0x00000000);
  1154. nv_mthd(dev, 0xa097, 0x1f3c, 0x00000000);
  1155. nv_mthd(dev, 0xa097, 0x1f44, 0x00000000);
  1156. nv_mthd(dev, 0xa097, 0x1f4c, 0x00000000);
  1157. nv_mthd(dev, 0xa097, 0x1f54, 0x00000000);
  1158. nv_mthd(dev, 0xa097, 0x1f5c, 0x00000000);
  1159. nv_mthd(dev, 0xa097, 0x1f64, 0x00000000);
  1160. nv_mthd(dev, 0xa097, 0x1f6c, 0x00000000);
  1161. nv_mthd(dev, 0xa097, 0x1f74, 0x00000000);
  1162. nv_mthd(dev, 0xa097, 0x1f7c, 0x00000000);
  1163. nv_mthd(dev, 0xa097, 0x1f80, 0x00000000);
  1164. nv_mthd(dev, 0xa097, 0x1f88, 0x00000000);
  1165. nv_mthd(dev, 0xa097, 0x1f90, 0x00000000);
  1166. nv_mthd(dev, 0xa097, 0x1f98, 0x00000000);
  1167. nv_mthd(dev, 0xa097, 0x1fa0, 0x00000000);
  1168. nv_mthd(dev, 0xa097, 0x1fa8, 0x00000000);
  1169. nv_mthd(dev, 0xa097, 0x1fb0, 0x00000000);
  1170. nv_mthd(dev, 0xa097, 0x1fb8, 0x00000000);
  1171. nv_mthd(dev, 0xa097, 0x1fc0, 0x00000000);
  1172. nv_mthd(dev, 0xa097, 0x1fc8, 0x00000000);
  1173. nv_mthd(dev, 0xa097, 0x1fd0, 0x00000000);
  1174. nv_mthd(dev, 0xa097, 0x1fd8, 0x00000000);
  1175. nv_mthd(dev, 0xa097, 0x1fe0, 0x00000000);
  1176. nv_mthd(dev, 0xa097, 0x1fe8, 0x00000000);
  1177. nv_mthd(dev, 0xa097, 0x1ff0, 0x00000000);
  1178. nv_mthd(dev, 0xa097, 0x1ff8, 0x00000000);
  1179. nv_mthd(dev, 0xa097, 0x1f84, 0x00000000);
  1180. nv_mthd(dev, 0xa097, 0x1f8c, 0x00000000);
  1181. nv_mthd(dev, 0xa097, 0x1f94, 0x00000000);
  1182. nv_mthd(dev, 0xa097, 0x1f9c, 0x00000000);
  1183. nv_mthd(dev, 0xa097, 0x1fa4, 0x00000000);
  1184. nv_mthd(dev, 0xa097, 0x1fac, 0x00000000);
  1185. nv_mthd(dev, 0xa097, 0x1fb4, 0x00000000);
  1186. nv_mthd(dev, 0xa097, 0x1fbc, 0x00000000);
  1187. nv_mthd(dev, 0xa097, 0x1fc4, 0x00000000);
  1188. nv_mthd(dev, 0xa097, 0x1fcc, 0x00000000);
  1189. nv_mthd(dev, 0xa097, 0x1fd4, 0x00000000);
  1190. nv_mthd(dev, 0xa097, 0x1fdc, 0x00000000);
  1191. nv_mthd(dev, 0xa097, 0x1fe4, 0x00000000);
  1192. nv_mthd(dev, 0xa097, 0x1fec, 0x00000000);
  1193. nv_mthd(dev, 0xa097, 0x1ff4, 0x00000000);
  1194. nv_mthd(dev, 0xa097, 0x1ffc, 0x00000000);
  1195. nv_mthd(dev, 0xa097, 0x2000, 0x00000000);
  1196. nv_mthd(dev, 0xa097, 0x2040, 0x00000011);
  1197. nv_mthd(dev, 0xa097, 0x2080, 0x00000020);
  1198. nv_mthd(dev, 0xa097, 0x20c0, 0x00000030);
  1199. nv_mthd(dev, 0xa097, 0x2100, 0x00000040);
  1200. nv_mthd(dev, 0xa097, 0x2140, 0x00000051);
  1201. nv_mthd(dev, 0xa097, 0x200c, 0x00000001);
  1202. nv_mthd(dev, 0xa097, 0x204c, 0x00000001);
  1203. nv_mthd(dev, 0xa097, 0x208c, 0x00000001);
  1204. nv_mthd(dev, 0xa097, 0x20cc, 0x00000001);
  1205. nv_mthd(dev, 0xa097, 0x210c, 0x00000001);
  1206. nv_mthd(dev, 0xa097, 0x214c, 0x00000001);
  1207. nv_mthd(dev, 0xa097, 0x2010, 0x00000000);
  1208. nv_mthd(dev, 0xa097, 0x2050, 0x00000000);
  1209. nv_mthd(dev, 0xa097, 0x2090, 0x00000001);
  1210. nv_mthd(dev, 0xa097, 0x20d0, 0x00000002);
  1211. nv_mthd(dev, 0xa097, 0x2110, 0x00000003);
  1212. nv_mthd(dev, 0xa097, 0x2150, 0x00000004);
  1213. nv_mthd(dev, 0xa097, 0x0380, 0x00000000);
  1214. nv_mthd(dev, 0xa097, 0x03a0, 0x00000000);
  1215. nv_mthd(dev, 0xa097, 0x03c0, 0x00000000);
  1216. nv_mthd(dev, 0xa097, 0x03e0, 0x00000000);
  1217. nv_mthd(dev, 0xa097, 0x0384, 0x00000000);
  1218. nv_mthd(dev, 0xa097, 0x03a4, 0x00000000);
  1219. nv_mthd(dev, 0xa097, 0x03c4, 0x00000000);
  1220. nv_mthd(dev, 0xa097, 0x03e4, 0x00000000);
  1221. nv_mthd(dev, 0xa097, 0x0388, 0x00000000);
  1222. nv_mthd(dev, 0xa097, 0x03a8, 0x00000000);
  1223. nv_mthd(dev, 0xa097, 0x03c8, 0x00000000);
  1224. nv_mthd(dev, 0xa097, 0x03e8, 0x00000000);
  1225. nv_mthd(dev, 0xa097, 0x038c, 0x00000000);
  1226. nv_mthd(dev, 0xa097, 0x03ac, 0x00000000);
  1227. nv_mthd(dev, 0xa097, 0x03cc, 0x00000000);
  1228. nv_mthd(dev, 0xa097, 0x03ec, 0x00000000);
  1229. nv_mthd(dev, 0xa097, 0x0700, 0x00000000);
  1230. nv_mthd(dev, 0xa097, 0x0710, 0x00000000);
  1231. nv_mthd(dev, 0xa097, 0x0720, 0x00000000);
  1232. nv_mthd(dev, 0xa097, 0x0730, 0x00000000);
  1233. nv_mthd(dev, 0xa097, 0x0704, 0x00000000);
  1234. nv_mthd(dev, 0xa097, 0x0714, 0x00000000);
  1235. nv_mthd(dev, 0xa097, 0x0724, 0x00000000);
  1236. nv_mthd(dev, 0xa097, 0x0734, 0x00000000);
  1237. nv_mthd(dev, 0xa097, 0x0708, 0x00000000);
  1238. nv_mthd(dev, 0xa097, 0x0718, 0x00000000);
  1239. nv_mthd(dev, 0xa097, 0x0728, 0x00000000);
  1240. nv_mthd(dev, 0xa097, 0x0738, 0x00000000);
  1241. nv_mthd(dev, 0xa097, 0x2800, 0x00000000);
  1242. nv_mthd(dev, 0xa097, 0x2804, 0x00000000);
  1243. nv_mthd(dev, 0xa097, 0x2808, 0x00000000);
  1244. nv_mthd(dev, 0xa097, 0x280c, 0x00000000);
  1245. nv_mthd(dev, 0xa097, 0x2810, 0x00000000);
  1246. nv_mthd(dev, 0xa097, 0x2814, 0x00000000);
  1247. nv_mthd(dev, 0xa097, 0x2818, 0x00000000);
  1248. nv_mthd(dev, 0xa097, 0x281c, 0x00000000);
  1249. nv_mthd(dev, 0xa097, 0x2820, 0x00000000);
  1250. nv_mthd(dev, 0xa097, 0x2824, 0x00000000);
  1251. nv_mthd(dev, 0xa097, 0x2828, 0x00000000);
  1252. nv_mthd(dev, 0xa097, 0x282c, 0x00000000);
  1253. nv_mthd(dev, 0xa097, 0x2830, 0x00000000);
  1254. nv_mthd(dev, 0xa097, 0x2834, 0x00000000);
  1255. nv_mthd(dev, 0xa097, 0x2838, 0x00000000);
  1256. nv_mthd(dev, 0xa097, 0x283c, 0x00000000);
  1257. nv_mthd(dev, 0xa097, 0x2840, 0x00000000);
  1258. nv_mthd(dev, 0xa097, 0x2844, 0x00000000);
  1259. nv_mthd(dev, 0xa097, 0x2848, 0x00000000);
  1260. nv_mthd(dev, 0xa097, 0x284c, 0x00000000);
  1261. nv_mthd(dev, 0xa097, 0x2850, 0x00000000);
  1262. nv_mthd(dev, 0xa097, 0x2854, 0x00000000);
  1263. nv_mthd(dev, 0xa097, 0x2858, 0x00000000);
  1264. nv_mthd(dev, 0xa097, 0x285c, 0x00000000);
  1265. nv_mthd(dev, 0xa097, 0x2860, 0x00000000);
  1266. nv_mthd(dev, 0xa097, 0x2864, 0x00000000);
  1267. nv_mthd(dev, 0xa097, 0x2868, 0x00000000);
  1268. nv_mthd(dev, 0xa097, 0x286c, 0x00000000);
  1269. nv_mthd(dev, 0xa097, 0x2870, 0x00000000);
  1270. nv_mthd(dev, 0xa097, 0x2874, 0x00000000);
  1271. nv_mthd(dev, 0xa097, 0x2878, 0x00000000);
  1272. nv_mthd(dev, 0xa097, 0x287c, 0x00000000);
  1273. nv_mthd(dev, 0xa097, 0x2880, 0x00000000);
  1274. nv_mthd(dev, 0xa097, 0x2884, 0x00000000);
  1275. nv_mthd(dev, 0xa097, 0x2888, 0x00000000);
  1276. nv_mthd(dev, 0xa097, 0x288c, 0x00000000);
  1277. nv_mthd(dev, 0xa097, 0x2890, 0x00000000);
  1278. nv_mthd(dev, 0xa097, 0x2894, 0x00000000);
  1279. nv_mthd(dev, 0xa097, 0x2898, 0x00000000);
  1280. nv_mthd(dev, 0xa097, 0x289c, 0x00000000);
  1281. nv_mthd(dev, 0xa097, 0x28a0, 0x00000000);
  1282. nv_mthd(dev, 0xa097, 0x28a4, 0x00000000);
  1283. nv_mthd(dev, 0xa097, 0x28a8, 0x00000000);
  1284. nv_mthd(dev, 0xa097, 0x28ac, 0x00000000);
  1285. nv_mthd(dev, 0xa097, 0x28b0, 0x00000000);
  1286. nv_mthd(dev, 0xa097, 0x28b4, 0x00000000);
  1287. nv_mthd(dev, 0xa097, 0x28b8, 0x00000000);
  1288. nv_mthd(dev, 0xa097, 0x28bc, 0x00000000);
  1289. nv_mthd(dev, 0xa097, 0x28c0, 0x00000000);
  1290. nv_mthd(dev, 0xa097, 0x28c4, 0x00000000);
  1291. nv_mthd(dev, 0xa097, 0x28c8, 0x00000000);
  1292. nv_mthd(dev, 0xa097, 0x28cc, 0x00000000);
  1293. nv_mthd(dev, 0xa097, 0x28d0, 0x00000000);
  1294. nv_mthd(dev, 0xa097, 0x28d4, 0x00000000);
  1295. nv_mthd(dev, 0xa097, 0x28d8, 0x00000000);
  1296. nv_mthd(dev, 0xa097, 0x28dc, 0x00000000);
  1297. nv_mthd(dev, 0xa097, 0x28e0, 0x00000000);
  1298. nv_mthd(dev, 0xa097, 0x28e4, 0x00000000);
  1299. nv_mthd(dev, 0xa097, 0x28e8, 0x00000000);
  1300. nv_mthd(dev, 0xa097, 0x28ec, 0x00000000);
  1301. nv_mthd(dev, 0xa097, 0x28f0, 0x00000000);
  1302. nv_mthd(dev, 0xa097, 0x28f4, 0x00000000);
  1303. nv_mthd(dev, 0xa097, 0x28f8, 0x00000000);
  1304. nv_mthd(dev, 0xa097, 0x28fc, 0x00000000);
  1305. nv_mthd(dev, 0xa097, 0x2900, 0x00000000);
  1306. nv_mthd(dev, 0xa097, 0x2904, 0x00000000);
  1307. nv_mthd(dev, 0xa097, 0x2908, 0x00000000);
  1308. nv_mthd(dev, 0xa097, 0x290c, 0x00000000);
  1309. nv_mthd(dev, 0xa097, 0x2910, 0x00000000);
  1310. nv_mthd(dev, 0xa097, 0x2914, 0x00000000);
  1311. nv_mthd(dev, 0xa097, 0x2918, 0x00000000);
  1312. nv_mthd(dev, 0xa097, 0x291c, 0x00000000);
  1313. nv_mthd(dev, 0xa097, 0x2920, 0x00000000);
  1314. nv_mthd(dev, 0xa097, 0x2924, 0x00000000);
  1315. nv_mthd(dev, 0xa097, 0x2928, 0x00000000);
  1316. nv_mthd(dev, 0xa097, 0x292c, 0x00000000);
  1317. nv_mthd(dev, 0xa097, 0x2930, 0x00000000);
  1318. nv_mthd(dev, 0xa097, 0x2934, 0x00000000);
  1319. nv_mthd(dev, 0xa097, 0x2938, 0x00000000);
  1320. nv_mthd(dev, 0xa097, 0x293c, 0x00000000);
  1321. nv_mthd(dev, 0xa097, 0x2940, 0x00000000);
  1322. nv_mthd(dev, 0xa097, 0x2944, 0x00000000);
  1323. nv_mthd(dev, 0xa097, 0x2948, 0x00000000);
  1324. nv_mthd(dev, 0xa097, 0x294c, 0x00000000);
  1325. nv_mthd(dev, 0xa097, 0x2950, 0x00000000);
  1326. nv_mthd(dev, 0xa097, 0x2954, 0x00000000);
  1327. nv_mthd(dev, 0xa097, 0x2958, 0x00000000);
  1328. nv_mthd(dev, 0xa097, 0x295c, 0x00000000);
  1329. nv_mthd(dev, 0xa097, 0x2960, 0x00000000);
  1330. nv_mthd(dev, 0xa097, 0x2964, 0x00000000);
  1331. nv_mthd(dev, 0xa097, 0x2968, 0x00000000);
  1332. nv_mthd(dev, 0xa097, 0x296c, 0x00000000);
  1333. nv_mthd(dev, 0xa097, 0x2970, 0x00000000);
  1334. nv_mthd(dev, 0xa097, 0x2974, 0x00000000);
  1335. nv_mthd(dev, 0xa097, 0x2978, 0x00000000);
  1336. nv_mthd(dev, 0xa097, 0x297c, 0x00000000);
  1337. nv_mthd(dev, 0xa097, 0x2980, 0x00000000);
  1338. nv_mthd(dev, 0xa097, 0x2984, 0x00000000);
  1339. nv_mthd(dev, 0xa097, 0x2988, 0x00000000);
  1340. nv_mthd(dev, 0xa097, 0x298c, 0x00000000);
  1341. nv_mthd(dev, 0xa097, 0x2990, 0x00000000);
  1342. nv_mthd(dev, 0xa097, 0x2994, 0x00000000);
  1343. nv_mthd(dev, 0xa097, 0x2998, 0x00000000);
  1344. nv_mthd(dev, 0xa097, 0x299c, 0x00000000);
  1345. nv_mthd(dev, 0xa097, 0x29a0, 0x00000000);
  1346. nv_mthd(dev, 0xa097, 0x29a4, 0x00000000);
  1347. nv_mthd(dev, 0xa097, 0x29a8, 0x00000000);
  1348. nv_mthd(dev, 0xa097, 0x29ac, 0x00000000);
  1349. nv_mthd(dev, 0xa097, 0x29b0, 0x00000000);
  1350. nv_mthd(dev, 0xa097, 0x29b4, 0x00000000);
  1351. nv_mthd(dev, 0xa097, 0x29b8, 0x00000000);
  1352. nv_mthd(dev, 0xa097, 0x29bc, 0x00000000);
  1353. nv_mthd(dev, 0xa097, 0x29c0, 0x00000000);
  1354. nv_mthd(dev, 0xa097, 0x29c4, 0x00000000);
  1355. nv_mthd(dev, 0xa097, 0x29c8, 0x00000000);
  1356. nv_mthd(dev, 0xa097, 0x29cc, 0x00000000);
  1357. nv_mthd(dev, 0xa097, 0x29d0, 0x00000000);
  1358. nv_mthd(dev, 0xa097, 0x29d4, 0x00000000);
  1359. nv_mthd(dev, 0xa097, 0x29d8, 0x00000000);
  1360. nv_mthd(dev, 0xa097, 0x29dc, 0x00000000);
  1361. nv_mthd(dev, 0xa097, 0x29e0, 0x00000000);
  1362. nv_mthd(dev, 0xa097, 0x29e4, 0x00000000);
  1363. nv_mthd(dev, 0xa097, 0x29e8, 0x00000000);
  1364. nv_mthd(dev, 0xa097, 0x29ec, 0x00000000);
  1365. nv_mthd(dev, 0xa097, 0x29f0, 0x00000000);
  1366. nv_mthd(dev, 0xa097, 0x29f4, 0x00000000);
  1367. nv_mthd(dev, 0xa097, 0x29f8, 0x00000000);
  1368. nv_mthd(dev, 0xa097, 0x29fc, 0x00000000);
  1369. nv_mthd(dev, 0xa097, 0x0a00, 0x00000000);
  1370. nv_mthd(dev, 0xa097, 0x0a20, 0x00000000);
  1371. nv_mthd(dev, 0xa097, 0x0a40, 0x00000000);
  1372. nv_mthd(dev, 0xa097, 0x0a60, 0x00000000);
  1373. nv_mthd(dev, 0xa097, 0x0a80, 0x00000000);
  1374. nv_mthd(dev, 0xa097, 0x0aa0, 0x00000000);
  1375. nv_mthd(dev, 0xa097, 0x0ac0, 0x00000000);
  1376. nv_mthd(dev, 0xa097, 0x0ae0, 0x00000000);
  1377. nv_mthd(dev, 0xa097, 0x0b00, 0x00000000);
  1378. nv_mthd(dev, 0xa097, 0x0b20, 0x00000000);
  1379. nv_mthd(dev, 0xa097, 0x0b40, 0x00000000);
  1380. nv_mthd(dev, 0xa097, 0x0b60, 0x00000000);
  1381. nv_mthd(dev, 0xa097, 0x0b80, 0x00000000);
  1382. nv_mthd(dev, 0xa097, 0x0ba0, 0x00000000);
  1383. nv_mthd(dev, 0xa097, 0x0bc0, 0x00000000);
  1384. nv_mthd(dev, 0xa097, 0x0be0, 0x00000000);
  1385. nv_mthd(dev, 0xa097, 0x0a04, 0x00000000);
  1386. nv_mthd(dev, 0xa097, 0x0a24, 0x00000000);
  1387. nv_mthd(dev, 0xa097, 0x0a44, 0x00000000);
  1388. nv_mthd(dev, 0xa097, 0x0a64, 0x00000000);
  1389. nv_mthd(dev, 0xa097, 0x0a84, 0x00000000);
  1390. nv_mthd(dev, 0xa097, 0x0aa4, 0x00000000);
  1391. nv_mthd(dev, 0xa097, 0x0ac4, 0x00000000);
  1392. nv_mthd(dev, 0xa097, 0x0ae4, 0x00000000);
  1393. nv_mthd(dev, 0xa097, 0x0b04, 0x00000000);
  1394. nv_mthd(dev, 0xa097, 0x0b24, 0x00000000);
  1395. nv_mthd(dev, 0xa097, 0x0b44, 0x00000000);
  1396. nv_mthd(dev, 0xa097, 0x0b64, 0x00000000);
  1397. nv_mthd(dev, 0xa097, 0x0b84, 0x00000000);
  1398. nv_mthd(dev, 0xa097, 0x0ba4, 0x00000000);
  1399. nv_mthd(dev, 0xa097, 0x0bc4, 0x00000000);
  1400. nv_mthd(dev, 0xa097, 0x0be4, 0x00000000);
  1401. nv_mthd(dev, 0xa097, 0x0a08, 0x00000000);
  1402. nv_mthd(dev, 0xa097, 0x0a28, 0x00000000);
  1403. nv_mthd(dev, 0xa097, 0x0a48, 0x00000000);
  1404. nv_mthd(dev, 0xa097, 0x0a68, 0x00000000);
  1405. nv_mthd(dev, 0xa097, 0x0a88, 0x00000000);
  1406. nv_mthd(dev, 0xa097, 0x0aa8, 0x00000000);
  1407. nv_mthd(dev, 0xa097, 0x0ac8, 0x00000000);
  1408. nv_mthd(dev, 0xa097, 0x0ae8, 0x00000000);
  1409. nv_mthd(dev, 0xa097, 0x0b08, 0x00000000);
  1410. nv_mthd(dev, 0xa097, 0x0b28, 0x00000000);
  1411. nv_mthd(dev, 0xa097, 0x0b48, 0x00000000);
  1412. nv_mthd(dev, 0xa097, 0x0b68, 0x00000000);
  1413. nv_mthd(dev, 0xa097, 0x0b88, 0x00000000);
  1414. nv_mthd(dev, 0xa097, 0x0ba8, 0x00000000);
  1415. nv_mthd(dev, 0xa097, 0x0bc8, 0x00000000);
  1416. nv_mthd(dev, 0xa097, 0x0be8, 0x00000000);
  1417. nv_mthd(dev, 0xa097, 0x0a0c, 0x00000000);
  1418. nv_mthd(dev, 0xa097, 0x0a2c, 0x00000000);
  1419. nv_mthd(dev, 0xa097, 0x0a4c, 0x00000000);
  1420. nv_mthd(dev, 0xa097, 0x0a6c, 0x00000000);
  1421. nv_mthd(dev, 0xa097, 0x0a8c, 0x00000000);
  1422. nv_mthd(dev, 0xa097, 0x0aac, 0x00000000);
  1423. nv_mthd(dev, 0xa097, 0x0acc, 0x00000000);
  1424. nv_mthd(dev, 0xa097, 0x0aec, 0x00000000);
  1425. nv_mthd(dev, 0xa097, 0x0b0c, 0x00000000);
  1426. nv_mthd(dev, 0xa097, 0x0b2c, 0x00000000);
  1427. nv_mthd(dev, 0xa097, 0x0b4c, 0x00000000);
  1428. nv_mthd(dev, 0xa097, 0x0b6c, 0x00000000);
  1429. nv_mthd(dev, 0xa097, 0x0b8c, 0x00000000);
  1430. nv_mthd(dev, 0xa097, 0x0bac, 0x00000000);
  1431. nv_mthd(dev, 0xa097, 0x0bcc, 0x00000000);
  1432. nv_mthd(dev, 0xa097, 0x0bec, 0x00000000);
  1433. nv_mthd(dev, 0xa097, 0x0a10, 0x00000000);
  1434. nv_mthd(dev, 0xa097, 0x0a30, 0x00000000);
  1435. nv_mthd(dev, 0xa097, 0x0a50, 0x00000000);
  1436. nv_mthd(dev, 0xa097, 0x0a70, 0x00000000);
  1437. nv_mthd(dev, 0xa097, 0x0a90, 0x00000000);
  1438. nv_mthd(dev, 0xa097, 0x0ab0, 0x00000000);
  1439. nv_mthd(dev, 0xa097, 0x0ad0, 0x00000000);
  1440. nv_mthd(dev, 0xa097, 0x0af0, 0x00000000);
  1441. nv_mthd(dev, 0xa097, 0x0b10, 0x00000000);
  1442. nv_mthd(dev, 0xa097, 0x0b30, 0x00000000);
  1443. nv_mthd(dev, 0xa097, 0x0b50, 0x00000000);
  1444. nv_mthd(dev, 0xa097, 0x0b70, 0x00000000);
  1445. nv_mthd(dev, 0xa097, 0x0b90, 0x00000000);
  1446. nv_mthd(dev, 0xa097, 0x0bb0, 0x00000000);
  1447. nv_mthd(dev, 0xa097, 0x0bd0, 0x00000000);
  1448. nv_mthd(dev, 0xa097, 0x0bf0, 0x00000000);
  1449. nv_mthd(dev, 0xa097, 0x0a14, 0x00000000);
  1450. nv_mthd(dev, 0xa097, 0x0a34, 0x00000000);
  1451. nv_mthd(dev, 0xa097, 0x0a54, 0x00000000);
  1452. nv_mthd(dev, 0xa097, 0x0a74, 0x00000000);
  1453. nv_mthd(dev, 0xa097, 0x0a94, 0x00000000);
  1454. nv_mthd(dev, 0xa097, 0x0ab4, 0x00000000);
  1455. nv_mthd(dev, 0xa097, 0x0ad4, 0x00000000);
  1456. nv_mthd(dev, 0xa097, 0x0af4, 0x00000000);
  1457. nv_mthd(dev, 0xa097, 0x0b14, 0x00000000);
  1458. nv_mthd(dev, 0xa097, 0x0b34, 0x00000000);
  1459. nv_mthd(dev, 0xa097, 0x0b54, 0x00000000);
  1460. nv_mthd(dev, 0xa097, 0x0b74, 0x00000000);
  1461. nv_mthd(dev, 0xa097, 0x0b94, 0x00000000);
  1462. nv_mthd(dev, 0xa097, 0x0bb4, 0x00000000);
  1463. nv_mthd(dev, 0xa097, 0x0bd4, 0x00000000);
  1464. nv_mthd(dev, 0xa097, 0x0bf4, 0x00000000);
  1465. nv_mthd(dev, 0xa097, 0x0c00, 0x00000000);
  1466. nv_mthd(dev, 0xa097, 0x0c10, 0x00000000);
  1467. nv_mthd(dev, 0xa097, 0x0c20, 0x00000000);
  1468. nv_mthd(dev, 0xa097, 0x0c30, 0x00000000);
  1469. nv_mthd(dev, 0xa097, 0x0c40, 0x00000000);
  1470. nv_mthd(dev, 0xa097, 0x0c50, 0x00000000);
  1471. nv_mthd(dev, 0xa097, 0x0c60, 0x00000000);
  1472. nv_mthd(dev, 0xa097, 0x0c70, 0x00000000);
  1473. nv_mthd(dev, 0xa097, 0x0c80, 0x00000000);
  1474. nv_mthd(dev, 0xa097, 0x0c90, 0x00000000);
  1475. nv_mthd(dev, 0xa097, 0x0ca0, 0x00000000);
  1476. nv_mthd(dev, 0xa097, 0x0cb0, 0x00000000);
  1477. nv_mthd(dev, 0xa097, 0x0cc0, 0x00000000);
  1478. nv_mthd(dev, 0xa097, 0x0cd0, 0x00000000);
  1479. nv_mthd(dev, 0xa097, 0x0ce0, 0x00000000);
  1480. nv_mthd(dev, 0xa097, 0x0cf0, 0x00000000);
  1481. nv_mthd(dev, 0xa097, 0x0c04, 0x00000000);
  1482. nv_mthd(dev, 0xa097, 0x0c14, 0x00000000);
  1483. nv_mthd(dev, 0xa097, 0x0c24, 0x00000000);
  1484. nv_mthd(dev, 0xa097, 0x0c34, 0x00000000);
  1485. nv_mthd(dev, 0xa097, 0x0c44, 0x00000000);
  1486. nv_mthd(dev, 0xa097, 0x0c54, 0x00000000);
  1487. nv_mthd(dev, 0xa097, 0x0c64, 0x00000000);
  1488. nv_mthd(dev, 0xa097, 0x0c74, 0x00000000);
  1489. nv_mthd(dev, 0xa097, 0x0c84, 0x00000000);
  1490. nv_mthd(dev, 0xa097, 0x0c94, 0x00000000);
  1491. nv_mthd(dev, 0xa097, 0x0ca4, 0x00000000);
  1492. nv_mthd(dev, 0xa097, 0x0cb4, 0x00000000);
  1493. nv_mthd(dev, 0xa097, 0x0cc4, 0x00000000);
  1494. nv_mthd(dev, 0xa097, 0x0cd4, 0x00000000);
  1495. nv_mthd(dev, 0xa097, 0x0ce4, 0x00000000);
  1496. nv_mthd(dev, 0xa097, 0x0cf4, 0x00000000);
  1497. nv_mthd(dev, 0xa097, 0x0c08, 0x00000000);
  1498. nv_mthd(dev, 0xa097, 0x0c18, 0x00000000);
  1499. nv_mthd(dev, 0xa097, 0x0c28, 0x00000000);
  1500. nv_mthd(dev, 0xa097, 0x0c38, 0x00000000);
  1501. nv_mthd(dev, 0xa097, 0x0c48, 0x00000000);
  1502. nv_mthd(dev, 0xa097, 0x0c58, 0x00000000);
  1503. nv_mthd(dev, 0xa097, 0x0c68, 0x00000000);
  1504. nv_mthd(dev, 0xa097, 0x0c78, 0x00000000);
  1505. nv_mthd(dev, 0xa097, 0x0c88, 0x00000000);
  1506. nv_mthd(dev, 0xa097, 0x0c98, 0x00000000);
  1507. nv_mthd(dev, 0xa097, 0x0ca8, 0x00000000);
  1508. nv_mthd(dev, 0xa097, 0x0cb8, 0x00000000);
  1509. nv_mthd(dev, 0xa097, 0x0cc8, 0x00000000);
  1510. nv_mthd(dev, 0xa097, 0x0cd8, 0x00000000);
  1511. nv_mthd(dev, 0xa097, 0x0ce8, 0x00000000);
  1512. nv_mthd(dev, 0xa097, 0x0cf8, 0x00000000);
  1513. nv_mthd(dev, 0xa097, 0x0c0c, 0x3f800000);
  1514. nv_mthd(dev, 0xa097, 0x0c1c, 0x3f800000);
  1515. nv_mthd(dev, 0xa097, 0x0c2c, 0x3f800000);
  1516. nv_mthd(dev, 0xa097, 0x0c3c, 0x3f800000);
  1517. nv_mthd(dev, 0xa097, 0x0c4c, 0x3f800000);
  1518. nv_mthd(dev, 0xa097, 0x0c5c, 0x3f800000);
  1519. nv_mthd(dev, 0xa097, 0x0c6c, 0x3f800000);
  1520. nv_mthd(dev, 0xa097, 0x0c7c, 0x3f800000);
  1521. nv_mthd(dev, 0xa097, 0x0c8c, 0x3f800000);
  1522. nv_mthd(dev, 0xa097, 0x0c9c, 0x3f800000);
  1523. nv_mthd(dev, 0xa097, 0x0cac, 0x3f800000);
  1524. nv_mthd(dev, 0xa097, 0x0cbc, 0x3f800000);
  1525. nv_mthd(dev, 0xa097, 0x0ccc, 0x3f800000);
  1526. nv_mthd(dev, 0xa097, 0x0cdc, 0x3f800000);
  1527. nv_mthd(dev, 0xa097, 0x0cec, 0x3f800000);
  1528. nv_mthd(dev, 0xa097, 0x0cfc, 0x3f800000);
  1529. nv_mthd(dev, 0xa097, 0x0d00, 0xffff0000);
  1530. nv_mthd(dev, 0xa097, 0x0d08, 0xffff0000);
  1531. nv_mthd(dev, 0xa097, 0x0d10, 0xffff0000);
  1532. nv_mthd(dev, 0xa097, 0x0d18, 0xffff0000);
  1533. nv_mthd(dev, 0xa097, 0x0d20, 0xffff0000);
  1534. nv_mthd(dev, 0xa097, 0x0d28, 0xffff0000);
  1535. nv_mthd(dev, 0xa097, 0x0d30, 0xffff0000);
  1536. nv_mthd(dev, 0xa097, 0x0d38, 0xffff0000);
  1537. nv_mthd(dev, 0xa097, 0x0d04, 0xffff0000);
  1538. nv_mthd(dev, 0xa097, 0x0d0c, 0xffff0000);
  1539. nv_mthd(dev, 0xa097, 0x0d14, 0xffff0000);
  1540. nv_mthd(dev, 0xa097, 0x0d1c, 0xffff0000);
  1541. nv_mthd(dev, 0xa097, 0x0d24, 0xffff0000);
  1542. nv_mthd(dev, 0xa097, 0x0d2c, 0xffff0000);
  1543. nv_mthd(dev, 0xa097, 0x0d34, 0xffff0000);
  1544. nv_mthd(dev, 0xa097, 0x0d3c, 0xffff0000);
  1545. nv_mthd(dev, 0xa097, 0x0e00, 0x00000000);
  1546. nv_mthd(dev, 0xa097, 0x0e10, 0x00000000);
  1547. nv_mthd(dev, 0xa097, 0x0e20, 0x00000000);
  1548. nv_mthd(dev, 0xa097, 0x0e30, 0x00000000);
  1549. nv_mthd(dev, 0xa097, 0x0e40, 0x00000000);
  1550. nv_mthd(dev, 0xa097, 0x0e50, 0x00000000);
  1551. nv_mthd(dev, 0xa097, 0x0e60, 0x00000000);
  1552. nv_mthd(dev, 0xa097, 0x0e70, 0x00000000);
  1553. nv_mthd(dev, 0xa097, 0x0e80, 0x00000000);
  1554. nv_mthd(dev, 0xa097, 0x0e90, 0x00000000);
  1555. nv_mthd(dev, 0xa097, 0x0ea0, 0x00000000);
  1556. nv_mthd(dev, 0xa097, 0x0eb0, 0x00000000);
  1557. nv_mthd(dev, 0xa097, 0x0ec0, 0x00000000);
  1558. nv_mthd(dev, 0xa097, 0x0ed0, 0x00000000);
  1559. nv_mthd(dev, 0xa097, 0x0ee0, 0x00000000);
  1560. nv_mthd(dev, 0xa097, 0x0ef0, 0x00000000);
  1561. nv_mthd(dev, 0xa097, 0x0e04, 0xffff0000);
  1562. nv_mthd(dev, 0xa097, 0x0e14, 0xffff0000);
  1563. nv_mthd(dev, 0xa097, 0x0e24, 0xffff0000);
  1564. nv_mthd(dev, 0xa097, 0x0e34, 0xffff0000);
  1565. nv_mthd(dev, 0xa097, 0x0e44, 0xffff0000);
  1566. nv_mthd(dev, 0xa097, 0x0e54, 0xffff0000);
  1567. nv_mthd(dev, 0xa097, 0x0e64, 0xffff0000);
  1568. nv_mthd(dev, 0xa097, 0x0e74, 0xffff0000);
  1569. nv_mthd(dev, 0xa097, 0x0e84, 0xffff0000);
  1570. nv_mthd(dev, 0xa097, 0x0e94, 0xffff0000);
  1571. nv_mthd(dev, 0xa097, 0x0ea4, 0xffff0000);
  1572. nv_mthd(dev, 0xa097, 0x0eb4, 0xffff0000);
  1573. nv_mthd(dev, 0xa097, 0x0ec4, 0xffff0000);
  1574. nv_mthd(dev, 0xa097, 0x0ed4, 0xffff0000);
  1575. nv_mthd(dev, 0xa097, 0x0ee4, 0xffff0000);
  1576. nv_mthd(dev, 0xa097, 0x0ef4, 0xffff0000);
  1577. nv_mthd(dev, 0xa097, 0x0e08, 0xffff0000);
  1578. nv_mthd(dev, 0xa097, 0x0e18, 0xffff0000);
  1579. nv_mthd(dev, 0xa097, 0x0e28, 0xffff0000);
  1580. nv_mthd(dev, 0xa097, 0x0e38, 0xffff0000);
  1581. nv_mthd(dev, 0xa097, 0x0e48, 0xffff0000);
  1582. nv_mthd(dev, 0xa097, 0x0e58, 0xffff0000);
  1583. nv_mthd(dev, 0xa097, 0x0e68, 0xffff0000);
  1584. nv_mthd(dev, 0xa097, 0x0e78, 0xffff0000);
  1585. nv_mthd(dev, 0xa097, 0x0e88, 0xffff0000);
  1586. nv_mthd(dev, 0xa097, 0x0e98, 0xffff0000);
  1587. nv_mthd(dev, 0xa097, 0x0ea8, 0xffff0000);
  1588. nv_mthd(dev, 0xa097, 0x0eb8, 0xffff0000);
  1589. nv_mthd(dev, 0xa097, 0x0ec8, 0xffff0000);
  1590. nv_mthd(dev, 0xa097, 0x0ed8, 0xffff0000);
  1591. nv_mthd(dev, 0xa097, 0x0ee8, 0xffff0000);
  1592. nv_mthd(dev, 0xa097, 0x0ef8, 0xffff0000);
  1593. nv_mthd(dev, 0xa097, 0x0d40, 0x00000000);
  1594. nv_mthd(dev, 0xa097, 0x0d48, 0x00000000);
  1595. nv_mthd(dev, 0xa097, 0x0d50, 0x00000000);
  1596. nv_mthd(dev, 0xa097, 0x0d58, 0x00000000);
  1597. nv_mthd(dev, 0xa097, 0x0d44, 0x00000000);
  1598. nv_mthd(dev, 0xa097, 0x0d4c, 0x00000000);
  1599. nv_mthd(dev, 0xa097, 0x0d54, 0x00000000);
  1600. nv_mthd(dev, 0xa097, 0x0d5c, 0x00000000);
  1601. nv_mthd(dev, 0xa097, 0x1e00, 0x00000001);
  1602. nv_mthd(dev, 0xa097, 0x1e20, 0x00000001);
  1603. nv_mthd(dev, 0xa097, 0x1e40, 0x00000001);
  1604. nv_mthd(dev, 0xa097, 0x1e60, 0x00000001);
  1605. nv_mthd(dev, 0xa097, 0x1e80, 0x00000001);
  1606. nv_mthd(dev, 0xa097, 0x1ea0, 0x00000001);
  1607. nv_mthd(dev, 0xa097, 0x1ec0, 0x00000001);
  1608. nv_mthd(dev, 0xa097, 0x1ee0, 0x00000001);
  1609. nv_mthd(dev, 0xa097, 0x1e04, 0x00000001);
  1610. nv_mthd(dev, 0xa097, 0x1e24, 0x00000001);
  1611. nv_mthd(dev, 0xa097, 0x1e44, 0x00000001);
  1612. nv_mthd(dev, 0xa097, 0x1e64, 0x00000001);
  1613. nv_mthd(dev, 0xa097, 0x1e84, 0x00000001);
  1614. nv_mthd(dev, 0xa097, 0x1ea4, 0x00000001);
  1615. nv_mthd(dev, 0xa097, 0x1ec4, 0x00000001);
  1616. nv_mthd(dev, 0xa097, 0x1ee4, 0x00000001);
  1617. nv_mthd(dev, 0xa097, 0x1e08, 0x00000002);
  1618. nv_mthd(dev, 0xa097, 0x1e28, 0x00000002);
  1619. nv_mthd(dev, 0xa097, 0x1e48, 0x00000002);
  1620. nv_mthd(dev, 0xa097, 0x1e68, 0x00000002);
  1621. nv_mthd(dev, 0xa097, 0x1e88, 0x00000002);
  1622. nv_mthd(dev, 0xa097, 0x1ea8, 0x00000002);
  1623. nv_mthd(dev, 0xa097, 0x1ec8, 0x00000002);
  1624. nv_mthd(dev, 0xa097, 0x1ee8, 0x00000002);
  1625. nv_mthd(dev, 0xa097, 0x1e0c, 0x00000001);
  1626. nv_mthd(dev, 0xa097, 0x1e2c, 0x00000001);
  1627. nv_mthd(dev, 0xa097, 0x1e4c, 0x00000001);
  1628. nv_mthd(dev, 0xa097, 0x1e6c, 0x00000001);
  1629. nv_mthd(dev, 0xa097, 0x1e8c, 0x00000001);
  1630. nv_mthd(dev, 0xa097, 0x1eac, 0x00000001);
  1631. nv_mthd(dev, 0xa097, 0x1ecc, 0x00000001);
  1632. nv_mthd(dev, 0xa097, 0x1eec, 0x00000001);
  1633. nv_mthd(dev, 0xa097, 0x1e10, 0x00000001);
  1634. nv_mthd(dev, 0xa097, 0x1e30, 0x00000001);
  1635. nv_mthd(dev, 0xa097, 0x1e50, 0x00000001);
  1636. nv_mthd(dev, 0xa097, 0x1e70, 0x00000001);
  1637. nv_mthd(dev, 0xa097, 0x1e90, 0x00000001);
  1638. nv_mthd(dev, 0xa097, 0x1eb0, 0x00000001);
  1639. nv_mthd(dev, 0xa097, 0x1ed0, 0x00000001);
  1640. nv_mthd(dev, 0xa097, 0x1ef0, 0x00000001);
  1641. nv_mthd(dev, 0xa097, 0x1e14, 0x00000002);
  1642. nv_mthd(dev, 0xa097, 0x1e34, 0x00000002);
  1643. nv_mthd(dev, 0xa097, 0x1e54, 0x00000002);
  1644. nv_mthd(dev, 0xa097, 0x1e74, 0x00000002);
  1645. nv_mthd(dev, 0xa097, 0x1e94, 0x00000002);
  1646. nv_mthd(dev, 0xa097, 0x1eb4, 0x00000002);
  1647. nv_mthd(dev, 0xa097, 0x1ed4, 0x00000002);
  1648. nv_mthd(dev, 0xa097, 0x1ef4, 0x00000002);
  1649. nv_mthd(dev, 0xa097, 0x1e18, 0x00000001);
  1650. nv_mthd(dev, 0xa097, 0x1e38, 0x00000001);
  1651. nv_mthd(dev, 0xa097, 0x1e58, 0x00000001);
  1652. nv_mthd(dev, 0xa097, 0x1e78, 0x00000001);
  1653. nv_mthd(dev, 0xa097, 0x1e98, 0x00000001);
  1654. nv_mthd(dev, 0xa097, 0x1eb8, 0x00000001);
  1655. nv_mthd(dev, 0xa097, 0x1ed8, 0x00000001);
  1656. nv_mthd(dev, 0xa097, 0x1ef8, 0x00000001);
  1657. nv_mthd(dev, 0xa097, 0x3400, 0x00000000);
  1658. nv_mthd(dev, 0xa097, 0x3404, 0x00000000);
  1659. nv_mthd(dev, 0xa097, 0x3408, 0x00000000);
  1660. nv_mthd(dev, 0xa097, 0x340c, 0x00000000);
  1661. nv_mthd(dev, 0xa097, 0x3410, 0x00000000);
  1662. nv_mthd(dev, 0xa097, 0x3414, 0x00000000);
  1663. nv_mthd(dev, 0xa097, 0x3418, 0x00000000);
  1664. nv_mthd(dev, 0xa097, 0x341c, 0x00000000);
  1665. nv_mthd(dev, 0xa097, 0x3420, 0x00000000);
  1666. nv_mthd(dev, 0xa097, 0x3424, 0x00000000);
  1667. nv_mthd(dev, 0xa097, 0x3428, 0x00000000);
  1668. nv_mthd(dev, 0xa097, 0x342c, 0x00000000);
  1669. nv_mthd(dev, 0xa097, 0x3430, 0x00000000);
  1670. nv_mthd(dev, 0xa097, 0x3434, 0x00000000);
  1671. nv_mthd(dev, 0xa097, 0x3438, 0x00000000);
  1672. nv_mthd(dev, 0xa097, 0x343c, 0x00000000);
  1673. nv_mthd(dev, 0xa097, 0x3440, 0x00000000);
  1674. nv_mthd(dev, 0xa097, 0x3444, 0x00000000);
  1675. nv_mthd(dev, 0xa097, 0x3448, 0x00000000);
  1676. nv_mthd(dev, 0xa097, 0x344c, 0x00000000);
  1677. nv_mthd(dev, 0xa097, 0x3450, 0x00000000);
  1678. nv_mthd(dev, 0xa097, 0x3454, 0x00000000);
  1679. nv_mthd(dev, 0xa097, 0x3458, 0x00000000);
  1680. nv_mthd(dev, 0xa097, 0x345c, 0x00000000);
  1681. nv_mthd(dev, 0xa097, 0x3460, 0x00000000);
  1682. nv_mthd(dev, 0xa097, 0x3464, 0x00000000);
  1683. nv_mthd(dev, 0xa097, 0x3468, 0x00000000);
  1684. nv_mthd(dev, 0xa097, 0x346c, 0x00000000);
  1685. nv_mthd(dev, 0xa097, 0x3470, 0x00000000);
  1686. nv_mthd(dev, 0xa097, 0x3474, 0x00000000);
  1687. nv_mthd(dev, 0xa097, 0x3478, 0x00000000);
  1688. nv_mthd(dev, 0xa097, 0x347c, 0x00000000);
  1689. nv_mthd(dev, 0xa097, 0x3480, 0x00000000);
  1690. nv_mthd(dev, 0xa097, 0x3484, 0x00000000);
  1691. nv_mthd(dev, 0xa097, 0x3488, 0x00000000);
  1692. nv_mthd(dev, 0xa097, 0x348c, 0x00000000);
  1693. nv_mthd(dev, 0xa097, 0x3490, 0x00000000);
  1694. nv_mthd(dev, 0xa097, 0x3494, 0x00000000);
  1695. nv_mthd(dev, 0xa097, 0x3498, 0x00000000);
  1696. nv_mthd(dev, 0xa097, 0x349c, 0x00000000);
  1697. nv_mthd(dev, 0xa097, 0x34a0, 0x00000000);
  1698. nv_mthd(dev, 0xa097, 0x34a4, 0x00000000);
  1699. nv_mthd(dev, 0xa097, 0x34a8, 0x00000000);
  1700. nv_mthd(dev, 0xa097, 0x34ac, 0x00000000);
  1701. nv_mthd(dev, 0xa097, 0x34b0, 0x00000000);
  1702. nv_mthd(dev, 0xa097, 0x34b4, 0x00000000);
  1703. nv_mthd(dev, 0xa097, 0x34b8, 0x00000000);
  1704. nv_mthd(dev, 0xa097, 0x34bc, 0x00000000);
  1705. nv_mthd(dev, 0xa097, 0x34c0, 0x00000000);
  1706. nv_mthd(dev, 0xa097, 0x34c4, 0x00000000);
  1707. nv_mthd(dev, 0xa097, 0x34c8, 0x00000000);
  1708. nv_mthd(dev, 0xa097, 0x34cc, 0x00000000);
  1709. nv_mthd(dev, 0xa097, 0x34d0, 0x00000000);
  1710. nv_mthd(dev, 0xa097, 0x34d4, 0x00000000);
  1711. nv_mthd(dev, 0xa097, 0x34d8, 0x00000000);
  1712. nv_mthd(dev, 0xa097, 0x34dc, 0x00000000);
  1713. nv_mthd(dev, 0xa097, 0x34e0, 0x00000000);
  1714. nv_mthd(dev, 0xa097, 0x34e4, 0x00000000);
  1715. nv_mthd(dev, 0xa097, 0x34e8, 0x00000000);
  1716. nv_mthd(dev, 0xa097, 0x34ec, 0x00000000);
  1717. nv_mthd(dev, 0xa097, 0x34f0, 0x00000000);
  1718. nv_mthd(dev, 0xa097, 0x34f4, 0x00000000);
  1719. nv_mthd(dev, 0xa097, 0x34f8, 0x00000000);
  1720. nv_mthd(dev, 0xa097, 0x34fc, 0x00000000);
  1721. nv_mthd(dev, 0xa097, 0x3500, 0x00000000);
  1722. nv_mthd(dev, 0xa097, 0x3504, 0x00000000);
  1723. nv_mthd(dev, 0xa097, 0x3508, 0x00000000);
  1724. nv_mthd(dev, 0xa097, 0x350c, 0x00000000);
  1725. nv_mthd(dev, 0xa097, 0x3510, 0x00000000);
  1726. nv_mthd(dev, 0xa097, 0x3514, 0x00000000);
  1727. nv_mthd(dev, 0xa097, 0x3518, 0x00000000);
  1728. nv_mthd(dev, 0xa097, 0x351c, 0x00000000);
  1729. nv_mthd(dev, 0xa097, 0x3520, 0x00000000);
  1730. nv_mthd(dev, 0xa097, 0x3524, 0x00000000);
  1731. nv_mthd(dev, 0xa097, 0x3528, 0x00000000);
  1732. nv_mthd(dev, 0xa097, 0x352c, 0x00000000);
  1733. nv_mthd(dev, 0xa097, 0x3530, 0x00000000);
  1734. nv_mthd(dev, 0xa097, 0x3534, 0x00000000);
  1735. nv_mthd(dev, 0xa097, 0x3538, 0x00000000);
  1736. nv_mthd(dev, 0xa097, 0x353c, 0x00000000);
  1737. nv_mthd(dev, 0xa097, 0x3540, 0x00000000);
  1738. nv_mthd(dev, 0xa097, 0x3544, 0x00000000);
  1739. nv_mthd(dev, 0xa097, 0x3548, 0x00000000);
  1740. nv_mthd(dev, 0xa097, 0x354c, 0x00000000);
  1741. nv_mthd(dev, 0xa097, 0x3550, 0x00000000);
  1742. nv_mthd(dev, 0xa097, 0x3554, 0x00000000);
  1743. nv_mthd(dev, 0xa097, 0x3558, 0x00000000);
  1744. nv_mthd(dev, 0xa097, 0x355c, 0x00000000);
  1745. nv_mthd(dev, 0xa097, 0x3560, 0x00000000);
  1746. nv_mthd(dev, 0xa097, 0x3564, 0x00000000);
  1747. nv_mthd(dev, 0xa097, 0x3568, 0x00000000);
  1748. nv_mthd(dev, 0xa097, 0x356c, 0x00000000);
  1749. nv_mthd(dev, 0xa097, 0x3570, 0x00000000);
  1750. nv_mthd(dev, 0xa097, 0x3574, 0x00000000);
  1751. nv_mthd(dev, 0xa097, 0x3578, 0x00000000);
  1752. nv_mthd(dev, 0xa097, 0x357c, 0x00000000);
  1753. nv_mthd(dev, 0xa097, 0x3580, 0x00000000);
  1754. nv_mthd(dev, 0xa097, 0x3584, 0x00000000);
  1755. nv_mthd(dev, 0xa097, 0x3588, 0x00000000);
  1756. nv_mthd(dev, 0xa097, 0x358c, 0x00000000);
  1757. nv_mthd(dev, 0xa097, 0x3590, 0x00000000);
  1758. nv_mthd(dev, 0xa097, 0x3594, 0x00000000);
  1759. nv_mthd(dev, 0xa097, 0x3598, 0x00000000);
  1760. nv_mthd(dev, 0xa097, 0x359c, 0x00000000);
  1761. nv_mthd(dev, 0xa097, 0x35a0, 0x00000000);
  1762. nv_mthd(dev, 0xa097, 0x35a4, 0x00000000);
  1763. nv_mthd(dev, 0xa097, 0x35a8, 0x00000000);
  1764. nv_mthd(dev, 0xa097, 0x35ac, 0x00000000);
  1765. nv_mthd(dev, 0xa097, 0x35b0, 0x00000000);
  1766. nv_mthd(dev, 0xa097, 0x35b4, 0x00000000);
  1767. nv_mthd(dev, 0xa097, 0x35b8, 0x00000000);
  1768. nv_mthd(dev, 0xa097, 0x35bc, 0x00000000);
  1769. nv_mthd(dev, 0xa097, 0x35c0, 0x00000000);
  1770. nv_mthd(dev, 0xa097, 0x35c4, 0x00000000);
  1771. nv_mthd(dev, 0xa097, 0x35c8, 0x00000000);
  1772. nv_mthd(dev, 0xa097, 0x35cc, 0x00000000);
  1773. nv_mthd(dev, 0xa097, 0x35d0, 0x00000000);
  1774. nv_mthd(dev, 0xa097, 0x35d4, 0x00000000);
  1775. nv_mthd(dev, 0xa097, 0x35d8, 0x00000000);
  1776. nv_mthd(dev, 0xa097, 0x35dc, 0x00000000);
  1777. nv_mthd(dev, 0xa097, 0x35e0, 0x00000000);
  1778. nv_mthd(dev, 0xa097, 0x35e4, 0x00000000);
  1779. nv_mthd(dev, 0xa097, 0x35e8, 0x00000000);
  1780. nv_mthd(dev, 0xa097, 0x35ec, 0x00000000);
  1781. nv_mthd(dev, 0xa097, 0x35f0, 0x00000000);
  1782. nv_mthd(dev, 0xa097, 0x35f4, 0x00000000);
  1783. nv_mthd(dev, 0xa097, 0x35f8, 0x00000000);
  1784. nv_mthd(dev, 0xa097, 0x35fc, 0x00000000);
  1785. nv_mthd(dev, 0xa097, 0x030c, 0x00000001);
  1786. nv_mthd(dev, 0xa097, 0x1944, 0x00000000);
  1787. nv_mthd(dev, 0xa097, 0x1514, 0x00000000);
  1788. nv_mthd(dev, 0xa097, 0x0d68, 0x0000ffff);
  1789. nv_mthd(dev, 0xa097, 0x121c, 0x0fac6881);
  1790. nv_mthd(dev, 0xa097, 0x0fac, 0x00000001);
  1791. nv_mthd(dev, 0xa097, 0x1538, 0x00000001);
  1792. nv_mthd(dev, 0xa097, 0x0fe0, 0x00000000);
  1793. nv_mthd(dev, 0xa097, 0x0fe4, 0x00000000);
  1794. nv_mthd(dev, 0xa097, 0x0fe8, 0x00000014);
  1795. nv_mthd(dev, 0xa097, 0x0fec, 0x00000040);
  1796. nv_mthd(dev, 0xa097, 0x0ff0, 0x00000000);
  1797. nv_mthd(dev, 0xa097, 0x179c, 0x00000000);
  1798. nv_mthd(dev, 0xa097, 0x1228, 0x00000400);
  1799. nv_mthd(dev, 0xa097, 0x122c, 0x00000300);
  1800. nv_mthd(dev, 0xa097, 0x1230, 0x00010001);
  1801. nv_mthd(dev, 0xa097, 0x07f8, 0x00000000);
  1802. nv_mthd(dev, 0xa097, 0x15b4, 0x00000001);
  1803. nv_mthd(dev, 0xa097, 0x15cc, 0x00000000);
  1804. nv_mthd(dev, 0xa097, 0x1534, 0x00000000);
  1805. nv_mthd(dev, 0xa097, 0x0fb0, 0x00000000);
  1806. nv_mthd(dev, 0xa097, 0x15d0, 0x00000000);
  1807. nv_mthd(dev, 0xa097, 0x153c, 0x00000000);
  1808. nv_mthd(dev, 0xa097, 0x16b4, 0x00000003);
  1809. nv_mthd(dev, 0xa097, 0x0fbc, 0x0000ffff);
  1810. nv_mthd(dev, 0xa097, 0x0fc0, 0x0000ffff);
  1811. nv_mthd(dev, 0xa097, 0x0fc4, 0x0000ffff);
  1812. nv_mthd(dev, 0xa097, 0x0fc8, 0x0000ffff);
  1813. nv_mthd(dev, 0xa097, 0x0df8, 0x00000000);
  1814. nv_mthd(dev, 0xa097, 0x0dfc, 0x00000000);
  1815. nv_mthd(dev, 0xa097, 0x1948, 0x00000000);
  1816. nv_mthd(dev, 0xa097, 0x1970, 0x00000001);
  1817. nv_mthd(dev, 0xa097, 0x161c, 0x000009f0);
  1818. nv_mthd(dev, 0xa097, 0x0dcc, 0x00000010);
  1819. nv_mthd(dev, 0xa097, 0x163c, 0x00000000);
  1820. nv_mthd(dev, 0xa097, 0x15e4, 0x00000000);
  1821. nv_mthd(dev, 0xa097, 0x1160, 0x25e00040);
  1822. nv_mthd(dev, 0xa097, 0x1164, 0x25e00040);
  1823. nv_mthd(dev, 0xa097, 0x1168, 0x25e00040);
  1824. nv_mthd(dev, 0xa097, 0x116c, 0x25e00040);
  1825. nv_mthd(dev, 0xa097, 0x1170, 0x25e00040);
  1826. nv_mthd(dev, 0xa097, 0x1174, 0x25e00040);
  1827. nv_mthd(dev, 0xa097, 0x1178, 0x25e00040);
  1828. nv_mthd(dev, 0xa097, 0x117c, 0x25e00040);
  1829. nv_mthd(dev, 0xa097, 0x1180, 0x25e00040);
  1830. nv_mthd(dev, 0xa097, 0x1184, 0x25e00040);
  1831. nv_mthd(dev, 0xa097, 0x1188, 0x25e00040);
  1832. nv_mthd(dev, 0xa097, 0x118c, 0x25e00040);
  1833. nv_mthd(dev, 0xa097, 0x1190, 0x25e00040);
  1834. nv_mthd(dev, 0xa097, 0x1194, 0x25e00040);
  1835. nv_mthd(dev, 0xa097, 0x1198, 0x25e00040);
  1836. nv_mthd(dev, 0xa097, 0x119c, 0x25e00040);
  1837. nv_mthd(dev, 0xa097, 0x11a0, 0x25e00040);
  1838. nv_mthd(dev, 0xa097, 0x11a4, 0x25e00040);
  1839. nv_mthd(dev, 0xa097, 0x11a8, 0x25e00040);
  1840. nv_mthd(dev, 0xa097, 0x11ac, 0x25e00040);
  1841. nv_mthd(dev, 0xa097, 0x11b0, 0x25e00040);
  1842. nv_mthd(dev, 0xa097, 0x11b4, 0x25e00040);
  1843. nv_mthd(dev, 0xa097, 0x11b8, 0x25e00040);
  1844. nv_mthd(dev, 0xa097, 0x11bc, 0x25e00040);
  1845. nv_mthd(dev, 0xa097, 0x11c0, 0x25e00040);
  1846. nv_mthd(dev, 0xa097, 0x11c4, 0x25e00040);
  1847. nv_mthd(dev, 0xa097, 0x11c8, 0x25e00040);
  1848. nv_mthd(dev, 0xa097, 0x11cc, 0x25e00040);
  1849. nv_mthd(dev, 0xa097, 0x11d0, 0x25e00040);
  1850. nv_mthd(dev, 0xa097, 0x11d4, 0x25e00040);
  1851. nv_mthd(dev, 0xa097, 0x11d8, 0x25e00040);
  1852. nv_mthd(dev, 0xa097, 0x11dc, 0x25e00040);
  1853. nv_mthd(dev, 0xa097, 0x1880, 0x00000000);
  1854. nv_mthd(dev, 0xa097, 0x1884, 0x00000000);
  1855. nv_mthd(dev, 0xa097, 0x1888, 0x00000000);
  1856. nv_mthd(dev, 0xa097, 0x188c, 0x00000000);
  1857. nv_mthd(dev, 0xa097, 0x1890, 0x00000000);
  1858. nv_mthd(dev, 0xa097, 0x1894, 0x00000000);
  1859. nv_mthd(dev, 0xa097, 0x1898, 0x00000000);
  1860. nv_mthd(dev, 0xa097, 0x189c, 0x00000000);
  1861. nv_mthd(dev, 0xa097, 0x18a0, 0x00000000);
  1862. nv_mthd(dev, 0xa097, 0x18a4, 0x00000000);
  1863. nv_mthd(dev, 0xa097, 0x18a8, 0x00000000);
  1864. nv_mthd(dev, 0xa097, 0x18ac, 0x00000000);
  1865. nv_mthd(dev, 0xa097, 0x18b0, 0x00000000);
  1866. nv_mthd(dev, 0xa097, 0x18b4, 0x00000000);
  1867. nv_mthd(dev, 0xa097, 0x18b8, 0x00000000);
  1868. nv_mthd(dev, 0xa097, 0x18bc, 0x00000000);
  1869. nv_mthd(dev, 0xa097, 0x18c0, 0x00000000);
  1870. nv_mthd(dev, 0xa097, 0x18c4, 0x00000000);
  1871. nv_mthd(dev, 0xa097, 0x18c8, 0x00000000);
  1872. nv_mthd(dev, 0xa097, 0x18cc, 0x00000000);
  1873. nv_mthd(dev, 0xa097, 0x18d0, 0x00000000);
  1874. nv_mthd(dev, 0xa097, 0x18d4, 0x00000000);
  1875. nv_mthd(dev, 0xa097, 0x18d8, 0x00000000);
  1876. nv_mthd(dev, 0xa097, 0x18dc, 0x00000000);
  1877. nv_mthd(dev, 0xa097, 0x18e0, 0x00000000);
  1878. nv_mthd(dev, 0xa097, 0x18e4, 0x00000000);
  1879. nv_mthd(dev, 0xa097, 0x18e8, 0x00000000);
  1880. nv_mthd(dev, 0xa097, 0x18ec, 0x00000000);
  1881. nv_mthd(dev, 0xa097, 0x18f0, 0x00000000);
  1882. nv_mthd(dev, 0xa097, 0x18f4, 0x00000000);
  1883. nv_mthd(dev, 0xa097, 0x18f8, 0x00000000);
  1884. nv_mthd(dev, 0xa097, 0x18fc, 0x00000000);
  1885. nv_mthd(dev, 0xa097, 0x0f84, 0x00000000);
  1886. nv_mthd(dev, 0xa097, 0x0f88, 0x00000000);
  1887. nv_mthd(dev, 0xa097, 0x17c8, 0x00000000);
  1888. nv_mthd(dev, 0xa097, 0x17cc, 0x00000000);
  1889. nv_mthd(dev, 0xa097, 0x17d0, 0x000000ff);
  1890. nv_mthd(dev, 0xa097, 0x17d4, 0xffffffff);
  1891. nv_mthd(dev, 0xa097, 0x17d8, 0x00000002);
  1892. nv_mthd(dev, 0xa097, 0x17dc, 0x00000000);
  1893. nv_mthd(dev, 0xa097, 0x15f4, 0x00000000);
  1894. nv_mthd(dev, 0xa097, 0x15f8, 0x00000000);
  1895. nv_mthd(dev, 0xa097, 0x1434, 0x00000000);
  1896. nv_mthd(dev, 0xa097, 0x1438, 0x00000000);
  1897. nv_mthd(dev, 0xa097, 0x0d74, 0x00000000);
  1898. nv_mthd(dev, 0xa097, 0x0dec, 0x00000001);
  1899. nv_mthd(dev, 0xa097, 0x13a4, 0x00000000);
  1900. nv_mthd(dev, 0xa097, 0x1318, 0x00000001);
  1901. nv_mthd(dev, 0xa097, 0x1644, 0x00000000);
  1902. nv_mthd(dev, 0xa097, 0x0748, 0x00000000);
  1903. nv_mthd(dev, 0xa097, 0x0de8, 0x00000000);
  1904. nv_mthd(dev, 0xa097, 0x1648, 0x00000000);
  1905. nv_mthd(dev, 0xa097, 0x12a4, 0x00000000);
  1906. nv_mthd(dev, 0xa097, 0x1120, 0x00000000);
  1907. nv_mthd(dev, 0xa097, 0x1124, 0x00000000);
  1908. nv_mthd(dev, 0xa097, 0x1128, 0x00000000);
  1909. nv_mthd(dev, 0xa097, 0x112c, 0x00000000);
  1910. nv_mthd(dev, 0xa097, 0x1118, 0x00000000);
  1911. nv_mthd(dev, 0xa097, 0x164c, 0x00000000);
  1912. nv_mthd(dev, 0xa097, 0x1658, 0x00000000);
  1913. nv_mthd(dev, 0xa097, 0x1910, 0x00000290);
  1914. nv_mthd(dev, 0xa097, 0x1518, 0x00000000);
  1915. nv_mthd(dev, 0xa097, 0x165c, 0x00000001);
  1916. nv_mthd(dev, 0xa097, 0x1520, 0x00000000);
  1917. nv_mthd(dev, 0xa097, 0x1604, 0x00000000);
  1918. nv_mthd(dev, 0xa097, 0x1570, 0x00000000);
  1919. nv_mthd(dev, 0xa097, 0x13b0, 0x3f800000);
  1920. nv_mthd(dev, 0xa097, 0x13b4, 0x3f800000);
  1921. nv_mthd(dev, 0xa097, 0x020c, 0x00000000);
  1922. nv_mthd(dev, 0xa097, 0x1670, 0x30201000);
  1923. nv_mthd(dev, 0xa097, 0x1674, 0x70605040);
  1924. nv_mthd(dev, 0xa097, 0x1678, 0xb8a89888);
  1925. nv_mthd(dev, 0xa097, 0x167c, 0xf8e8d8c8);
  1926. nv_mthd(dev, 0xa097, 0x166c, 0x00000000);
  1927. nv_mthd(dev, 0xa097, 0x1680, 0x00ffff00);
  1928. nv_mthd(dev, 0xa097, 0x12d0, 0x00000003);
  1929. nv_mthd(dev, 0xa097, 0x12d4, 0x00000002);
  1930. nv_mthd(dev, 0xa097, 0x1684, 0x00000000);
  1931. nv_mthd(dev, 0xa097, 0x1688, 0x00000000);
  1932. nv_mthd(dev, 0xa097, 0x0dac, 0x00001b02);
  1933. nv_mthd(dev, 0xa097, 0x0db0, 0x00001b02);
  1934. nv_mthd(dev, 0xa097, 0x0db4, 0x00000000);
  1935. nv_mthd(dev, 0xa097, 0x168c, 0x00000000);
  1936. nv_mthd(dev, 0xa097, 0x15bc, 0x00000000);
  1937. nv_mthd(dev, 0xa097, 0x156c, 0x00000000);
  1938. nv_mthd(dev, 0xa097, 0x187c, 0x00000000);
  1939. nv_mthd(dev, 0xa097, 0x1110, 0x00000001);
  1940. nv_mthd(dev, 0xa097, 0x0dc0, 0x00000000);
  1941. nv_mthd(dev, 0xa097, 0x0dc4, 0x00000000);
  1942. nv_mthd(dev, 0xa097, 0x0dc8, 0x00000000);
  1943. nv_mthd(dev, 0xa097, 0x1234, 0x00000000);
  1944. nv_mthd(dev, 0xa097, 0x1690, 0x00000000);
  1945. nv_mthd(dev, 0xa097, 0x12ac, 0x00000001);
  1946. nv_mthd(dev, 0xa097, 0x0790, 0x00000000);
  1947. nv_mthd(dev, 0xa097, 0x0794, 0x00000000);
  1948. nv_mthd(dev, 0xa097, 0x0798, 0x00000000);
  1949. nv_mthd(dev, 0xa097, 0x079c, 0x00000000);
  1950. nv_mthd(dev, 0xa097, 0x07a0, 0x00000000);
  1951. nv_mthd(dev, 0xa097, 0x077c, 0x00000000);
  1952. nv_mthd(dev, 0xa097, 0x1000, 0x00000010);
  1953. nv_mthd(dev, 0xa097, 0x10fc, 0x00000000);
  1954. nv_mthd(dev, 0xa097, 0x1290, 0x00000000);
  1955. nv_mthd(dev, 0xa097, 0x0218, 0x00000010);
  1956. nv_mthd(dev, 0xa097, 0x12d8, 0x00000000);
  1957. nv_mthd(dev, 0xa097, 0x12dc, 0x00000010);
  1958. nv_mthd(dev, 0xa097, 0x0d94, 0x00000001);
  1959. nv_mthd(dev, 0xa097, 0x155c, 0x00000000);
  1960. nv_mthd(dev, 0xa097, 0x1560, 0x00000000);
  1961. nv_mthd(dev, 0xa097, 0x1564, 0x00000fff);
  1962. nv_mthd(dev, 0xa097, 0x1574, 0x00000000);
  1963. nv_mthd(dev, 0xa097, 0x1578, 0x00000000);
  1964. nv_mthd(dev, 0xa097, 0x157c, 0x000fffff);
  1965. nv_mthd(dev, 0xa097, 0x1354, 0x00000000);
  1966. nv_mthd(dev, 0xa097, 0x1610, 0x00000012);
  1967. nv_mthd(dev, 0xa097, 0x1608, 0x00000000);
  1968. nv_mthd(dev, 0xa097, 0x160c, 0x00000000);
  1969. nv_mthd(dev, 0xa097, 0x260c, 0x00000000);
  1970. nv_mthd(dev, 0xa097, 0x07ac, 0x00000000);
  1971. nv_mthd(dev, 0xa097, 0x162c, 0x00000003);
  1972. nv_mthd(dev, 0xa097, 0x0210, 0x00000000);
  1973. nv_mthd(dev, 0xa097, 0x0320, 0x00000000);
  1974. nv_mthd(dev, 0xa097, 0x0324, 0x3f800000);
  1975. nv_mthd(dev, 0xa097, 0x0328, 0x3f800000);
  1976. nv_mthd(dev, 0xa097, 0x032c, 0x3f800000);
  1977. nv_mthd(dev, 0xa097, 0x0330, 0x3f800000);
  1978. nv_mthd(dev, 0xa097, 0x0334, 0x3f800000);
  1979. nv_mthd(dev, 0xa097, 0x0338, 0x3f800000);
  1980. nv_mthd(dev, 0xa097, 0x0750, 0x00000000);
  1981. nv_mthd(dev, 0xa097, 0x0760, 0x39291909);
  1982. nv_mthd(dev, 0xa097, 0x0764, 0x79695949);
  1983. nv_mthd(dev, 0xa097, 0x0768, 0xb9a99989);
  1984. nv_mthd(dev, 0xa097, 0x076c, 0xf9e9d9c9);
  1985. nv_mthd(dev, 0xa097, 0x0770, 0x30201000);
  1986. nv_mthd(dev, 0xa097, 0x0774, 0x70605040);
  1987. nv_mthd(dev, 0xa097, 0x0778, 0x00009080);
  1988. nv_mthd(dev, 0xa097, 0x0780, 0x39291909);
  1989. nv_mthd(dev, 0xa097, 0x0784, 0x79695949);
  1990. nv_mthd(dev, 0xa097, 0x0788, 0xb9a99989);
  1991. nv_mthd(dev, 0xa097, 0x078c, 0xf9e9d9c9);
  1992. nv_mthd(dev, 0xa097, 0x07d0, 0x30201000);
  1993. nv_mthd(dev, 0xa097, 0x07d4, 0x70605040);
  1994. nv_mthd(dev, 0xa097, 0x07d8, 0x00009080);
  1995. nv_mthd(dev, 0xa097, 0x037c, 0x00000001);
  1996. nv_mthd(dev, 0xa097, 0x0740, 0x00000000);
  1997. nv_mthd(dev, 0xa097, 0x0744, 0x00000000);
  1998. nv_mthd(dev, 0xa097, 0x2600, 0x00000000);
  1999. nv_mthd(dev, 0xa097, 0x1918, 0x00000000);
  2000. nv_mthd(dev, 0xa097, 0x191c, 0x00000900);
  2001. nv_mthd(dev, 0xa097, 0x1920, 0x00000405);
  2002. nv_mthd(dev, 0xa097, 0x1308, 0x00000001);
  2003. nv_mthd(dev, 0xa097, 0x1924, 0x00000000);
  2004. nv_mthd(dev, 0xa097, 0x13ac, 0x00000000);
  2005. nv_mthd(dev, 0xa097, 0x192c, 0x00000001);
  2006. nv_mthd(dev, 0xa097, 0x193c, 0x00002c1c);
  2007. nv_mthd(dev, 0xa097, 0x0d7c, 0x00000000);
  2008. nv_mthd(dev, 0xa097, 0x0f8c, 0x00000000);
  2009. nv_mthd(dev, 0xa097, 0x02c0, 0x00000001);
  2010. nv_mthd(dev, 0xa097, 0x1510, 0x00000000);
  2011. nv_mthd(dev, 0xa097, 0x1940, 0x00000000);
  2012. nv_mthd(dev, 0xa097, 0x0ff4, 0x00000000);
  2013. nv_mthd(dev, 0xa097, 0x0ff8, 0x00000000);
  2014. nv_mthd(dev, 0xa097, 0x194c, 0x00000000);
  2015. nv_mthd(dev, 0xa097, 0x1950, 0x00000000);
  2016. nv_mthd(dev, 0xa097, 0x1968, 0x00000000);
  2017. nv_mthd(dev, 0xa097, 0x1590, 0x0000003f);
  2018. nv_mthd(dev, 0xa097, 0x07e8, 0x00000000);
  2019. nv_mthd(dev, 0xa097, 0x07ec, 0x00000000);
  2020. nv_mthd(dev, 0xa097, 0x07f0, 0x00000000);
  2021. nv_mthd(dev, 0xa097, 0x07f4, 0x00000000);
  2022. nv_mthd(dev, 0xa097, 0x196c, 0x00000011);
  2023. nv_mthd(dev, 0xa097, 0x02e4, 0x0000b001);
  2024. nv_mthd(dev, 0xa097, 0x036c, 0x00000000);
  2025. nv_mthd(dev, 0xa097, 0x0370, 0x00000000);
  2026. nv_mthd(dev, 0xa097, 0x197c, 0x00000000);
  2027. nv_mthd(dev, 0xa097, 0x0fcc, 0x00000000);
  2028. nv_mthd(dev, 0xa097, 0x0fd0, 0x00000000);
  2029. nv_mthd(dev, 0xa097, 0x02d8, 0x00000040);
  2030. nv_mthd(dev, 0xa097, 0x1980, 0x00000080);
  2031. nv_mthd(dev, 0xa097, 0x1504, 0x00000080);
  2032. nv_mthd(dev, 0xa097, 0x1984, 0x00000000);
  2033. nv_mthd(dev, 0xa097, 0x0300, 0x00000001);
  2034. nv_mthd(dev, 0xa097, 0x13a8, 0x00000000);
  2035. nv_mthd(dev, 0xa097, 0x12ec, 0x00000000);
  2036. nv_mthd(dev, 0xa097, 0x1310, 0x00000000);
  2037. nv_mthd(dev, 0xa097, 0x1314, 0x00000001);
  2038. nv_mthd(dev, 0xa097, 0x1380, 0x00000000);
  2039. nv_mthd(dev, 0xa097, 0x1384, 0x00000001);
  2040. nv_mthd(dev, 0xa097, 0x1388, 0x00000001);
  2041. nv_mthd(dev, 0xa097, 0x138c, 0x00000001);
  2042. nv_mthd(dev, 0xa097, 0x1390, 0x00000001);
  2043. nv_mthd(dev, 0xa097, 0x1394, 0x00000000);
  2044. nv_mthd(dev, 0xa097, 0x139c, 0x00000000);
  2045. nv_mthd(dev, 0xa097, 0x1398, 0x00000000);
  2046. nv_mthd(dev, 0xa097, 0x1594, 0x00000000);
  2047. nv_mthd(dev, 0xa097, 0x1598, 0x00000001);
  2048. nv_mthd(dev, 0xa097, 0x159c, 0x00000001);
  2049. nv_mthd(dev, 0xa097, 0x15a0, 0x00000001);
  2050. nv_mthd(dev, 0xa097, 0x15a4, 0x00000001);
  2051. nv_mthd(dev, 0xa097, 0x0f54, 0x00000000);
  2052. nv_mthd(dev, 0xa097, 0x0f58, 0x00000000);
  2053. nv_mthd(dev, 0xa097, 0x0f5c, 0x00000000);
  2054. nv_mthd(dev, 0xa097, 0x19bc, 0x00000000);
  2055. nv_mthd(dev, 0xa097, 0x0f9c, 0x00000000);
  2056. nv_mthd(dev, 0xa097, 0x0fa0, 0x00000000);
  2057. nv_mthd(dev, 0xa097, 0x12cc, 0x00000000);
  2058. nv_mthd(dev, 0xa097, 0x12e8, 0x00000000);
  2059. nv_mthd(dev, 0xa097, 0x130c, 0x00000001);
  2060. nv_mthd(dev, 0xa097, 0x1360, 0x00000000);
  2061. nv_mthd(dev, 0xa097, 0x1364, 0x00000000);
  2062. nv_mthd(dev, 0xa097, 0x1368, 0x00000000);
  2063. nv_mthd(dev, 0xa097, 0x136c, 0x00000000);
  2064. nv_mthd(dev, 0xa097, 0x1370, 0x00000000);
  2065. nv_mthd(dev, 0xa097, 0x1374, 0x00000000);
  2066. nv_mthd(dev, 0xa097, 0x1378, 0x00000000);
  2067. nv_mthd(dev, 0xa097, 0x137c, 0x00000000);
  2068. nv_mthd(dev, 0xa097, 0x133c, 0x00000001);
  2069. nv_mthd(dev, 0xa097, 0x1340, 0x00000001);
  2070. nv_mthd(dev, 0xa097, 0x1344, 0x00000002);
  2071. nv_mthd(dev, 0xa097, 0x1348, 0x00000001);
  2072. nv_mthd(dev, 0xa097, 0x134c, 0x00000001);
  2073. nv_mthd(dev, 0xa097, 0x1350, 0x00000002);
  2074. nv_mthd(dev, 0xa097, 0x1358, 0x00000001);
  2075. nv_mthd(dev, 0xa097, 0x12e4, 0x00000000);
  2076. nv_mthd(dev, 0xa097, 0x131c, 0x00000000);
  2077. nv_mthd(dev, 0xa097, 0x1320, 0x00000000);
  2078. nv_mthd(dev, 0xa097, 0x1324, 0x00000000);
  2079. nv_mthd(dev, 0xa097, 0x1328, 0x00000000);
  2080. nv_mthd(dev, 0xa097, 0x19c0, 0x00000000);
  2081. nv_mthd(dev, 0xa097, 0x1140, 0x00000000);
  2082. nv_mthd(dev, 0xa097, 0x19c4, 0x00000000);
  2083. nv_mthd(dev, 0xa097, 0x19c8, 0x00001500);
  2084. nv_mthd(dev, 0xa097, 0x135c, 0x00000000);
  2085. nv_mthd(dev, 0xa097, 0x0f90, 0x00000000);
  2086. nv_mthd(dev, 0xa097, 0x19e0, 0x00000001);
  2087. nv_mthd(dev, 0xa097, 0x19e4, 0x00000001);
  2088. nv_mthd(dev, 0xa097, 0x19e8, 0x00000001);
  2089. nv_mthd(dev, 0xa097, 0x19ec, 0x00000001);
  2090. nv_mthd(dev, 0xa097, 0x19f0, 0x00000001);
  2091. nv_mthd(dev, 0xa097, 0x19f4, 0x00000001);
  2092. nv_mthd(dev, 0xa097, 0x19f8, 0x00000001);
  2093. nv_mthd(dev, 0xa097, 0x19fc, 0x00000001);
  2094. nv_mthd(dev, 0xa097, 0x19cc, 0x00000001);
  2095. nv_mthd(dev, 0xa097, 0x15b8, 0x00000000);
  2096. nv_mthd(dev, 0xa097, 0x1a00, 0x00001111);
  2097. nv_mthd(dev, 0xa097, 0x1a04, 0x00000000);
  2098. nv_mthd(dev, 0xa097, 0x1a08, 0x00000000);
  2099. nv_mthd(dev, 0xa097, 0x1a0c, 0x00000000);
  2100. nv_mthd(dev, 0xa097, 0x1a10, 0x00000000);
  2101. nv_mthd(dev, 0xa097, 0x1a14, 0x00000000);
  2102. nv_mthd(dev, 0xa097, 0x1a18, 0x00000000);
  2103. nv_mthd(dev, 0xa097, 0x1a1c, 0x00000000);
  2104. nv_mthd(dev, 0xa097, 0x0d6c, 0xffff0000);
  2105. nv_mthd(dev, 0xa097, 0x0d70, 0xffff0000);
  2106. nv_mthd(dev, 0xa097, 0x10f8, 0x00001010);
  2107. nv_mthd(dev, 0xa097, 0x0d80, 0x00000000);
  2108. nv_mthd(dev, 0xa097, 0x0d84, 0x00000000);
  2109. nv_mthd(dev, 0xa097, 0x0d88, 0x00000000);
  2110. nv_mthd(dev, 0xa097, 0x0d8c, 0x00000000);
  2111. nv_mthd(dev, 0xa097, 0x0d90, 0x00000000);
  2112. nv_mthd(dev, 0xa097, 0x0da0, 0x00000000);
  2113. nv_mthd(dev, 0xa097, 0x07a4, 0x00000000);
  2114. nv_mthd(dev, 0xa097, 0x07a8, 0x00000000);
  2115. nv_mthd(dev, 0xa097, 0x1508, 0x80000000);
  2116. nv_mthd(dev, 0xa097, 0x150c, 0x40000000);
  2117. nv_mthd(dev, 0xa097, 0x1668, 0x00000000);
  2118. nv_mthd(dev, 0xa097, 0x0318, 0x00000008);
  2119. nv_mthd(dev, 0xa097, 0x031c, 0x00000008);
  2120. nv_mthd(dev, 0xa097, 0x0d9c, 0x00000001);
  2121. nv_mthd(dev, 0xa097, 0x0374, 0x00000000);
  2122. nv_mthd(dev, 0xa097, 0x0378, 0x00000020);
  2123. nv_mthd(dev, 0xa097, 0x07dc, 0x00000000);
  2124. nv_mthd(dev, 0xa097, 0x074c, 0x00000055);
  2125. nv_mthd(dev, 0xa097, 0x1420, 0x00000003);
  2126. nv_mthd(dev, 0xa097, 0x17bc, 0x00000000);
  2127. nv_mthd(dev, 0xa097, 0x17c0, 0x00000000);
  2128. nv_mthd(dev, 0xa097, 0x17c4, 0x00000001);
  2129. nv_mthd(dev, 0xa097, 0x1008, 0x00000008);
  2130. nv_mthd(dev, 0xa097, 0x100c, 0x00000040);
  2131. nv_mthd(dev, 0xa097, 0x1010, 0x0000012c);
  2132. nv_mthd(dev, 0xa097, 0x0d60, 0x00000040);
  2133. nv_mthd(dev, 0xa097, 0x075c, 0x00000003);
  2134. nv_mthd(dev, 0xa097, 0x1018, 0x00000020);
  2135. nv_mthd(dev, 0xa097, 0x101c, 0x00000001);
  2136. nv_mthd(dev, 0xa097, 0x1020, 0x00000020);
  2137. nv_mthd(dev, 0xa097, 0x1024, 0x00000001);
  2138. nv_mthd(dev, 0xa097, 0x1444, 0x00000000);
  2139. nv_mthd(dev, 0xa097, 0x1448, 0x00000000);
  2140. nv_mthd(dev, 0xa097, 0x144c, 0x00000000);
  2141. nv_mthd(dev, 0xa097, 0x0360, 0x20164010);
  2142. nv_mthd(dev, 0xa097, 0x0364, 0x00000020);
  2143. nv_mthd(dev, 0xa097, 0x0368, 0x00000000);
  2144. nv_mthd(dev, 0xa097, 0x0de4, 0x00000000);
  2145. nv_mthd(dev, 0xa097, 0x0204, 0x00000006);
  2146. nv_mthd(dev, 0xa097, 0x0208, 0x00000000);
  2147. nv_mthd(dev, 0xa097, 0x02cc, 0x003fffff);
  2148. nv_mthd(dev, 0xa097, 0x02d0, 0x003fffff);
  2149. nv_mthd(dev, 0xa097, 0x1220, 0x00000005);
  2150. nv_mthd(dev, 0xa097, 0x0fdc, 0x00000000);
  2151. nv_mthd(dev, 0xa097, 0x0f98, 0x00400008);
  2152. nv_mthd(dev, 0xa097, 0x1284, 0x08000080);
  2153. nv_mthd(dev, 0xa097, 0x1450, 0x00400008);
  2154. nv_mthd(dev, 0xa097, 0x1454, 0x08000080);
  2155. nv_mthd(dev, 0xa097, 0x0214, 0x00000000);
  2156. }
  2157. static void
  2158. nve0_grctx_generate_902d(struct drm_device *dev)
  2159. {
  2160. nv_mthd(dev, 0x902d, 0x0200, 0x000000cf);
  2161. nv_mthd(dev, 0x902d, 0x0204, 0x00000001);
  2162. nv_mthd(dev, 0x902d, 0x0208, 0x00000020);
  2163. nv_mthd(dev, 0x902d, 0x020c, 0x00000001);
  2164. nv_mthd(dev, 0x902d, 0x0210, 0x00000000);
  2165. nv_mthd(dev, 0x902d, 0x0214, 0x00000080);
  2166. nv_mthd(dev, 0x902d, 0x0218, 0x00000100);
  2167. nv_mthd(dev, 0x902d, 0x021c, 0x00000100);
  2168. nv_mthd(dev, 0x902d, 0x0220, 0x00000000);
  2169. nv_mthd(dev, 0x902d, 0x0224, 0x00000000);
  2170. nv_mthd(dev, 0x902d, 0x0230, 0x000000cf);
  2171. nv_mthd(dev, 0x902d, 0x0234, 0x00000001);
  2172. nv_mthd(dev, 0x902d, 0x0238, 0x00000020);
  2173. nv_mthd(dev, 0x902d, 0x023c, 0x00000001);
  2174. nv_mthd(dev, 0x902d, 0x0244, 0x00000080);
  2175. nv_mthd(dev, 0x902d, 0x0248, 0x00000100);
  2176. nv_mthd(dev, 0x902d, 0x024c, 0x00000100);
  2177. nv_mthd(dev, 0x902d, 0x3410, 0x00000000);
  2178. }
  2179. static void
  2180. nve0_graph_generate_unk40xx(struct drm_device *dev)
  2181. {
  2182. nv_wr32(dev, 0x404010, 0x0);
  2183. nv_wr32(dev, 0x404014, 0x0);
  2184. nv_wr32(dev, 0x404018, 0x0);
  2185. nv_wr32(dev, 0x40401c, 0x0);
  2186. nv_wr32(dev, 0x404020, 0x0);
  2187. nv_wr32(dev, 0x404024, 0xe000);
  2188. nv_wr32(dev, 0x404028, 0x0);
  2189. nv_wr32(dev, 0x4040a8, 0x0);
  2190. nv_wr32(dev, 0x4040ac, 0x0);
  2191. nv_wr32(dev, 0x4040b0, 0x0);
  2192. nv_wr32(dev, 0x4040b4, 0x0);
  2193. nv_wr32(dev, 0x4040b8, 0x0);
  2194. nv_wr32(dev, 0x4040bc, 0x0);
  2195. nv_wr32(dev, 0x4040c0, 0x0);
  2196. nv_wr32(dev, 0x4040c4, 0x0);
  2197. nv_wr32(dev, 0x4040c8, 0xf800008f);
  2198. nv_wr32(dev, 0x4040d0, 0x0);
  2199. nv_wr32(dev, 0x4040d4, 0x0);
  2200. nv_wr32(dev, 0x4040d8, 0x0);
  2201. nv_wr32(dev, 0x4040dc, 0x0);
  2202. nv_wr32(dev, 0x4040e0, 0x0);
  2203. nv_wr32(dev, 0x4040e4, 0x0);
  2204. nv_wr32(dev, 0x4040e8, 0x1000);
  2205. nv_wr32(dev, 0x4040f8, 0x0);
  2206. nv_wr32(dev, 0x404130, 0x0);
  2207. nv_wr32(dev, 0x404134, 0x0);
  2208. nv_wr32(dev, 0x404138, 0x20000040);
  2209. nv_wr32(dev, 0x404150, 0x2e);
  2210. nv_wr32(dev, 0x404154, 0x400);
  2211. nv_wr32(dev, 0x404158, 0x200);
  2212. nv_wr32(dev, 0x404164, 0x55);
  2213. nv_wr32(dev, 0x4041a0, 0x0);
  2214. nv_wr32(dev, 0x4041a4, 0x0);
  2215. nv_wr32(dev, 0x4041a8, 0x0);
  2216. nv_wr32(dev, 0x4041ac, 0x0);
  2217. nv_wr32(dev, 0x404200, 0x0);
  2218. nv_wr32(dev, 0x404204, 0x0);
  2219. nv_wr32(dev, 0x404208, 0x0);
  2220. nv_wr32(dev, 0x40420c, 0x0);
  2221. }
  2222. static void
  2223. nve0_graph_generate_unk44xx(struct drm_device *dev)
  2224. {
  2225. nv_wr32(dev, 0x404404, 0x0);
  2226. nv_wr32(dev, 0x404408, 0x0);
  2227. nv_wr32(dev, 0x40440c, 0x0);
  2228. nv_wr32(dev, 0x404410, 0x0);
  2229. nv_wr32(dev, 0x404414, 0x0);
  2230. nv_wr32(dev, 0x404418, 0x0);
  2231. nv_wr32(dev, 0x40441c, 0x0);
  2232. nv_wr32(dev, 0x404420, 0x0);
  2233. nv_wr32(dev, 0x404424, 0x0);
  2234. nv_wr32(dev, 0x404428, 0x0);
  2235. nv_wr32(dev, 0x40442c, 0x0);
  2236. nv_wr32(dev, 0x404430, 0x0);
  2237. nv_wr32(dev, 0x404434, 0x0);
  2238. nv_wr32(dev, 0x404438, 0x0);
  2239. nv_wr32(dev, 0x404460, 0x0);
  2240. nv_wr32(dev, 0x404464, 0x0);
  2241. nv_wr32(dev, 0x404468, 0xffffff);
  2242. nv_wr32(dev, 0x40446c, 0x0);
  2243. nv_wr32(dev, 0x404480, 0x1);
  2244. nv_wr32(dev, 0x404498, 0x1);
  2245. }
  2246. static void
  2247. nve0_graph_generate_unk46xx(struct drm_device *dev)
  2248. {
  2249. nv_wr32(dev, 0x404604, 0x14);
  2250. nv_wr32(dev, 0x404608, 0x0);
  2251. nv_wr32(dev, 0x40460c, 0x3fff);
  2252. nv_wr32(dev, 0x404610, 0x100);
  2253. nv_wr32(dev, 0x404618, 0x0);
  2254. nv_wr32(dev, 0x40461c, 0x0);
  2255. nv_wr32(dev, 0x404620, 0x0);
  2256. nv_wr32(dev, 0x404624, 0x0);
  2257. nv_wr32(dev, 0x40462c, 0x0);
  2258. nv_wr32(dev, 0x404630, 0x0);
  2259. nv_wr32(dev, 0x404640, 0x0);
  2260. nv_wr32(dev, 0x404654, 0x0);
  2261. nv_wr32(dev, 0x404660, 0x0);
  2262. nv_wr32(dev, 0x404678, 0x0);
  2263. nv_wr32(dev, 0x40467c, 0x2);
  2264. nv_wr32(dev, 0x404680, 0x0);
  2265. nv_wr32(dev, 0x404684, 0x0);
  2266. nv_wr32(dev, 0x404688, 0x0);
  2267. nv_wr32(dev, 0x40468c, 0x0);
  2268. nv_wr32(dev, 0x404690, 0x0);
  2269. nv_wr32(dev, 0x404694, 0x0);
  2270. nv_wr32(dev, 0x404698, 0x0);
  2271. nv_wr32(dev, 0x40469c, 0x0);
  2272. nv_wr32(dev, 0x4046a0, 0x7f0080);
  2273. nv_wr32(dev, 0x4046a4, 0x0);
  2274. nv_wr32(dev, 0x4046a8, 0x0);
  2275. nv_wr32(dev, 0x4046ac, 0x0);
  2276. nv_wr32(dev, 0x4046b0, 0x0);
  2277. nv_wr32(dev, 0x4046b4, 0x0);
  2278. nv_wr32(dev, 0x4046b8, 0x0);
  2279. nv_wr32(dev, 0x4046bc, 0x0);
  2280. nv_wr32(dev, 0x4046c0, 0x0);
  2281. nv_wr32(dev, 0x4046c8, 0x0);
  2282. nv_wr32(dev, 0x4046cc, 0x0);
  2283. nv_wr32(dev, 0x4046d0, 0x0);
  2284. }
  2285. static void
  2286. nve0_graph_generate_unk47xx(struct drm_device *dev)
  2287. {
  2288. nv_wr32(dev, 0x404700, 0x0);
  2289. nv_wr32(dev, 0x404704, 0x0);
  2290. nv_wr32(dev, 0x404708, 0x0);
  2291. nv_wr32(dev, 0x404718, 0x0);
  2292. nv_wr32(dev, 0x40471c, 0x0);
  2293. nv_wr32(dev, 0x404720, 0x0);
  2294. nv_wr32(dev, 0x404724, 0x0);
  2295. nv_wr32(dev, 0x404728, 0x0);
  2296. nv_wr32(dev, 0x40472c, 0x0);
  2297. nv_wr32(dev, 0x404730, 0x0);
  2298. nv_wr32(dev, 0x404734, 0x100);
  2299. nv_wr32(dev, 0x404738, 0x0);
  2300. nv_wr32(dev, 0x40473c, 0x0);
  2301. nv_wr32(dev, 0x404744, 0x0);
  2302. nv_wr32(dev, 0x404748, 0x0);
  2303. nv_wr32(dev, 0x404754, 0x0);
  2304. }
  2305. static void
  2306. nve0_graph_generate_unk58xx(struct drm_device *dev)
  2307. {
  2308. nv_wr32(dev, 0x405800, 0xf8000bf);
  2309. nv_wr32(dev, 0x405830, 0x2180648);
  2310. nv_wr32(dev, 0x405834, 0x8000000);
  2311. nv_wr32(dev, 0x405838, 0x0);
  2312. nv_wr32(dev, 0x405854, 0x0);
  2313. nv_wr32(dev, 0x405870, 0x1);
  2314. nv_wr32(dev, 0x405874, 0x1);
  2315. nv_wr32(dev, 0x405878, 0x1);
  2316. nv_wr32(dev, 0x40587c, 0x1);
  2317. nv_wr32(dev, 0x405a00, 0x0);
  2318. nv_wr32(dev, 0x405a04, 0x0);
  2319. nv_wr32(dev, 0x405a18, 0x0);
  2320. nv_wr32(dev, 0x405b00, 0x0);
  2321. nv_wr32(dev, 0x405b10, 0x1000);
  2322. }
  2323. static void
  2324. nve0_graph_generate_unk60xx(struct drm_device *dev)
  2325. {
  2326. nv_wr32(dev, 0x406020, 0x4103c1);
  2327. nv_wr32(dev, 0x406028, 0x1);
  2328. nv_wr32(dev, 0x40602c, 0x1);
  2329. nv_wr32(dev, 0x406030, 0x1);
  2330. nv_wr32(dev, 0x406034, 0x1);
  2331. }
  2332. static void
  2333. nve0_graph_generate_unk64xx(struct drm_device *dev)
  2334. {
  2335. nv_wr32(dev, 0x4064a8, 0x0);
  2336. nv_wr32(dev, 0x4064ac, 0x3fff);
  2337. nv_wr32(dev, 0x4064b4, 0x0);
  2338. nv_wr32(dev, 0x4064b8, 0x0);
  2339. nv_wr32(dev, 0x4064c0, 0x801a00f0);
  2340. nv_wr32(dev, 0x4064c4, 0x192ffff);
  2341. nv_wr32(dev, 0x4064c8, 0x1800600);
  2342. nv_wr32(dev, 0x4064cc, 0x0);
  2343. nv_wr32(dev, 0x4064d0, 0x0);
  2344. nv_wr32(dev, 0x4064d4, 0x0);
  2345. nv_wr32(dev, 0x4064d8, 0x0);
  2346. nv_wr32(dev, 0x4064dc, 0x0);
  2347. nv_wr32(dev, 0x4064e0, 0x0);
  2348. nv_wr32(dev, 0x4064e4, 0x0);
  2349. nv_wr32(dev, 0x4064e8, 0x0);
  2350. nv_wr32(dev, 0x4064ec, 0x0);
  2351. nv_wr32(dev, 0x4064fc, 0x22a);
  2352. }
  2353. static void
  2354. nve0_graph_generate_unk70xx(struct drm_device *dev)
  2355. {
  2356. nv_wr32(dev, 0x407040, 0x0);
  2357. }
  2358. static void
  2359. nve0_graph_generate_unk78xx(struct drm_device *dev)
  2360. {
  2361. nv_wr32(dev, 0x407804, 0x23);
  2362. nv_wr32(dev, 0x40780c, 0xa418820);
  2363. nv_wr32(dev, 0x407810, 0x62080e6);
  2364. nv_wr32(dev, 0x407814, 0x20398a4);
  2365. nv_wr32(dev, 0x407818, 0xe629062);
  2366. nv_wr32(dev, 0x40781c, 0xa418820);
  2367. nv_wr32(dev, 0x407820, 0xe6);
  2368. nv_wr32(dev, 0x4078bc, 0x103);
  2369. }
  2370. static void
  2371. nve0_graph_generate_unk80xx(struct drm_device *dev)
  2372. {
  2373. nv_wr32(dev, 0x408000, 0x0);
  2374. nv_wr32(dev, 0x408004, 0x0);
  2375. nv_wr32(dev, 0x408008, 0x30);
  2376. nv_wr32(dev, 0x40800c, 0x0);
  2377. nv_wr32(dev, 0x408010, 0x0);
  2378. nv_wr32(dev, 0x408014, 0x69);
  2379. nv_wr32(dev, 0x408018, 0xe100e100);
  2380. nv_wr32(dev, 0x408064, 0x0);
  2381. }
  2382. static void
  2383. nve0_graph_generate_unk88xx(struct drm_device *dev)
  2384. {
  2385. nv_wr32(dev, 0x408800, 0x2802a3c);
  2386. nv_wr32(dev, 0x408804, 0x40);
  2387. nv_wr32(dev, 0x408808, 0x1043e005);
  2388. nv_wr32(dev, 0x408840, 0xb);
  2389. nv_wr32(dev, 0x408900, 0x3080b801);
  2390. nv_wr32(dev, 0x408904, 0x62000001);
  2391. nv_wr32(dev, 0x408908, 0xc8102f);
  2392. nv_wr32(dev, 0x408980, 0x11d);
  2393. }
  2394. static void
  2395. nve0_graph_generate_gpc(struct drm_device *dev)
  2396. {
  2397. nv_wr32(dev, 0x418380, 0x16);
  2398. nv_wr32(dev, 0x418400, 0x38004e00);
  2399. nv_wr32(dev, 0x418404, 0x71e0ffff);
  2400. nv_wr32(dev, 0x41840c, 0x1008);
  2401. nv_wr32(dev, 0x418410, 0xfff0fff);
  2402. nv_wr32(dev, 0x418414, 0x2200fff);
  2403. nv_wr32(dev, 0x418450, 0x0);
  2404. nv_wr32(dev, 0x418454, 0x0);
  2405. nv_wr32(dev, 0x418458, 0x0);
  2406. nv_wr32(dev, 0x41845c, 0x0);
  2407. nv_wr32(dev, 0x418460, 0x0);
  2408. nv_wr32(dev, 0x418464, 0x0);
  2409. nv_wr32(dev, 0x418468, 0x1);
  2410. nv_wr32(dev, 0x41846c, 0x0);
  2411. nv_wr32(dev, 0x418470, 0x0);
  2412. nv_wr32(dev, 0x418600, 0x1f);
  2413. nv_wr32(dev, 0x418684, 0xf);
  2414. nv_wr32(dev, 0x418700, 0x2);
  2415. nv_wr32(dev, 0x418704, 0x80);
  2416. nv_wr32(dev, 0x418708, 0x0);
  2417. nv_wr32(dev, 0x41870c, 0x0);
  2418. nv_wr32(dev, 0x418710, 0x0);
  2419. nv_wr32(dev, 0x418800, 0x7006860a);
  2420. nv_wr32(dev, 0x418808, 0x0);
  2421. nv_wr32(dev, 0x41880c, 0x0);
  2422. nv_wr32(dev, 0x418810, 0x0);
  2423. nv_wr32(dev, 0x418828, 0x44);
  2424. nv_wr32(dev, 0x418830, 0x10000001);
  2425. nv_wr32(dev, 0x4188d8, 0x8);
  2426. nv_wr32(dev, 0x4188e0, 0x1000000);
  2427. nv_wr32(dev, 0x4188e8, 0x0);
  2428. nv_wr32(dev, 0x4188ec, 0x0);
  2429. nv_wr32(dev, 0x4188f0, 0x0);
  2430. nv_wr32(dev, 0x4188f4, 0x0);
  2431. nv_wr32(dev, 0x4188f8, 0x0);
  2432. nv_wr32(dev, 0x4188fc, 0x20100018);
  2433. nv_wr32(dev, 0x41891c, 0xff00ff);
  2434. nv_wr32(dev, 0x418924, 0x0);
  2435. nv_wr32(dev, 0x418928, 0xffff00);
  2436. nv_wr32(dev, 0x41892c, 0xff00);
  2437. nv_wr32(dev, 0x418a00, 0x0);
  2438. nv_wr32(dev, 0x418a04, 0x0);
  2439. nv_wr32(dev, 0x418a08, 0x0);
  2440. nv_wr32(dev, 0x418a0c, 0x10000);
  2441. nv_wr32(dev, 0x418a10, 0x0);
  2442. nv_wr32(dev, 0x418a14, 0x0);
  2443. nv_wr32(dev, 0x418a18, 0x0);
  2444. nv_wr32(dev, 0x418a20, 0x0);
  2445. nv_wr32(dev, 0x418a24, 0x0);
  2446. nv_wr32(dev, 0x418a28, 0x0);
  2447. nv_wr32(dev, 0x418a2c, 0x10000);
  2448. nv_wr32(dev, 0x418a30, 0x0);
  2449. nv_wr32(dev, 0x418a34, 0x0);
  2450. nv_wr32(dev, 0x418a38, 0x0);
  2451. nv_wr32(dev, 0x418a40, 0x0);
  2452. nv_wr32(dev, 0x418a44, 0x0);
  2453. nv_wr32(dev, 0x418a48, 0x0);
  2454. nv_wr32(dev, 0x418a4c, 0x10000);
  2455. nv_wr32(dev, 0x418a50, 0x0);
  2456. nv_wr32(dev, 0x418a54, 0x0);
  2457. nv_wr32(dev, 0x418a58, 0x0);
  2458. nv_wr32(dev, 0x418a60, 0x0);
  2459. nv_wr32(dev, 0x418a64, 0x0);
  2460. nv_wr32(dev, 0x418a68, 0x0);
  2461. nv_wr32(dev, 0x418a6c, 0x10000);
  2462. nv_wr32(dev, 0x418a70, 0x0);
  2463. nv_wr32(dev, 0x418a74, 0x0);
  2464. nv_wr32(dev, 0x418a78, 0x0);
  2465. nv_wr32(dev, 0x418a80, 0x0);
  2466. nv_wr32(dev, 0x418a84, 0x0);
  2467. nv_wr32(dev, 0x418a88, 0x0);
  2468. nv_wr32(dev, 0x418a8c, 0x10000);
  2469. nv_wr32(dev, 0x418a90, 0x0);
  2470. nv_wr32(dev, 0x418a94, 0x0);
  2471. nv_wr32(dev, 0x418a98, 0x0);
  2472. nv_wr32(dev, 0x418aa0, 0x0);
  2473. nv_wr32(dev, 0x418aa4, 0x0);
  2474. nv_wr32(dev, 0x418aa8, 0x0);
  2475. nv_wr32(dev, 0x418aac, 0x10000);
  2476. nv_wr32(dev, 0x418ab0, 0x0);
  2477. nv_wr32(dev, 0x418ab4, 0x0);
  2478. nv_wr32(dev, 0x418ab8, 0x0);
  2479. nv_wr32(dev, 0x418ac0, 0x0);
  2480. nv_wr32(dev, 0x418ac4, 0x0);
  2481. nv_wr32(dev, 0x418ac8, 0x0);
  2482. nv_wr32(dev, 0x418acc, 0x10000);
  2483. nv_wr32(dev, 0x418ad0, 0x0);
  2484. nv_wr32(dev, 0x418ad4, 0x0);
  2485. nv_wr32(dev, 0x418ad8, 0x0);
  2486. nv_wr32(dev, 0x418ae0, 0x0);
  2487. nv_wr32(dev, 0x418ae4, 0x0);
  2488. nv_wr32(dev, 0x418ae8, 0x0);
  2489. nv_wr32(dev, 0x418aec, 0x10000);
  2490. nv_wr32(dev, 0x418af0, 0x0);
  2491. nv_wr32(dev, 0x418af4, 0x0);
  2492. nv_wr32(dev, 0x418af8, 0x0);
  2493. nv_wr32(dev, 0x418b00, 0x6);
  2494. nv_wr32(dev, 0x418b08, 0xa418820);
  2495. nv_wr32(dev, 0x418b0c, 0x62080e6);
  2496. nv_wr32(dev, 0x418b10, 0x20398a4);
  2497. nv_wr32(dev, 0x418b14, 0xe629062);
  2498. nv_wr32(dev, 0x418b18, 0xa418820);
  2499. nv_wr32(dev, 0x418b1c, 0xe6);
  2500. nv_wr32(dev, 0x418bb8, 0x103);
  2501. nv_wr32(dev, 0x418c08, 0x1);
  2502. nv_wr32(dev, 0x418c10, 0x0);
  2503. nv_wr32(dev, 0x418c14, 0x0);
  2504. nv_wr32(dev, 0x418c18, 0x0);
  2505. nv_wr32(dev, 0x418c1c, 0x0);
  2506. nv_wr32(dev, 0x418c20, 0x0);
  2507. nv_wr32(dev, 0x418c24, 0x0);
  2508. nv_wr32(dev, 0x418c28, 0x0);
  2509. nv_wr32(dev, 0x418c2c, 0x0);
  2510. nv_wr32(dev, 0x418c40, 0xffffffff);
  2511. nv_wr32(dev, 0x418c6c, 0x1);
  2512. nv_wr32(dev, 0x418c80, 0x20200004);
  2513. nv_wr32(dev, 0x418c8c, 0x1);
  2514. nv_wr32(dev, 0x419000, 0x780);
  2515. nv_wr32(dev, 0x419004, 0x0);
  2516. nv_wr32(dev, 0x419008, 0x0);
  2517. nv_wr32(dev, 0x419014, 0x4);
  2518. }
  2519. static void
  2520. nve0_graph_generate_tpc(struct drm_device *dev)
  2521. {
  2522. nv_wr32(dev, 0x419848, 0x0);
  2523. nv_wr32(dev, 0x419864, 0x129);
  2524. nv_wr32(dev, 0x419888, 0x0);
  2525. nv_wr32(dev, 0x419a00, 0xf0);
  2526. nv_wr32(dev, 0x419a04, 0x1);
  2527. nv_wr32(dev, 0x419a08, 0x21);
  2528. nv_wr32(dev, 0x419a0c, 0x20000);
  2529. nv_wr32(dev, 0x419a10, 0x0);
  2530. nv_wr32(dev, 0x419a14, 0x200);
  2531. nv_wr32(dev, 0x419a1c, 0xc000);
  2532. nv_wr32(dev, 0x419a20, 0x800);
  2533. nv_wr32(dev, 0x419a30, 0x1);
  2534. nv_wr32(dev, 0x419ac4, 0x37f440);
  2535. nv_wr32(dev, 0x419c00, 0xa);
  2536. nv_wr32(dev, 0x419c04, 0x80000006);
  2537. nv_wr32(dev, 0x419c08, 0x2);
  2538. nv_wr32(dev, 0x419c20, 0x0);
  2539. nv_wr32(dev, 0x419c24, 0x84210);
  2540. nv_wr32(dev, 0x419c28, 0x3efbefbe);
  2541. nv_wr32(dev, 0x419ce8, 0x0);
  2542. nv_wr32(dev, 0x419cf4, 0x3203);
  2543. nv_wr32(dev, 0x419e04, 0x0);
  2544. nv_wr32(dev, 0x419e08, 0x0);
  2545. nv_wr32(dev, 0x419e0c, 0x0);
  2546. nv_wr32(dev, 0x419e10, 0x402);
  2547. nv_wr32(dev, 0x419e44, 0x13eff2);
  2548. nv_wr32(dev, 0x419e48, 0x0);
  2549. nv_wr32(dev, 0x419e4c, 0x7f);
  2550. nv_wr32(dev, 0x419e50, 0x0);
  2551. nv_wr32(dev, 0x419e54, 0x0);
  2552. nv_wr32(dev, 0x419e58, 0x0);
  2553. nv_wr32(dev, 0x419e5c, 0x0);
  2554. nv_wr32(dev, 0x419e60, 0x0);
  2555. nv_wr32(dev, 0x419e64, 0x0);
  2556. nv_wr32(dev, 0x419e68, 0x0);
  2557. nv_wr32(dev, 0x419e6c, 0x0);
  2558. nv_wr32(dev, 0x419e70, 0x0);
  2559. nv_wr32(dev, 0x419e74, 0x0);
  2560. nv_wr32(dev, 0x419e78, 0x0);
  2561. nv_wr32(dev, 0x419e7c, 0x0);
  2562. nv_wr32(dev, 0x419e80, 0x0);
  2563. nv_wr32(dev, 0x419e84, 0x0);
  2564. nv_wr32(dev, 0x419e88, 0x0);
  2565. nv_wr32(dev, 0x419e8c, 0x0);
  2566. nv_wr32(dev, 0x419e90, 0x0);
  2567. nv_wr32(dev, 0x419e94, 0x0);
  2568. nv_wr32(dev, 0x419e98, 0x0);
  2569. nv_wr32(dev, 0x419eac, 0x1fcf);
  2570. nv_wr32(dev, 0x419eb0, 0xd3f);
  2571. nv_wr32(dev, 0x419ec8, 0x1304f);
  2572. nv_wr32(dev, 0x419f30, 0x0);
  2573. nv_wr32(dev, 0x419f34, 0x0);
  2574. nv_wr32(dev, 0x419f38, 0x0);
  2575. nv_wr32(dev, 0x419f3c, 0x0);
  2576. nv_wr32(dev, 0x419f40, 0x0);
  2577. nv_wr32(dev, 0x419f44, 0x0);
  2578. nv_wr32(dev, 0x419f48, 0x0);
  2579. nv_wr32(dev, 0x419f4c, 0x0);
  2580. nv_wr32(dev, 0x419f58, 0x0);
  2581. nv_wr32(dev, 0x419f78, 0xb);
  2582. }
  2583. static void
  2584. nve0_graph_generate_tpcunk(struct drm_device *dev)
  2585. {
  2586. nv_wr32(dev, 0x41be24, 0x6);
  2587. nv_wr32(dev, 0x41bec0, 0x12180000);
  2588. nv_wr32(dev, 0x41bec4, 0x37f7f);
  2589. nv_wr32(dev, 0x41bee4, 0x6480430);
  2590. nv_wr32(dev, 0x41bf00, 0xa418820);
  2591. nv_wr32(dev, 0x41bf04, 0x62080e6);
  2592. nv_wr32(dev, 0x41bf08, 0x20398a4);
  2593. nv_wr32(dev, 0x41bf0c, 0xe629062);
  2594. nv_wr32(dev, 0x41bf10, 0xa418820);
  2595. nv_wr32(dev, 0x41bf14, 0xe6);
  2596. nv_wr32(dev, 0x41bfd0, 0x900103);
  2597. nv_wr32(dev, 0x41bfe0, 0x400001);
  2598. nv_wr32(dev, 0x41bfe4, 0x0);
  2599. }
  2600. int
  2601. nve0_grctx_generate(struct nouveau_channel *chan)
  2602. {
  2603. struct nve0_graph_priv *priv = nv_engine(chan->dev, NVOBJ_ENGINE_GR);
  2604. struct nve0_graph_chan *grch = chan->engctx[NVOBJ_ENGINE_GR];
  2605. struct drm_device *dev = chan->dev;
  2606. u32 data[6] = {}, data2[2] = {}, tmp;
  2607. u32 tpc_set = 0, tpc_mask = 0;
  2608. u8 tpcnr[GPC_MAX], a, b;
  2609. u8 shift, ntpcv;
  2610. int i, gpc, tpc, id;
  2611. nv_mask(dev, 0x000260, 0x00000001, 0x00000000);
  2612. nv_wr32(dev, 0x400204, 0x00000000);
  2613. nv_wr32(dev, 0x400208, 0x00000000);
  2614. nve0_graph_generate_unk40xx(dev);
  2615. nve0_graph_generate_unk44xx(dev);
  2616. nve0_graph_generate_unk46xx(dev);
  2617. nve0_graph_generate_unk47xx(dev);
  2618. nve0_graph_generate_unk58xx(dev);
  2619. nve0_graph_generate_unk60xx(dev);
  2620. nve0_graph_generate_unk64xx(dev);
  2621. nve0_graph_generate_unk70xx(dev);
  2622. nve0_graph_generate_unk78xx(dev);
  2623. nve0_graph_generate_unk80xx(dev);
  2624. nve0_graph_generate_unk88xx(dev);
  2625. nve0_graph_generate_gpc(dev);
  2626. nve0_graph_generate_tpc(dev);
  2627. nve0_graph_generate_tpcunk(dev);
  2628. nv_wr32(dev, 0x404154, 0x0);
  2629. for (i = 0; i < grch->mmio_nr * 8; i += 8) {
  2630. u32 reg = nv_ro32(grch->mmio, i + 0);
  2631. u32 val = nv_ro32(grch->mmio, i + 4);
  2632. nv_wr32(dev, reg, val);
  2633. }
  2634. nv_wr32(dev, 0x418c6c, 0x1);
  2635. nv_wr32(dev, 0x41980c, 0x10);
  2636. nv_wr32(dev, 0x41be08, 0x4);
  2637. nv_wr32(dev, 0x4064c0, 0x801a00f0);
  2638. nv_wr32(dev, 0x405800, 0xf8000bf);
  2639. nv_wr32(dev, 0x419c00, 0xa);
  2640. for (tpc = 0, id = 0; tpc < 4; tpc++) {
  2641. for (gpc = 0; gpc < priv->gpc_nr; gpc++) {
  2642. if (tpc < priv->tpc_nr[gpc]) {
  2643. nv_wr32(dev, TPC_UNIT(gpc, tpc, 0x0698), id);
  2644. nv_wr32(dev, TPC_UNIT(gpc, tpc, 0x04e8), id);
  2645. nv_wr32(dev, GPC_UNIT(gpc, 0x0c10 + tpc * 4), id);
  2646. nv_wr32(dev, TPC_UNIT(gpc, tpc, 0x0088), id++);
  2647. }
  2648. nv_wr32(dev, GPC_UNIT(gpc, 0x0c08), priv->tpc_nr[gpc]);
  2649. nv_wr32(dev, GPC_UNIT(gpc, 0x0c8c), priv->tpc_nr[gpc]);
  2650. }
  2651. }
  2652. tmp = 0;
  2653. for (i = 0; i < priv->gpc_nr; i++)
  2654. tmp |= priv->tpc_nr[i] << (i * 4);
  2655. nv_wr32(dev, 0x406028, tmp);
  2656. nv_wr32(dev, 0x405870, tmp);
  2657. nv_wr32(dev, 0x40602c, 0x0);
  2658. nv_wr32(dev, 0x405874, 0x0);
  2659. nv_wr32(dev, 0x406030, 0x0);
  2660. nv_wr32(dev, 0x405878, 0x0);
  2661. nv_wr32(dev, 0x406034, 0x0);
  2662. nv_wr32(dev, 0x40587c, 0x0);
  2663. /* calculate first set of magics */
  2664. memcpy(tpcnr, priv->tpc_nr, sizeof(priv->tpc_nr));
  2665. gpc = -1;
  2666. for (tpc = 0; tpc < priv->tpc_total; tpc++) {
  2667. do {
  2668. gpc = (gpc + 1) % priv->gpc_nr;
  2669. } while (!tpcnr[gpc]);
  2670. tpcnr[gpc]--;
  2671. data[tpc / 6] |= gpc << ((tpc % 6) * 5);
  2672. }
  2673. for (; tpc < 32; tpc++)
  2674. data[tpc / 6] |= 7 << ((tpc % 6) * 5);
  2675. /* and the second... */
  2676. shift = 0;
  2677. ntpcv = priv->tpc_total;
  2678. while (!(ntpcv & (1 << 4))) {
  2679. ntpcv <<= 1;
  2680. shift++;
  2681. }
  2682. data2[0] = ntpcv << 16;
  2683. data2[0] |= shift << 21;
  2684. data2[0] |= (((1 << (0 + 5)) % ntpcv) << 24);
  2685. data2[0] |= priv->tpc_total << 8;
  2686. data2[0] |= priv->magic_not_rop_nr;
  2687. for (i = 1; i < 7; i++)
  2688. data2[1] |= ((1 << (i + 5)) % ntpcv) << ((i - 1) * 5);
  2689. /* and write it all the various parts of PGRAPH */
  2690. nv_wr32(dev, 0x418bb8, (priv->tpc_total << 8) | priv->magic_not_rop_nr);
  2691. for (i = 0; i < 6; i++)
  2692. nv_wr32(dev, 0x418b08 + (i * 4), data[i]);
  2693. nv_wr32(dev, 0x41bfd0, data2[0]);
  2694. nv_wr32(dev, 0x41bfe4, data2[1]);
  2695. for (i = 0; i < 6; i++)
  2696. nv_wr32(dev, 0x41bf00 + (i * 4), data[i]);
  2697. nv_wr32(dev, 0x4078bc, (priv->tpc_total << 8) | priv->magic_not_rop_nr);
  2698. for (i = 0; i < 6; i++)
  2699. nv_wr32(dev, 0x40780c + (i * 4), data[i]);
  2700. memcpy(tpcnr, priv->tpc_nr, sizeof(priv->tpc_nr));
  2701. for (gpc = 0; gpc < priv->gpc_nr; gpc++)
  2702. tpc_mask |= ((1 << priv->tpc_nr[gpc]) - 1) << (gpc * 8);
  2703. for (i = 0, gpc = -1, b = -1; i < 32; i++) {
  2704. a = (i * (priv->tpc_total - 1)) / 32;
  2705. if (a != b) {
  2706. b = a;
  2707. do {
  2708. gpc = (gpc + 1) % priv->gpc_nr;
  2709. } while (!tpcnr[gpc]);
  2710. tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--;
  2711. tpc_set |= 1 << ((gpc * 8) + tpc);
  2712. }
  2713. nv_wr32(dev, 0x406800 + (i * 0x20), tpc_set);
  2714. nv_wr32(dev, 0x406c00 + (i * 0x20), tpc_set ^ tpc_mask);
  2715. }
  2716. for (i = 0; i < 8; i++)
  2717. nv_wr32(dev, 0x4064d0 + (i * 0x04), 0x00000000);
  2718. nv_wr32(dev, 0x405b00, 0x201);
  2719. nv_wr32(dev, 0x408850, 0x2);
  2720. nv_wr32(dev, 0x408958, 0x2);
  2721. nv_wr32(dev, 0x419f78, 0xa);
  2722. nve0_grctx_generate_icmd(dev);
  2723. nve0_grctx_generate_a097(dev);
  2724. nve0_grctx_generate_902d(dev);
  2725. nv_mask(dev, 0x000260, 0x00000001, 0x00000001);
  2726. nv_wr32(dev, 0x418800, 0x7026860a); //XXX
  2727. nv_wr32(dev, 0x41be10, 0x00bb8bc7); //XXX
  2728. return 0;
  2729. }