History log of /haiku/src/add-ons/accelerants/nvidia/engine/nv_info.c
Revision Date Author Comments
# 0516144c 02-May-2021 Rudolf Cornelissen <rudhaiku@gmail.com>

nVidia driver: Fixed PLL for C51 chipset. Finally fixes ticket #12955


# d827b3cc 12-Apr-2021 Rudolf Cornelissen <rudhaiku@gmail.com>

nvidia driver: fixed tickets #2780, #4670, #6292, #12955 (Nforce 4, 4xx display trouble)


# dc234e79 18-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

NVidia: 64bit fixes.


# 01654a9d 15-Jun-2010 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

modified force_ws option to include 16:9 aspect modes so both 16:9 and 16:10 modes are settable with this option. version is 1.08.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37152 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f982813b 09-Nov-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

hopefully fixed NV44 (geforce 6100, 6150 and 6200) displaying trouble on analog VGA connected screens on one output by using a workaround for a new unknown register bit. Verified OK on a geforce 6200LE. Bumped version to 1.07.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33966 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cc04faa6 29-Sep-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

DAC2 load detection isn't available on G73. Also fixed a comment typo.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33357 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 51e7cfd2 23-Sep-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

modified head selection code for most NV40 architecture cards since their BIOSes behave differently. This should fix black or disabled screens if the secondary connector has a VGA screen while the first one is disconnected. verified on NV43, NV44, G71 and G72 over here. Bumped version to 1.05.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33255 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fa42e595 31-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

rewrote memory size detection. This should fix black screen at app_server startup on a number of GF7xxx cards (humdinger's for instance). updated docs, bumped version to 0.98.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32845 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 42529205 27-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added support for haiku specific driverhook GET_PREFERRED_DISPLAY_MODE. Now laptops and other systems where EDID fails but a screen is digitally connected should also come up in their native modes from first system boot on.Updated docs. Bumped version to 0.97. +alphabranch

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32765 a95241bf-73f2-0310-859d-f6bbb57e9c96


# efe3fb34 23-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

implemented haiku-specific hook GET_EDID_INFO. Haiku's screen prefs panel now indicates the brand name of the screen and only offers fully compatible modes for a connected screen if I understand it correctly. Now working for digital connected screens.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32629 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9b53cf03 23-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

implemented haiku-specific hook GET_ACCELERANT_DEVICE_INFO. Haiku's screen prefs panel now indicates the brand name of the screen and only offers fully compatible modes for a connected screen if I understand it correctly. Note: currently only working for analog connected screens, digital connected screens coming up next. Updated docs, bumped version to 0.96.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32627 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3dd86706 03-Jul-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

sometimes it's hard to not make copy and paste errors. This fixes modes showing up in screenprefs for higher vertical resolutions than the screen can display.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31397 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4bc3f15c 01-Jul-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed digitally connected panel at crtc2 detection, stupid typo. This lead to the driver exporting and accepting zero modes if a panel was at crtc2. Result was a black screen. Error was introduced when updating for EDID use.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31361 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 64635796 30-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed panel detection for NV11, I accidentally broke that with a recent commit.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31341 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2cdfd70e 30-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small cleanup, no functional change.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31340 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c8453f43 28-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

driver now sets up internal EDID info related to CRTCs next to earlier introcuded code for EDID info related to connectors which makes it much more useable later on. This commit also hopefully fixes the problem introduced in R31183 shutting off some screens in 'invalid' connector setups that the driver tries to correct.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31291 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 63e90977 23-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added DDC/EDID widescreen detection for analog connected screens. Switched off the force widescreen option so autodetection is actually used. This should fix non-ws DVI connected screens displaying black screens or shutting off on non-native modes. Bumped version to 0.93.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31213 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4ae1f25b 22-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed typo in unused routine I think.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31185 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8bdea419 22-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

doing preparations for using analog widescreen detection. if all is right the driver's behaviour hasn't changed yet.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31183 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3ce78c81 17-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added basic analog connected screens detection using EDID fetched info while keeping the old method (load detection) as fallback. This should improve the driver choosing the correct output connector for primary video on some cards.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31093 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc84e164 05-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

comments update only: newly discovered PLL info/trouble. needs to be investigated more.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30971 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 21bade01 27-May-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added more EDID stuff. Now extracting needed monitor specs and placing them in shared_info. More dumping to logfile added. The EDID info is not yet actually used: more testing is needed.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30880 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a6cde944 01-May-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed (at least NV34) card hanging after failed boot-time kernel VESA modeswitch. Updated docs. Bumped version to 0.87.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30531 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1c9a35ac 07-Apr-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed typo in comment.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17040 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8ab0ed49 06-Apr-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added new nv.setting called force_ws. This setting enables you to force the driver to enable use of widescreen modes independant of connected monitors. Only use if you have a widescreen monitor that the driver currently refuses to use that way. non-ws screens might not like a ws mode...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17027 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ad78834e 14-Mar-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

probably fixed NV31, NV36, and NV40 and higer core and ram PLL programming (new nv.settings tweaks).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16790 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 912ea16e 14-Mar-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added two new nv.settings (TWEAK options): gpu_clk and ram_clk. These options if enabled overrule your gfx card GPU and RAM speeds set by their BIOS (or set via coldstarting the card with the driver). note: overclocking might destroy your computer! Use with extreme caution. These options were added because it offers application developers a means to find bottlenecks (use underclocking), and it offers gamers the option to overclock for max fps. Disabled by default. 'Undocumented'.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16787 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 716c61f3 27-Jan-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated all framebuffer accesses to use volatile pointers. This potentially fixes even more coldstarting problems. Thanks Marcus Overhagen for pointing this out again - sorry for forgetting :-/

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16111 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5af5d0c6 27-Jan-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed coldstart RAM test exec failures on high-voltage AGP1.0 slots (confirmed a NV11 now working OK there). Bumped version to 0.70.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16109 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 605636b6 22-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added 512Mb memory detection.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15069 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 74267707 19-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

panel distinction type logging update: it turns out on 'std' NV11's (at least) this can't be done (card hanging afterwards). No more trouble over here now. Laptop owners are encouraged to run the driver with logging enabled and send me the logfile! NV11 laptop owners please contact me for a recompiled binary to test this: I need info to be able to activate DPMS for laptops...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15038 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6cf8a89e 19-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added preliminary LVDS/TMDS distinction code (just logging for now). BTW New acc is reported OK on all previous supported cards sofar, and 7800 is reported very fast :). Also some previous (sometimes) malfunctioning 6800's are now working better.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15030 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4022652c 14-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated DPMS programming to take DVI panels into account for TVout modes on the same head. Enabled TVout support for all cards as long as they have a supported encoder (test-image is now shut-off). TVout support should be complete now, apart from adding support for more encoder-types. Bumped version to 0.63.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14939 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8ca55b56 20-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

