History log of /haiku/src/add-ons/accelerants/nvidia/engine/nv_crtc2.c
Revision Date Author Comments
# 8d86b84d 04-Aug-2018 Murai Takashi <tmurai01@gmail.com>

Accelerants: Fix -Wformat-overflow

* Use strlcpy() and strlcat() instead of sprintf()
to suppress -Wformat-overflow pointed by gcc8.
* Add <string.h> to mga_std.h for strlcpy() and strlcat().

Change-Id: Ib038283fd213c9e0ac9f19482402b55d2e3f204a
Reviewed-on: https://review.haiku-os.org/429
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 19e5e222 16-Sep-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

improved modeline scaling for digitally connected screens. This fixes shifted output on screen mostly happening on 640x480 resolution, due to missing CRTC SYNC pulses (ticket #4442). Bumped version to 1.04.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33150 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


# 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


# 155a2ad0 07-Feb-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

rewrote kerneldriver and accelerant's retrace INT handling. This fixes the 'driver hanging' bug exhibiting sometimes when CRTC2 is being used as primary CRTC (driver internal feature). INT handling now exists for both CRTC1 and CRTC2: enabling only the INTs for the head currently being used as primary. (limitation can be removed once we use a driver instance 'per head' instead of 'per card'.

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


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

same for cursor clear and define functions

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


# 96cc3084 12-Jan-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added timeouts for all retrace-sync waiting loops in accelerant to prevent software from hanging if trying to use a card that isnt' coldstarted.

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


# 84cbe0e3 20-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added preliminary DPMS support for laptop panels (disabling/enabling backlight). Not for NV11 though, and only if no external DVI panel is connected to a supported laptop. Please note: this feature can possibly be extended for NV11 and external panels if enough feedback (logfile) gets to me. If the driver/screen nolonger works for someone please let me know as well. Bumped version to 0.66.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15051 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


# d320dfaf 13-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small comment update

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


# a393eaf8 12-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

Added fifo watermark/burst-size programming for NV11 on their secondary heads. This fixes the 'vertical distortion stripes' occuring in 32bit color using secondary TVout modes: NV11 is just perfect here now :). Modified TNT2-M64 fifo watermark/burst-size programming to be executed independant of being coldstarted, which is more 'all-round'. It's upto users to confirm/deny my strong suspision this is fully OK to do (already tested on 3 cards over here). Bumped version to 0.62.

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


# a658603a 03-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated DPMS programming to be compatible with secondary TVout modes.

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


# d7dfe68d 03-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

modified custom flags behaviour, mostly TV_PRIMARY flag stuff: more in proposemode, less in other places. For singlehead TV modes on dualhead cards TVout chip is always assigned to the primary head now.

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


# 91731297 27-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added/rewrote TVout enabling/disabling routines: moved CRTC specific stuff to the respective files. Driver now has support for TVout head switching, although it's not completed yet (switch mode will likely mess up as that's not taken into account yet :). On singlehead cards TVout is on the one and only head, on dualhead cards TVout defaults to the secondary head (use dualhead setupthere ). Tested OK on NV11 in dualhead clone and stretch mode.

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


# bfecd0cd 25-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

changed fetching DPMS method: now just returning the earlier set flags instead of querying a CRTC. This fixes DPMS state getting lost after using TVout, and simplifies code as well.

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


# da3804ee 04-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed 4 Desktop TVout modelines. Also established that the comments in the crtc modesetting functions were not applicable (about 'offsets' on timings before programming in respective registers.

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


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

shutdown panel DPMS for laptops: I don't like the looks of that!. Confirmed DPMS working OK for all DVI panels though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11406 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


# 11058c2f 14-Feb-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed cursor visibility update on show/hide_cursor commands for secondary head on NV40 architecture (hardware bug workaround). Confirmed Dualhead up and working correctly with two analog connected screens on PCIe 6600 GT.


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


# 79098812 03-Feb-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed a truncate error with casting between floats and ints: this makes the centering calculation for WS panels work more precise, removing some 'noise' pixels on the right side of the screen when displaying non native aspect modes.


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


# 0b7b8998 10-Jan-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

finalized HW cursor sync: now tested and found OK on all my pre-NV40 cards.


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


# df7dbd1d 10-Jan-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed cursor hardware retrace syncing, confirmed working fully OK on FX5200. Other cards will be tested shortly. Note: this also seems to fix losing screen sync for short bursts with DVI connectors on some DVI encoders.


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


# 139d62e9 11-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated modeline tuning for panels: fixes overlay distortions on native mode on NV34Go (at least). Please report if this introduces trouble on your panel(s)!


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


# 0ecea71b 01-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed get_timing_constraints hook, also added extra modeline validity checks befor modes are actually set in case user does not adhere to info provided in that hook.


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


# 7ae8e6dc 26-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

panel update for 'right-shifted' picture on some cards


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8175 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


# 04e6b7ce 10-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

