Rudolf Cornelissen
6072aa9f44
fixed PLL locking trouble on NV36 (confirmed) and problably more cards (NV31, NV40 and higher): those with extended PLL's.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 13:47:54 +00:00
Rudolf Cornelissen
ecaef637fa
added preliminary DPMS support for all panels (still in test)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 13:34:13 +00:00
Rudolf Cornelissen
36ad4411a8
added some comments about NV40 architecture. We have several new unknown factors:
...
- DAC2 always detects a analog screen connected;
- it seems like there are at least two new registers we don't know about. One extra switch to place output on connectors, and one (extra) switch for pixelclock PLL to CRTC connections (one PLL drives both CRTC's in some cases, pre-programmed by the card BIOS determined on the screen configuration found at power-up.
- in a known register (TSTCTRL) b20 blocks/moves output on connectors (?).
All confirmed on NV43, GeForce PCIe 6600GT.
Driver status:
- one DVI monitor connected is OK;
- one analog screen connected on the DB15 connector is OK,
- two analog screens connected is OK and can be used for dualhead.
other combinations don't work well or at all. This is the status confirmed on
the NV43. Assuming same for other cards of NV40 architecture.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-17 11:39:07 +00:00
Rudolf Cornelissen
d96acb0dde
more DMA related info, modified PLL type detection: all NV40+ have extended PLL's.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 15:09:11 +00:00
Rudolf Cornelissen
ff20b3ad82
fixed GeForce AGP/PCIe 6600 PLL trouble (refreshrate), added fifo assignment usage remark. Note that GeForce 6600 and 6800 have the acc and overlay engines still down. Apart from that, they work (if you try the code now, the driver will still hang though..)
...
Hope to fix these remaining issues soon..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-24 22:43:06 +00:00
Rudolf Cornelissen
ba383daddb
finalized driver for release 0.30
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 14:02:28 +00:00
Rudolf Cornelissen
b89d709767
extended ISA to PCI registeradress translation routine for coldstart stuff.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-25 12:31:21 +00:00
Rudolf Cornelissen
a8a71ed26a
added last type2 coldstart scriptcmd. Let's hope all cards now actually work...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-25 12:03:27 +00:00
Rudolf Cornelissen
7e74310a95
added another type2 coldstart scriptcmd. One more to go!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-25 10:19:41 +00:00
Rudolf Cornelissen
1168e5967f
updated some logging, added some comments (coldstart stuff)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-25 09:42:34 +00:00
Rudolf Cornelissen
647d4b1a6b
removed text typos
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 12:05:11 +00:00
Rudolf Cornelissen
4384699477
added recognition of another type2 scriptcmd. Not executing, just skipping: tricky to implement, and not used sofar anyway...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 11:53:57 +00:00
Rudolf Cornelissen
164cd8bcaa
added yet another type2 coldstart scriptcmd.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-24 11:27:05 +00:00
Rudolf Cornelissen
9d964556cc
added some PTIMER stuff for NV28, apparantly has no (speed) effects.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 16:41:54 +00:00
Rudolf Cornelissen
19cd95ff25
added noting actual set core and RAM speed in shared info for later use (if card is coldstarted)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-23 09:29:19 +00:00
Rudolf Cornelissen
c9ae7f9cc9
finally! NV28 up and running as secondary card over here: added some framebuffer access registerprogramming apparantly needed. Now all cards work as secondary card over here :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-22 20:50:30 +00:00
Rudolf Cornelissen
25b194b98f
removed PLL programming error: fixes at least NV28 core and RAM PLL programming, probably solves (coldstarting) trouble on more cards.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-21 10:45:56 +00:00
Rudolf Cornelissen
20d6c8266b
restored leaving AGP mode alone on coldstart script exec: removed forced AGP disable in script types #1 and #2 as that actually is prohibited the way it's done!
...
Note: this should restore coldstarts on all cards that worked before, NV28 still not OK, but it's finally coming (two more errors to remove).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 20:10:55 +00:00
Rudolf Cornelissen
b88fe980ef
updated AGP shutoff to be temporary during coldstarts: finally NV28 cooperates IF card is primary, fake_agp driver is installed and FW is enabled!! Apparantly something messes up PCI/AGP comms that does not get restored within the normal coldstart operating procedure. PCI mode is NOT operational when coldstarting(!)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-14 15:06:06 +00:00
Rudolf Cornelissen
c1a1413c4d
forcing PCI mode before coldstart exec: NV28 starts to show signs of life now... This might fix coldstart trouble on some cards outthere.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-14 12:59:40 +00:00
Rudolf Cornelissen
bf25ef8f47
logging updates
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-14 10:07:59 +00:00
Rudolf Cornelissen
a7df5c7c5b
added NV28 RAM init routine (coldstart stuff). Seems to work, although we still have another problem that's preventing correct RAM access (RAMIN).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-14 08:33:20 +00:00
Rudolf Cornelissen
e9a30e453e
modified type2 RAMsetup to use PCI instead of ISA access. Works. (I hope.)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-08 19:58:25 +00:00
Rudolf Cornelissen
ab3a9652a0
updated coldstart stuff once more. Fixed RAM amount detection/setup when cards are used as primary cards executing coldstart, still needs to be fixed when cards run as secondary card. NV28 is the only card not yet operational over here: probably needs different RAM setup somehow.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 13:58:35 +00:00
Rudolf Cornelissen
5bff191a01
trying to convert nv10+ RAM setup cmd from ISA to PCI access, also pre-NV10 converted (still untested).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 09:12:11 +00:00
Rudolf Cornelissen
f8930a8944
ISA->PCI conversion of coldstart script cmd's is operational sofar. Besides NV34 NV11 is working OK as secondary card now also!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 14:38:45 +00:00
Rudolf Cornelissen
c23a5cf39d
trying to convert the coldstart ISA accesses to PCI accesses, as the ISA access method relies on no other cards occupying the VGA ISA I/O adresses (i.e. a kernel driver for the primary card MUST be loaded that disables ISA I/O for that card ATM).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 14:09:42 +00:00
Rudolf Cornelissen
52e0509d97
added system PLL specific calc routine
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 11:30:45 +00:00
Rudolf Cornelissen
f8eb549d45
removed error introduced by previous commit.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 08:45:59 +00:00
Rudolf Cornelissen
2dc99a3a1f
finished type2 scriptcmd #$49.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 08:07:21 +00:00
Rudolf Cornelissen
2dab9bf0ef
added another type2 scriptcmd, logging not yet done. NV18 now reports OK status (not yet working as secondary card however..)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 19:18:32 +00:00
Rudolf Cornelissen
650765d20c
modified script PCI config space access: 'old' method doesn't work on NV11!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 13:01:02 +00:00
Rudolf Cornelissen
9ea0c780e4
added type2 scriptcmd #$33, NV11 reports OK status now as well (secondary card function not yet tested).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 19:39:37 +00:00
Rudolf Cornelissen
f7ed173238
modification in script type2 stuff so cmd #33 can be accomodated
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 15:04:55 +00:00
Rudolf Cornelissen
90c531ff69
NV40/GF 6800 PLL update..
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 12:46:13 +00:00
Rudolf Cornelissen
e526812fe4
minor comment updates
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 15:28:24 +00:00
Rudolf Cornelissen
51842d6e91
restructured startup code, tested NV34 coldstart as secondary card: we have a go!. Analog monitors only, rest is working nicely. 8-). The script exec code is not yet finished, so I cannot promiss (yet) every card actually starts up. WoeHoe!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 14:36:30 +00:00
Rudolf Cornelissen
3937b2cf4f
added NV10up RAM setup. not yet tested.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 12:03:02 +00:00
Rudolf Cornelissen
11437a8764
added yet another type2 scriptcmd. My NV34 now reports OK status on coldstart, though it's not yet actually working (missing RAM setup only: hopefully...)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 10:04:08 +00:00
Rudolf Cornelissen
f4f986a34d
fixed error in type2 scriptcmd #34 .
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-26 19:32:51 +00:00
Rudolf Cornelissen
325c177bfa
small logging update.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-25 16:00:45 +00:00
Rudolf Cornelissen
4b05f515da
completed that scriptcmd. Should work now..
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-25 13:05:11 +00:00
Rudolf Cornelissen
0153d21af7
added another type2 scriptcmd: not yet finished, not yet tested.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-25 10:58:31 +00:00
Rudolf Cornelissen
ab0c1776c6
BIOS info struct readout update, there's no V6 as I at first thought. Note: NV40 and up seem to be using a new system and so won't be able to get coldstarted for now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-25 10:16:40 +00:00
Rudolf Cornelissen
e703f31b4f
agp logging update; new cards update for Xtal det, dualhead det.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 19:45:30 +00:00
Rudolf Cornelissen
969eab3b53
added another type2 coldstart script command.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 14:43:53 +00:00
Rudolf Cornelissen
17cf149804
added preliminary NV40 architecture support. Test and provide feedback please!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 12:28:50 +00:00
Rudolf Cornelissen
0d72e6e52c
small pll pgm update for coldstart stuff (temporary)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 17:39:10 +00:00
Rudolf Cornelissen
663122f277
added one more type2 scriptcmd (still untested)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 13:45:39 +00:00
Rudolf Cornelissen
48061f2026
completed latest script cmd.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 16:15:34 +00:00