FIXED a STUPID BUG I stumbled on for a lot of GeForce 6200 cardsjam If you have such a card and had trouble using the driver it's time to upgrade now :). Fixed are PLL refreshrate calculations and dualhead detection: rewrote the detection code to be much less breakable now when new cards are added to the driver-supported list. Bumped version to 0.57. Sorry about this to the people who reported trouble with those 6200's to me...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14462 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ce3fc95e 20-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added capability to driver to run without an INT assigned. Driver now autodisables 'Sync_to_Retrace' functionality if it finds no INT assigned, instead of not loading/running the driver at all. This should enable some users outthere to finally run the nVidia driver on their systems. Bumped version to 0.56. Note: While driver has been tested with INT assigned, it has not yet been tested without it. (got to find a system which has the option or fixed disabled BIOS setting).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14438 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 12566cbd 27-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added brooktree (BT) and conexant (CX) TV encoder recognition, as far as was supported in BeTVOut (BT868/869, CX25870/25871). Tested OK on TNT1 with BT869 on secondary adres, primary bus.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14252 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 15b4879f 27-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added I2C bus wiring checks, and bumped version to 0.54. Note: the driver is tested on TNT1, the new code has not been tested for newer cards yet. Note also: the driver is now nolonger binary compatible with the 3D add-on alpha2, 2.5 and 3 (modified driverinterface).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14249 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 081f4613 13-Jun-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

corrected all dummyreads to use volatile pointers. Thanks Marcus Overhagen for reading along.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13082 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 82581f54 09-May-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added CRTC1 FIFO low-watermark/burstsize preliminary programming (not yet enabled: testing). This should be fixing high-res mode display sparking/noise/errors/DMA engine hangs in the (near) future.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12601 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 481edfc1 08-May-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added pre-NV10 coldstart RAM size checks and correction code. Confirmed working OK on a TNT2-M64 with pins 5.1

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12600 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 535dd126 08-May-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed coldstart on pre-NV10 cards with PINS V3-V5pre18: confirmed missing info with a new card I have for testing.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12599 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6072aa9f 17-Feb-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# ecaef637 17-Feb-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 36ad4411 17-Feb-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# d96acb0d 06-Jan-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# ff20b3ad 24-Dec-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# ba383dad 01-Nov-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

finalized driver for release 0.30


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9700 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b89d7097 24-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# a8a71ed2 24-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 7e74310a 25-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 1168e596 25-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated some logging, added some comments (coldstart stuff)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9498 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 647d4b1a 23-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

removed text typos


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9478 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 43846994 24-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 164cd8bc 24-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added yet another type2 coldstart scriptcmd.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9476 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9d964556 23-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 19cd95ff 23-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# c9ae7f9c 22-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 25b194b9 21-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 20d6c826 18-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# b88fe980 14-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# c1a1413c 13-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# bf25ef8f 14-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

logging updates


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9341 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a7df5c7c 14-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# e9a30e45 08-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# ab3a9652 07-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 5bff191a 07-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# f8930a89 05-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# c23a5cf3 05-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 52e0509d 04-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added system PLL specific calc routine


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9177 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f8eb549d 04-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

removed error introduced by previous commit.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9176 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2dc99a3a 04-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

finished type2 scriptcmd #$49.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9175 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2dab9bf0 03-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 650765d2 30-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 9ea0c780 28-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# f7ed1732 28-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 90c531ff 27-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

NV40/GF 6800 PLL update..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9090 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e526812f 27-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

minor comment updates


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9076 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 51842d6e 27-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 3937b2cf 26-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added NV10up RAM setup. not yet tested.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9072 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 11437a87 27-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# f4f986a3 26-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed error in type2 scriptcmd #34.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9061 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 325c177b 25-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small logging update.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9060 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4b05f515 25-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed that scriptcmd. Should work now..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9059 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0153d21a 25-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# ab0c1776 25-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# e703f31b 23-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 969eab3b 23-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added another type2 coldstart script command.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9042 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 17cf1498 22-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 0d72e6e5 21-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small pll pgm update for coldstart stuff (temporary)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9022 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 663122f2 21-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added one more type2 scriptcmd (still untested)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9021 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 48061f20 20-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed latest script cmd.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9015 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 05fbbd5e 20-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added one more type2 scriptcmd, should already work.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9014 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1b4462d2 19-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added another type2 script cmd, tested.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9013 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 00fc82f9 20-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