overlay code cleanup, NV11 panel update


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7891 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


# 17f2ecd6 06-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small DPMS update


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


# c9210b6f 10-May-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

new modelist setup: added 16:10 aspect VESA GTF modes if WS panel found


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


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

another small panel timing update


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


# 268624c4 08-May-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

finished mod: driver works again


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7455 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


# bef5b86a 06-May-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

another panel modeline update


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


# 16fc5a30 06-May-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

panel modeline updates including refreshrate update


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


# b6ec0fb2 05-May-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

tuned modeline tweaking a bit more for panels: currently in test for conf.


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


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

important testrelease with panel DPMS programming disabled


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7346 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


# ed391aba 27-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

panel DPMS update: now works on NV28 and NV34, still not ready yet though.


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


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

added DPMS for panels interfaced to with external TMDS transmitters


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7315 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


# 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


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

updated aspect correction programming: center, cutoff, and mode-checking added


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7024 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


# 65e63748 14-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed DFP fullscreen overlay distortions


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


# c567e072 14-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated DPF stuff: primary and secondary DVI are fully working now (confirmed FX5200)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6974 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


# 20a0dfd5 13-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

corrected checked DFP panel


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6959 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


# e0dd08e8 26-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed move_display distortions (both heads)


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


# b4bdc2b6 22-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

nothing changed, trick to commit :-/


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


# d97178c9 20-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

DPMS works fully OK now for both heads


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


# 255e5021 19-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

we now have DUALHEAD!


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


# ac4b4fd4 13-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

secondary hardcursor fully working (NV34)


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


# bc9d4ace 13-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

more crtc2 fixes: secondary hardcursor works (except for move)


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


# ff50d0d1 12-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

crtc2 modifications for NV dualhead mode


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6029 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


# 19e5e222eeff7245ac15ebd7b733dfe0c2137457 16-Sep-2009 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

improved modeline scaling for digitally connected screens. This fixes shifted output on screen mostly happening on 640x480 resolution, due to missing CRTC SYNC pulses (ticket #4442). Bumped version to 1.04.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33150 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


# 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


# 155a2ad0a55b0a8ccc1059e62121bc19ac809d02 07-Feb-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

rewrote kerneldriver and accelerant's retrace INT handling. This fixes the 'driver hanging' bug exhibiting sometimes when CRTC2 is being used as primary CRTC (driver internal feature). INT handling now exists for both CRTC1 and CRTC2: enabling only the INTs for the head currently being used as primary. (limitation can be removed once we use a driver instance 'per head' instead of 'per card'.

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


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

same for cursor clear and define functions

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


# 96cc3084488c96d0d9705b3665114897e0feb938 12-Jan-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added timeouts for all retrace-sync waiting loops in accelerant to prevent software from hanging if trying to use a card that isnt' coldstarted.

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


# 84cbe0e39f4b0e83fa1d4351d67d42a65fe65390 20-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added preliminary DPMS support for laptop panels (disabling/enabling backlight). Not for NV11 though, and only if no external DVI panel is connected to a supported laptop. Please note: this feature can possibly be extended for NV11 and external panels if enough feedback (logfile) gets to me. If the driver/screen nolonger works for someone please let me know as well. Bumped version to 0.66.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15051 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


# d320dfaf9ffdffa5b7c2b84ff2c921f30b55391c 13-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small comment update

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


# a393eaf832b4ed004bf933624ffaa87137603abc 12-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

Added fifo watermark/burst-size programming for NV11 on their secondary heads. This fixes the 'vertical distortion stripes' occuring in 32bit color using secondary TVout modes: NV11 is just perfect here now :). Modified TNT2-M64 fifo watermark/burst-size programming to be executed independant of being coldstarted, which is more 'all-round'. It's upto users to confirm/deny my strong suspision this is fully OK to do (already tested on 3 cards over here). Bumped version to 0.62.

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


# a658603ae8b434dee7d21a3daef1623d22479a9b 03-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated DPMS programming to be compatible with secondary TVout modes.

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


# d7dfe68dc7bf61575d99f47e4826e514807e5166 03-Nov-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

modified custom flags behaviour, mostly TV_PRIMARY flag stuff: more in proposemode, less in other places. For singlehead TV modes on dualhead cards TVout chip is always assigned to the primary head now.

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


# 91731297ec893fa00f05f48f806822dcf7e08584 27-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added/rewrote TVout enabling/disabling routines: moved CRTC specific stuff to the respective files. Driver now has support for TVout head switching, although it's not completed yet (switch mode will likely mess up as that's not taken into account yet :). On singlehead cards TVout is on the one and only head, on dualhead cards TVout defaults to the secondary head (use dualhead setupthere ). Tested OK on NV11 in dualhead clone and stretch mode.

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


# bfecd0cddb43bfcd2ca6222defddd96b7844e562 25-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