two more type2 scripts (now tested)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9010 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8315a927 20-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added 2 type2 coldstart script cmds.. (not yet tested)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9007 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c319524a 18-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

corrected typo.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8996 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bf393e0a 18-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

split-up scripts for type1 and 2: type 2 still has to be drastically expanded. (coldstart stuff)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8995 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ec171096 14-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

modified coldstart script execution for pins V5.16 and up: looks like we might be able to coldstart all nVidia cards after all (someday)..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8942 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c657da60 13-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

minor PLL code modifications


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8926 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 50bd00fe 04-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added fixed CRTC FIFO watermark setup (in a temporary fashion). This should solve the 'bandwidth trouble' (memory fetch errors, noise on screen) on coldstarted cards. Tested and found OK on TNT2-M64. Coldstart is now just perfect there!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8837 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ba0b8a97 02-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added coldstart support for TNT2M64 cards: added RAM width test in script execution. TNT2-M64 now working as good as normal TNT2: lower res modes OK, still needs fix for CRTC memory fetch errors on higher modes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8802 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 85f38ca1 02-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed finding RAM config table in cardBIOS: this enables coldstart support on a lot more NV05/NV06 (TNT2) cardBIOSes...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8801 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6179417d 01-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added last two coldstart script cmds for pre-NV10 cards. This should complete coldstart support for pre-NV10 cards with BIOS info struct V2 and later (i.e. TNT2). Please test and provide feedback!
Note that FIFO watermark stuff still has to be setup (i.e. fix for CRTC fetching errors on coldstarted cards). So higher-res modes do not yet work reliably.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8796 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b2e882e6 02-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added exec of another coldstart script cmd...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8795 a95241bf-73f2-0310-859d-f6bbb57e9c96


# abbf0913 02-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

rewritten ISA coldstart script cmd's to actually use ISA I/O.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8791 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1f1a4dff 30-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed small typo. Erazor 3 (TNT2) indeed still operational exactly as before.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8747 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 595ca96f 30-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

some coldstart finetuning and yet another script command. mods not yet checked (so not yet run).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8745 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 502f7467 30-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

BLOOOOOOPP!! Erazor 3 TNT2 coldstart is operational!! Wow! Small note: I probably need to really setup FIFO watermarks now, can't deny it anymore. Cards works beautifully as full secondary card in system in 640x480 8-32bit color, 800x600 8-16 bit color, and 1024x768 in 8 bit color (60Hz tested).
Go above that and you'll probably witness CRTC memory fetch errors (distortions, maybe like snow ;-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8727 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ce35f051 30-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

now erazor stays working if script is executed. Now working coldstart yet though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8726 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 09f63f9d 30-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added coldstart scriptcmd exec for RAM config setup (without RAM tests). The Elsa Erazor III TNT2 (NV05) script is 'fully' executed now, still nogo however. To be continued..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8724 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2d2e1091 30-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

yacs: yet another coldstart scriptcmd. One (Extensive) one to go for ELSA erazor III..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8722 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 76eddc4f 28-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small cosmetic fix. Cool! PLL readouts are actually OK, which probably means we can now ascertain if those older cards with noise (bandwidth) trouble are indeed running on too low speeds...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8689 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e21f481f 28-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added exec of another scriptcmd (indirect PLL)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8688 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 12d81960 28-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added execution of two more coldstart script commands, one doing CORE, RAM and DAC PLL programming.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8687 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9fb20c7b 28-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added recognition of 3 new introduced coldstart script cmds for coldstarting on NV11: my NV11 now actually starts to do weird things :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8686 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 40cce328 26-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

more coldstart script executing cmds


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8668 a95241bf-73f2-0310-859d-f6bbb57e9c96


# daef2e88 26-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added 3rd coldstart script cmd exec (untested yet)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8665 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 42a26634 26-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added actual cmd execution for first coldstart script commands.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8662 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9235afe3 26-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added coldstart script processing (cmd's not yet executed)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8661 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 03fb1718 26-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

coldstart updates, the driver now looks at the 'usebios' setting. still no actual execution though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8658 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b1d5889c 24-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small rom infostruct decode update


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8629 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b4aa9ce9 23-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added beginnings of cardBIOS info struct readout


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8624 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a7b24bba 26-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

overlay fix for Nforce and Nforce2 cards (RAM detection updated)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8469 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4f094ab6 19-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed embedded Geforce (Nforce 1 and 2) RAM amount detection.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8423 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 58fa391e 06-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed unhide_fw and pgm_panel option stuff


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8333 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e9752012 05-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

back to fine-pitched CRTC granularities: it turns out this isn't the cause of the bandwidth trouble existing on some older cards; lowered flatpanel fixed refresh to be 61Hz instead of 62Hz: some panels are _really_ picky!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8296 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c24cf1b 01-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

tidbits only


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8251 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 07abc06f 29-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

dumprom update


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8230 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cc04d754 28-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed BIOS ROM readout


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8224 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2cb6fc9c 12-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

finalized NV11 support: panels should be fully OK now there...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7923 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc9c6041 07-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

panel detection updates once more: should fix more rare problems...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7797 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0fccffc2 07-May-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

'cosmetic' update: in progress..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7449 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4a3cf874 02-May-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

modified panel modelines to be placed sorted in list


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7350 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 49e02c18 01-May-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed secondary head specs (nview)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7348 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8addb7c3 28-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

doc-update on some bits and pieces for TVout and panel use


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7344 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 64c14e7e 26-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated head sel code for NV11 special treatment


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7314 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 59d5d4fb 25-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added NV11 output matrix setup


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7306 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e7c91d67 24-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

output devs/heads matrix setup added (NV11 not ready yet)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7302 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 06f4c439 22-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

analog output switching updates: not ready yet...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7297 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 30f76422 22-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

driver works nicely with virtualized head setup now!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7296 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0669fe20 22-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added virtualized CRTC access with it's advantages


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7295 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ccfb6b37 19-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

more logging, removed paneldetection bug


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7242 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9fd63d6d 13-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added panel native mode to modelist: appears in Screenprefs now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7196 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e8cdc01c 09-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed error in paneldetection code on laptops... oops!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7190 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4709c2c8 08-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added panel DPMS, updated detection code again (next iteration)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7186 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e6708074 29-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated some panel stuff, added some new card ID's


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7103 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8592d389 18-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added DFP aspect correction centering, cutting and displaymode aspect checking


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7025 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c65998fa 16-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

NV11 panel update; widescreen panel aspect programming added


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7003 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1e37a9ac 13-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added more DFP programming: should work now...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6961 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a16d55dd 08-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added some DFP programming stuff


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6933 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6f5cefa9 08-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added flatpanel registerdump


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6931 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c0456849 04-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

more panel detection stuff: looks like it will work for both DVI and laptops..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6895 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3186091b 01-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added preliminary flatpanel detection stuff


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6844 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e68c7d96 18-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated FX5700 support, more dualhead and included 256Mb RAM detection


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6138 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3b8a480d 06-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated logging for TVout and mem detection; declare local functions static


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5934 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 08705d96 22-Nov-2003 shatty <shatty@nowhere.fake>

add nvidia accelerant


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5450 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dc234e798d854e75a197ee9fc85c6a1eede67fef 18-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

NVidia: 64bit fixes.


# 01654a9daa3d3c68896ec0dedbf7ce658979cd88 15-Jun-2010 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

modified force_ws option to include 16:9 aspect modes so both 16:9 and 16:10 modes are settable with this option. version is 1.08.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37152 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f982813b1e149a90421f40df57c1affd9f6497ad 09-Nov-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

hopefully fixed NV44 (geforce 6100, 6150 and 6200) displaying trouble on analog VGA connected screens on one output by using a workaround for a new unknown register bit. Verified OK on a geforce 6200LE. Bumped version to 1.07.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33966 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cc04faa6c1e6748fe6bc658ada1896b4cde898d0 29-Sep-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

DAC2 load detection isn't available on G73. Also fixed a comment typo.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33357 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 51e7cfd2bb212ee5b0031187eebed1e5021b1a2b 23-Sep-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

modified head selection code for most NV40 architecture cards since their BIOSes behave differently. This should fix black or disabled screens if the secondary connector has a VGA screen while the first one is disconnected. verified on NV43, NV44, G71 and G72 over here. Bumped version to 1.05.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33255 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fa42e59564cb8917f3628570af5283c3f3bad838 31-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