changed fetching DPMS method: now just returning the earlier set flags instead of querying a CRTC. This fixes DPMS state getting lost after using TVout, and simplifies code as well.

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


# da3804ee61b942d404c18c07235928d77f69ab27 04-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed 4 Desktop TVout modelines. Also established that the comments in the crtc modesetting functions were not applicable (about 'offsets' on timings before programming in respective registers.

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


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

shutdown panel DPMS for laptops: I don't like the looks of that!. Confirmed DPMS working OK for all DVI panels though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11406 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


# 11058c2f9654592436685828e153cf06952faf54 14-Feb-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed cursor visibility update on show/hide_cursor commands for secondary head on NV40 architecture (hardware bug workaround). Confirmed Dualhead up and working correctly with two analog connected screens on PCIe 6600 GT.


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


# 7909881256f8dbda93a19c11f80e7beb6f164ae4 03-Feb-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed a truncate error with casting between floats and ints: this makes the centering calculation for WS panels work more precise, removing some 'noise' pixels on the right side of the screen when displaying non native aspect modes.


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


# 0b7b8998b2dc424a1a4ad2dc525371eab2eafb08 10-Jan-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

finalized HW cursor sync: now tested and found OK on all my pre-NV40 cards.


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


# df7dbd1d4ed6fc7e29958c0dda9035e9fccde55a 10-Jan-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed cursor hardware retrace syncing, confirmed working fully OK on FX5200. Other cards will be tested shortly. Note: this also seems to fix losing screen sync for short bursts with DVI connectors on some DVI encoders.


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


# 139d62e968a550b7110787127ee772968d56153c 11-Sep-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated modeline tuning for panels: fixes overlay distortions on native mode on NV34Go (at least). Please report if this introduces trouble on your panel(s)!


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


# 0ecea71b0072eafbd5fa8611304f8543307d6c04 01-Jul-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed get_timing_constraints hook, also added extra modeline validity checks befor modes are actually set in case user does not adhere to info provided in that hook.


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


# 7ae8e6dcc6864a6ad250a41fc31cb30edb6381af 26-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

panel update for 'right-shifted' picture on some cards


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8175 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


# 04e6b7ce9d3656f85af172af816af6916fc2ae2a 10-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

overlay code cleanup, NV11 panel update


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7891 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


# 17f2ecd6d429c97b27355d30a6e7cfe77a032240 06-Jun-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small DPMS update


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


# c9210b6f8e45c9e97542831a3ff8eaa24dd316d2 10-May-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

new modelist setup: added 16:10 aspect VESA GTF modes if WS panel found


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


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

another small panel timing update


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


# 268624c442b5c086dde42a3a0bd07a511436cc9c 08-May-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

finished mod: driver works again


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7455 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


# bef5b86a74ad55f2afa101f4c5662dc0fcf8c546 06-May-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

another panel modeline update


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


# 16fc5a3011b90ab4a4493c6c3b3e3003ef636973 06-May-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

panel modeline updates including refreshrate update


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


# b6ec0fb23bf0a11f9a830261521dab2ce42c8f63 05-May-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

tuned modeline tweaking a bit more for panels: currently in test for conf.


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


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

important testrelease with panel DPMS programming disabled


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7346 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


# ed391aba662c303759cd8782b3976c206956c5bf 27-Apr-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

panel DPMS update: now works on NV28 and NV34, still not ready yet though.


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


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

added DPMS for panels interfaced to with external TMDS transmitters


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7315 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


# 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


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

updated aspect correction programming: center, cutoff, and mode-checking added


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7024 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


# 65e6374871f66b8d6495339194d24ecc8c4c1755 14-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed DFP fullscreen overlay distortions


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


# c567e07285203eb13751794705114a1ff5292f3e 14-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated DPF stuff: primary and secondary DVI are fully working now (confirmed FX5200)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6974 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


# 20a0dfd5b0b5206d4adcd3ebe6a6b9e9879bace8 13-Mar-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

corrected checked DFP panel


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6959 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


# e0dd08e80ca4fcf1bae8ba3fc0d3fc1b5b900e5f 26-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed move_display distortions (both heads)


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


# b4bdc2b6879933efd0bfaf584be354e47826aa14 22-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

nothing changed, trick to commit :-/


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


# d97178c901e89a400a0a5f7ffe4b3c963003dc8b 20-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

DPMS works fully OK now for both heads


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


# 255e5021d1e6ec50bafedbb7eae9cd5eb47ea6b2 19-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

we now have DUALHEAD!


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


# ac4b4fd40a912f81628c439fe4b1ecc4a86921b3 13-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

secondary hardcursor fully working (NV34)


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


# bc9d4ace4124e8cb3d18d837ac2982297f219a0f 13-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

more crtc2 fixes: secondary hardcursor works (except for move)


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


# ff50d0d10a15595657eed74b44c1632bcfb3aa4e 12-Jan-2004 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

crtc2 modifications for NV dualhead mode


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6029 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