rewrote memory size detection. This should fix black screen at app_server startup on a number of GF7xxx cards (humdinger's for instance). updated docs, bumped version to 0.98.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32845 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 42529205ad4178166f00f66427ceaa514af0627f 27-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added support for haiku specific driverhook GET_PREFERRED_DISPLAY_MODE. Now laptops and other systems where EDID fails but a screen is digitally connected should also come up in their native modes from first system boot on.Updated docs. Bumped version to 0.97. +alphabranch

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32765 a95241bf-73f2-0310-859d-f6bbb57e9c96


# efe3fb34a0e8d5fb16c4260dc67b339491c1c45e 23-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

implemented haiku-specific hook GET_EDID_INFO. Haiku's screen prefs panel now indicates the brand name of the screen and only offers fully compatible modes for a connected screen if I understand it correctly. Now working for digital connected screens.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32629 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9b53cf03cdb033edafcbea7aa767af98f693ec63 23-Aug-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

implemented haiku-specific hook GET_ACCELERANT_DEVICE_INFO. Haiku's screen prefs panel now indicates the brand name of the screen and only offers fully compatible modes for a connected screen if I understand it correctly. Note: currently only working for analog connected screens, digital connected screens coming up next. Updated docs, bumped version to 0.96.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32627 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3dd8670617b7491843232d03fe7940b3107bcf5d 03-Jul-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

sometimes it's hard to not make copy and paste errors. This fixes modes showing up in screenprefs for higher vertical resolutions than the screen can display.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31397 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4bc3f15ce3a0c6c4a37ca57f3649ebd24970fca5 01-Jul-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed digitally connected panel at crtc2 detection, stupid typo. This lead to the driver exporting and accepting zero modes if a panel was at crtc2. Result was a black screen. Error was introduced when updating for EDID use.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31361 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 646357964fba2b4c61d52ec21191af068e9b3e72 30-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed panel detection for NV11, I accidentally broke that with a recent commit.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31341 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2cdfd70e42181b952151aee7c5b798a319b260a0 30-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small cleanup, no functional change.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31340 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c8453f43a4c2c8ce001a1637faa9871f249a3cf8 28-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

driver now sets up internal EDID info related to CRTCs next to earlier introcuded code for EDID info related to connectors which makes it much more useable later on. This commit also hopefully fixes the problem introduced in R31183 shutting off some screens in 'invalid' connector setups that the driver tries to correct.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31291 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 63e909772d0bc5a81586c9e118195b46e8238bf1 23-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added DDC/EDID widescreen detection for analog connected screens. Switched off the force widescreen option so autodetection is actually used. This should fix non-ws DVI connected screens displaying black screens or shutting off on non-native modes. Bumped version to 0.93.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31213 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4ae1f25b97335f322fcf82c24a32d758bbd40b25 22-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed typo in unused routine I think.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31185 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8bdea4194a97a9ae962e68ff42f456d46d3f658a 22-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

doing preparations for using analog widescreen detection. if all is right the driver's behaviour hasn't changed yet.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31183 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3ce78c81c4108f9289782794cb54ca7ff1e84b70 17-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added basic analog connected screens detection using EDID fetched info while keeping the old method (load detection) as fallback. This should improve the driver choosing the correct output connector for primary video on some cards.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31093 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc84e16481e716aac071c34aa737c8e63a18ea67 05-Jun-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

comments update only: newly discovered PLL info/trouble. needs to be investigated more.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30971 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 21bade017a1e67864f01a412f56c6baaad4e3db3 27-May-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added more EDID stuff. Now extracting needed monitor specs and placing them in shared_info. More dumping to logfile added. The EDID info is not yet actually used: more testing is needed.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30880 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a6cde944e68b4537d75a9c4ee951b2fd721bdce8 01-May-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed (at least NV34) card hanging after failed boot-time kernel VESA modeswitch. Updated docs. Bumped version to 0.87.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30531 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1c9a35ac1972c684d4642ffe7c715abde281494f 07-Apr-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed typo in comment.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17040 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8ab0ed494c2e26b7e7d1689a60fb56b6bf0f7659 06-Apr-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added new nv.setting called force_ws. This setting enables you to force the driver to enable use of widescreen modes independant of connected monitors. Only use if you have a widescreen monitor that the driver currently refuses to use that way. non-ws screens might not like a ws mode...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17027 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ad78834e21549616ee9e83c510100e31a6837533 14-Mar-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

probably fixed NV31, NV36, and NV40 and higer core and ram PLL programming (new nv.settings tweaks).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16790 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 912ea16e29c889b9b7745aff0de508ded6fe549d 14-Mar-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added two new nv.settings (TWEAK options): gpu_clk and ram_clk. These options if enabled overrule your gfx card GPU and RAM speeds set by their BIOS (or set via coldstarting the card with the driver). note: overclocking might destroy your computer! Use with extreme caution. These options were added because it offers application developers a means to find bottlenecks (use underclocking), and it offers gamers the option to overclock for max fps. Disabled by default. 'Undocumented'.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16787 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 716c61f30134daf617b7f4b0a2f660ec1e7a19c0 27-Jan-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated all framebuffer accesses to use volatile pointers. This potentially fixes even more coldstarting problems. Thanks Marcus Overhagen for pointing this out again - sorry for forgetting :-/

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16111 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5af5d0c6efb33d5838defc6e35fc13bdb2703518 27-Jan-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed coldstart RAM test exec failures on high-voltage AGP1.0 slots (confirmed a NV11 now working OK there). Bumped version to 0.70.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16109 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 605636b67285a178ea99825dd726bd9bdcf692a4 22-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added 512Mb memory detection.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15069 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 742677072fd63eced5ef26aacc7c8e7425bedafc 19-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

panel distinction type logging update: it turns out on 'std' NV11's (at least) this can't be done (card hanging afterwards). No more trouble over here now. Laptop owners are encouraged to run the driver with logging enabled and send me the logfile! NV11 laptop owners please contact me for a recompiled binary to test this: I need info to be able to activate DPMS for laptops...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15038 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6cf8a89e4b092a9fe3c953a3f924e46849bfe3da 19-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added preliminary LVDS/TMDS distinction code (just logging for now). BTW New acc is reported OK on all previous supported cards sofar, and 7800 is reported very fast :). Also some previous (sometimes) malfunctioning 6800's are now working better.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15030 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4022652c41c8005e690ae18d8a977a254b75c027 14-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated DPMS programming to take DVI panels into account for TVout modes on the same head. Enabled TVout support for all cards as long as they have a supported encoder (test-image is now shut-off). TVout support should be complete now, apart from adding support for more encoder-types. Bumped version to 0.63.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14939 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8ca55b56f0ab1758693fa7508f09f4520f0d8d53 20-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

FIXED a STUPID BUG I stumbled on for a lot of GeForce 6200 cardsjam If you have such a card and had trouble using the driver it's time to upgrade now :). Fixed are PLL refreshrate calculations and dualhead detection: rewrote the detection code to be much less breakable now when new cards are added to the driver-supported list. Bumped version to 0.57. Sorry about this to the people who reported trouble with those 6200's to me...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14462 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ce3fc95ee40dd00ccb44ef330a747e94086f6c5b 20-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added capability to driver to run without an INT assigned. Driver now autodisables 'Sync_to_Retrace' functionality if it finds no INT assigned, instead of not loading/running the driver at all. This should enable some users outthere to finally run the nVidia driver on their systems. Bumped version to 0.56. Note: While driver has been tested with INT assigned, it has not yet been tested without it. (got to find a system which has the option or fixed disabled BIOS setting).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14438 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 12566cbd0db6d1d6e7dd9623c6642a29c0ed7c36 27-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added brooktree (BT) and conexant (CX) TV encoder recognition, as far as was supported in BeTVOut (BT868/869, CX25870/25871). Tested OK on TNT1 with BT869 on secondary adres, primary bus.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14252 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 15b4879f7148f742c0b710bd561e50bcd1b0c5c8 27-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added I2C bus wiring checks, and bumped version to 0.54. Note: the driver is tested on TNT1, the new code has not been tested for newer cards yet. Note also: the driver is now nolonger binary compatible with the 3D add-on alpha2, 2.5 and 3 (modified driverinterface).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14249 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 081f461390903125d6705b2dd54d5cba6b71f6ec 13-Jun-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

corrected all dummyreads to use volatile pointers. Thanks Marcus Overhagen for reading along.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13082 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 82581f548da70f207b773fbbb08523cd6ccecd10 09-May-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added CRTC1 FIFO low-watermark/burstsize preliminary programming (not yet enabled: testing). This should be fixing high-res mode display sparking/noise/errors/DMA engine hangs in the (near) future.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12601 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 481edfc19ec4a3bf2f02160022f1b7f834b93c76 08-May-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added pre-NV10 coldstart RAM size checks and correction code. Confirmed working OK on a TNT2-M64 with pins 5.1

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12600 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 535dd126d355b8131c70b76ac209506f07504b60 08-May-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed coldstart on pre-NV10 cards with PINS V3-V5pre18: confirmed missing info with a new card I have for testing.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12599 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6072aa9f44001a5f83d70a2aef8dd7a88acc00a3 17-Feb-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# ecaef637fac6e0c058a095e4592ce440b4063554 17-Feb-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 36ad4411a87a4487c144eb85725ee5d28f352da4 17-Feb-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# d96acb0dde724cffaaac4f944315ccc17451cb37 06-Jan-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# ff20b3ad82db39ce92c282f35b7a74c236d818a0 24-Dec-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# ba383daddbb2367878cc945c4f4e8251e3d5432b 01-Nov-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

finalized driver for release 0.30


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9700 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b89d709767088f6b89781dcbe2dfd2b87d7f389d 24-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# a8a71ed26a4fba14e737eb8c595326cf54e346df 24-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 7e74310a9583bf8274bc541804436fd3a65b4783 25-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 1168e5967f61c2a33c9b40ae1725a47e5d264a2a 25-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated some logging, added some comments (coldstart stuff)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9498 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 647d4b1a6b4cbd5d0f07adc61bb5a6abb1b819fd 23-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

removed text typos


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9478 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4384699477ec2d68fecff076e67d3d768304707f 24-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 164cd8bcaabbbae5c5a30747ed6131e631f2bd6f 24-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added yet another type2 coldstart scriptcmd.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9476 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9d964556cc177289991877088ad305ba785c5d66 23-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 19cd95ff25ea8c8f680a4fdacb0610b120515b17 23-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# c9ae7f9cc904e8d692853e3dcabf7ab6fe9e3a01 22-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 25b194b98ff4b462c6f6a38969396a7c307e35e8 21-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 20d6c8266b321fcb04d788bd23cddd2817699a33 18-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# b88fe980efe7d55c0030df57e7e88fcf8dfa546d 14-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# c1a1413c4d1bcad363660262bba841d1fd9f6f18 13-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# bf25ef8f478ddcd9dbb9d403514f747fbacb726e 14-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

logging updates


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9341 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a7df5c7c5b3b75a363f0f39f431c7a2499ef77a3 14-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# e9a30e453e05396951d743033a8d8288facc638f 08-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# ab3a9652a00c152dcce2260cc03cdfb4c1d63a5e 07-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 5bff191a01dd5de42152a6c2ac47ceedd144684e 07-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# f8930a8944ab5a1e7742d9b793a7ed0b851371c6 05-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# c23a5cf39d6bcf72f684faf94e1f0216b0c8743c 05-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 52e0509d97402c5340a0c5606af05f7ba30327cb 04-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added system PLL specific calc routine


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9177 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f8eb549d455ed10c4a3e6a9c7a05ba7fc0e8a0ce 04-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

removed error introduced by previous commit.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9176 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2dc99a3a1f882e4f66241a429f9276eb2c6a8629 04-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

finished type2 scriptcmd #$49.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9175 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2dab9bf0ef329bed89a0438e48272320a01ae6ce 03-Oct-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 650765d20c7fd9f717849f0346dda981ff5eca2a 30-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 9ea0c780e4c66c1285610ffd2cff89d86d1133a8 28-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# f7ed17323876731c12097a6515edda2cf37e649f 28-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 90c531ff69a1e8e4ece99f8f905642e872d2261a 27-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

NV40/GF 6800 PLL update..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9090 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e526812fe48045bfdf4781ab80e60d5b92347d84 27-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

minor comment updates


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9076 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 51842d6e913fc908ec98440187dee75fd65e353a 27-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 3937b2cf4f72ad3ecbcc3daec5cf5b4eef993ad0 26-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added NV10up RAM setup. not yet tested.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9072 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 11437a8764a14ac35895bb45b715441b94386bfd 27-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# f4f986a34d66c50fea1cc62a6334fb4d32dd7aba 26-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed error in type2 scriptcmd #34.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9061 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 325c177bfa6ce1efbd37e1bd12f887b5470657d9 25-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small logging update.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9060 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4b05f515da866d7588b22c44bca402dcc45b588b 25-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed that scriptcmd. Should work now..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9059 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0153d21af7bd82e511aec897999eff6b108451bc 25-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# ab0c1776c68a56d90bb15f26a2bc1ef02b1ed8dc 25-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# e703f31b4f058d3ab746f2859a2165d4f6637fe7 23-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 969eab3b53b35e93b84d45c0d189dc1ed5e99063 23-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added another type2 coldstart script command.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9042 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 17cf149804d4798640a7988ae3bf3b9ec2ea2be9 22-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

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


# 0d72e6e52c0e0c1836f75d6fa7675c3a26425ede 21-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small pll pgm update for coldstart stuff (temporary)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9022 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 663122f277389adbd55d23d625b45967f9c4c6c4 21-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added one more type2 scriptcmd (still untested)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9021 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 48061f2026d71834b4740755aa3c0d4fcac14d8f 20-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed latest script cmd.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9015 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 05fbbd5e776ecf6e3fd3760b2cfb7d070d3c1dcc 20-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added one more type2 scriptcmd, should already work.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9014 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1b4462d2a6cc5366c7efcbcdbfc26141015d313b 19-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added another type2 script cmd, tested.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9013 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 00fc82f9ee928d504dd045695600dc70f3b6991a 20-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

two more type2 scripts (now tested)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9010 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8315a92763fdd706be3573b5538a56b0785f6581 20-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added 2 type2 coldstart script cmds.. (not yet tested)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9007 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c319524a0a00453ae9a80f30213170b1b4f8c06f 18-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

corrected typo.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8996 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bf393e0a34488b3598ad5dc456d0ef63def9f2fa 18-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

split-up scripts for type1 and 2: type 2 still has to be drastically expanded. (coldstart stuff)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8995 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ec1710967885eb9d95990037490d4db8fa849db9 14-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

modified coldstart script execution for pins V5.16 and up: looks like we might be able to coldstart all nVidia cards after all (someday)..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8942 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c657da60853ab3841dcc58abd62b28550d47cd8f 13-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

minor PLL code modifications


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8926 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 50bd00fe1f50b85ec63ed20f3e68e0b14ef8174b 04-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added fixed CRTC FIFO watermark setup (in a temporary fashion). This should solve the 'bandwidth trouble' (memory fetch errors, noise on screen) on coldstarted cards. Tested and found OK on TNT2-M64. Coldstart is now just perfect there!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8837 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ba0b8a97e085b10225815245a445208110336798 02-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added coldstart support for TNT2M64 cards: added RAM width test in script execution. TNT2-M64 now working as good as normal TNT2: lower res modes OK, still needs fix for CRTC memory fetch errors on higher modes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8802 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 85f38ca104716d3ae6214f2e987bd420c5fdcbe6 02-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed finding RAM config table in cardBIOS: this enables coldstart support on a lot more NV05/NV06 (TNT2) cardBIOSes...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8801 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6179417d785d7c740e50c2939d590ca19fdb3527 01-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added last two coldstart script cmds for pre-NV10 cards. This should complete coldstart support for pre-NV10 cards with BIOS info struct V2 and later (i.e. TNT2). Please test and provide feedback!
Note that FIFO watermark stuff still has to be setup (i.e. fix for CRTC fetching errors on coldstarted cards). So higher-res modes do not yet work reliably.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8796 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b2e882e6123a777a29eba69454145b10e9c06c2e 02-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added exec of another coldstart script cmd...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8795 a95241bf-73f2-0310-859d-f6bbb57e9c96


# abbf0913fb2b98d6fa4adc65cf2bb88a35267098 02-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

rewritten ISA coldstart script cmd's to actually use ISA I/O.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8791 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1f1a4dff417ca9d62addb01d8dc08730c4f2426b 30-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed small typo. Erazor 3 (TNT2) indeed still operational exactly as before.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8747 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 595ca96f05151a981eafb4a880c80566d0c29f89 30-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

some coldstart finetuning and yet another script command. mods not yet checked (so not yet run).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8745 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 502f746720cb446237063d6d02cc1d70f1899330 30-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

BLOOOOOOPP!! Erazor 3 TNT2 coldstart is operational!! Wow! Small note: I probably need to really setup FIFO watermarks now, can't deny it anymore. Cards works beautifully as full secondary card in system in 640x480 8-32bit color, 800x600 8-16 bit color, and 1024x768 in 8 bit color (60Hz tested).
Go above that and you'll probably witness CRTC memory fetch errors (distortions, maybe like snow ;-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8727 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ce35f051d57c34927ca7335f0d509038119473c1 30-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

now erazor stays working if script is executed. Now working coldstart yet though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8726 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 09f63f9d05a75a205dfcc9028e1c0e1dac593492 30-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added coldstart scriptcmd exec for RAM config setup (without RAM tests). The Elsa Erazor III TNT2 (NV05) script is 'fully' executed now, still nogo however. To be continued..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8724 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2d2e1091d573238bbc829fd7e1cd28d75ee97a96 30-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

yacs: yet another coldstart scriptcmd. One (Extensive) one to go for ELSA erazor III..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8722 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 76eddc4fc108500d4f6e9954fc9fb26a8ac8d7b5 28-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small cosmetic fix. Cool! PLL readouts are actually OK, which probably means we can now ascertain if those older cards with noise (bandwidth) trouble are indeed running on too low speeds...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8689 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e21f481ff3d2288a920c2600db895f7962d6aca0 28-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added exec of another scriptcmd (indirect PLL)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8688 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 12d8196092f9045886c58c86a55995a27feabfa0 28-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added execution of two more coldstart script commands, one doing CORE, RAM and DAC PLL programming.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8687 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9fb20c7b6d8d1aa685bbdb69d8f81f0ce1b96eb7 28-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added recognition of 3 new introduced coldstart script cmds for coldstarting on NV11: my NV11 now actually starts to do weird things :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8686 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 40cce328355d7f9d35704f8cb7ca6cb359d5a6b5 26-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

more coldstart script executing cmds


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8668 a95241bf-73f2-0310-859d-f6bbb57e9c96


# daef2e88ecf2c96c55ccad023985674cca48de79 26-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added 3rd coldstart script cmd exec (untested yet)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8665 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 42a266345edba5833e30ae730864d4eff585d3cc 26-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added actual cmd execution for first coldstart script commands.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8662 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9235afe31f63dfee2100af3dd49c1d8b2f9d69e9 26-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added coldstart script processing (cmd's not yet executed)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8661 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 03fb171873d9a76eb2a9f8cae44d0795aaea51c6 26-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

coldstart updates, the driver now looks at the 'usebios' setting. still no actual execution though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8658 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b1d5889c4a468987c3dc5fb15efe9ff11ec531aa 24-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small rom infostruct decode update


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8629 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b4aa9ce9b420144ef59a9198d3bb93dd9d2883f4 23-Aug-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added beginnings of cardBIOS info struct readout


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8624 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a7b24bba5262e648c2683cd9892aa73ab6b7eb76 26-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

overlay fix for Nforce and Nforce2 cards (RAM detection updated)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8469 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4f094ab6e352a425a5a42a51093268d0a2fc2538 19-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed embedded Geforce (Nforce 1 and 2) RAM amount detection.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8423 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 58fa391ee438a2b62d2aac543545b9ed21dd70d0 06-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed unhide_fw and pgm_panel option stuff


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8333 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e97520124f2ecde9a4a08643e116b85c21cb27d0 05-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

back to fine-pitched CRTC granularities: it turns out this isn't the cause of the bandwidth trouble existing on some older cards; lowered flatpanel fixed refresh to be 61Hz instead of 62Hz: some panels are _really_ picky!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8296 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c24cf1b7e4988431e2865f352b29bf6344186ed 01-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

tidbits only


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8251 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 07abc06fd20be3c6764ab6a62b4763620e11650b 29-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

dumprom update


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8230 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cc04d754913a7275ada255e1142c5a394b17e824 28-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed BIOS ROM readout


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8224 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2cb6fc9c23bc60d14822b25e7d8827f3e32d3e9e 12-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

finalized NV11 support: panels should be fully OK now there...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7923 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc9c604133ec235075681ff4f81f431ed34cdac5 07-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

panel detection updates once more: should fix more rare problems...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7797 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0fccffc2c2d4701c7e17c26351fd5352b6013cde 07-May-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

'cosmetic' update: in progress..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7449 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4a3cf874822dfcf25f89c0d99158b1006e62b2fb 02-May-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

modified panel modelines to be placed sorted in list


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7350 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 49e02c186243ec95ebe991e99eae4ee0c1126d7b 01-May-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed secondary head specs (nview)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7348 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8addb7c3d8dc83ab1acc729d4d24d45d9d01bee2 28-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

doc-update on some bits and pieces for TVout and panel use


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7344 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 64c14e7e31dcceda9462eff951d5dc8f614791c9 26-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated head sel code for NV11 special treatment


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7314 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 59d5d4fb51fc2572d7c0a353ea9d539c46422d64 25-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added NV11 output matrix setup


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7306 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e7c91d6738dabe0fe5381f3ddff62453d54e97d9 24-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

output devs/heads matrix setup added (NV11 not ready yet)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7302 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 06f4c4397d23324a9c2d318ad467a6291fcae31a 22-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

analog output switching updates: not ready yet...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7297 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 30f7642281e1b1389a84166d0fffc00248199f5b 22-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

driver works nicely with virtualized head setup now!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7296 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0669fe20bd6ea42d6db669c6776898093ad1bbe6 22-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added virtualized CRTC access with it's advantages


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7295 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ccfb6b37116295c43e0d652f4476c0c8f81d47e5 19-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

more logging, removed paneldetection bug


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7242 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9fd63d6d0e93e8d82edabb2e35cb0538f3cc7dbc 13-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added panel native mode to modelist: appears in Screenprefs now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7196 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e8cdc01c2f0fd906dde988e37d36181d2a18868e 09-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed error in paneldetection code on laptops... oops!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7190 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4709c2c813395146243b27ebbeb25e45e3a4ac05 08-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added panel DPMS, updated detection code again (next iteration)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7186 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e67080742e73c08636b684b3076dfb7f8dfab8e5 29-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated some panel stuff, added some new card ID's


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7103 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8592d389a65a415462e4bbcc3a09f65cce952940 18-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added DFP aspect correction centering, cutting and displaymode aspect checking


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7025 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c65998fa11aa65b268f3e399bb6ded595349b0a8 16-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

NV11 panel update; widescreen panel aspect programming added


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7003 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1e37a9ac801ce0abdc381124193c0c17f252d1fd 13-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added more DFP programming: should work now...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6961 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a16d55dd5426900036d462fb109aca365516d2eb 08-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added some DFP programming stuff


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6933 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6f5cefa9193a26a0ce2af017c75c411438d5df3b 08-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added flatpanel registerdump


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6931 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c045684987b30aa25d9bf5db4b6440b005919372 04-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

more panel detection stuff: looks like it will work for both DVI and laptops..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6895 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3186091bddad9211023c5b502e3fb39774e48b8c 01-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added preliminary flatpanel detection stuff


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6844 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e68c7d967c6c3c55cb319f8aabd7fc0199657668 18-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated FX5700 support, more dualhead and included 256Mb RAM detection


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6138 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3b8a480d71357853e777caf7d218f59607821444 06-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated logging for TVout and mem detection; declare local functions static


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5934 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 08705d9664e3c9fe0b038c281945bcd462693715 22-Nov-2003 shatty <shatty@nowhere.fake>

add nvidia accelerant


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5450 a95241bf-73f2-0310-859d-f6bbb57e9c96