History log of /haiku-fatelf/src/add-ons/accelerants/nvidia/engine/nv_brooktreetv.c
Revision Date Author Comments
# 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


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

completed TVout support concerning dualhead (clone) modes and custom modeflag for selecting TVout head on a per mode basis. NV11 is now fully functional (with supported encoders that is).

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


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

modified Setmode for TVout. Dualhead switch mode now at least displays something on TV for NV11, just the wrong head. (in progress).

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


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

modified I2C- and brooktree-chip-detection routines to support all 4 possible i2c buses on dualhead cards.

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


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

added forced enabling Vsync (again) to stop_tv_out: just to be absolutely sure.

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


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

rewrote DPMS programming (this time the 'setting' part). Now the new nv.setting 'vga_on_tv' is respected: wich means that VGA output will be turned off by default when you enable TVout on a head (still only head1 supported for TVout). You can preset it to be kept enabled via that setting, although that is considered a tweak which 'might' destroy your (old) screen (offcially non-compatible timing on VGA). It's a handy option to have for singlehead cards though. NOTE: fixed DMA acceleration fault introduced when I added the vga_on_tv option initially (it over-wrote the dma setting!). DMA acc should now be working 'normally' again. Bumped driver to version 0.59. Note: We have a confirmed working Nvidia Geforce 7800 GT PCIe (ID 0x0092). Acceleration is disabled yet on them though.

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


# 5890efa4 22-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small logging text update.

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


# 0c73ffe8 22-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added 'force TV output signal type' option to nv.settings. Works OK (so implemented). Also added option to keep VGA on for a head outputting TV signals, but that's not implemented yet (always on currently). Bumped version to 0.58.

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


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

checked CX25871 on wstv: all modes OK. So only a 'comments update' here.

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


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

verified CX25871 on NV11 working OK. Tweaked it's horizontal TVpicture position for PAL VCD and NTSC DVD to be indeed overscanning on all sides on a 4:3 TV. Enabled TVout upto/including NV15, still assuming TVout is on primary head for dualhead cards (will fix that asap I hope). Newer cards with BT/CX still only display the testimage if TVout is enabled. Fixed 'random horizontal position of TVout picture' on NV11.

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


# 3aa21459 15-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added DPMS support (in the normal sense) for TVout: TVpicture is turned off completely when screensaver turns off screen.

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


# d6d450e1 15-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added TVout DPMS function: at this time only completely disables output when non-TVout mode is selected.

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


# 4594e58a 14-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated NV15 hpos on TV. Tested several TNT1, TNT2 and a GeForce2Ti card with BT 868 and 869 chips: all OK.

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


# 4e918a7c 13-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

comment updates. BT TVout on TNT1 completed.

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


# f2069d6c 13-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

shifted NTSC640x480 desktop mode 7 pixels to the left so rightmost pixels are now visible.

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


# 6245f19c 11-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated PAL VCD mode (768x576 overscanning) to center better: there was a vertical black bar on the right side of the screen (tested with TNT1 on a 4:3 TV.

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


# 9b394aa2 11-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

programming register PLLSEL as being write-only on singlehead cards. This fixes cursor offset to the left (some 4 pixels) on TNT1 (at least) compared to screen content, along with the missing pixels on the right side of the TVscreen in Desktop modes. Also fixes 'random' extra horizontal offsets on the screen(s). Looks like TVout for BT/CX is now exactly the same as with BeTVOut. (Note BTW that BeTVOut nolonger works correctly alongside this driver because this driver now programmes the encoder itself as well.

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


# b0fce481 06-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

enabled full TVout support on singlehead cards for the supported encoders, dualhead cards now display the testimage in the selected TVout mode. LCD panels are now taken into consideration and should work with the code enabled, though not (correct) while TVout is active (hardware limitation I expect). DPMS off for panels and CRT's while doing TVout is still lacking. I tested all video modes on a TNT1 with BT869: work beautifully: exactly like with BeTVOut. I'm glad I had that done already.. :). For singlehead cards I need to update some prefs panel program to be able to set the Desktop TVout modes (Dualhead setup tweak for now I think). Bumped version to 0.55. Enjoy...

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


# 0b36eea4 06-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed experimental TVout support for singlehead cards using BT868/869, Conexant CX25870/CX25871 chips. As setups with laptop or DVI panels will probably mess up, it's still disabled apart from enabling a testimage. Now starting actual testing..

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


# bd419083 05-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed preliminary enable TVout function, started on disable TVout function (in progress)

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


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

adding start_tvout and stop_tvout routines: in progress. Apart from the testimage no TVout yet.

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


# 463f0fab 03-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small comments update.

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


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

adding more crtc modelines for desktop TVout (in progress)

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


# 85406c4d 03-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added display_mode.timing 'tweaking' for the 4 TVout video modes. The 4 desktop modes have yet to be added, (so) not yet finished.

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


# c5fe5f2d 02-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed PAL VCD modesetting validation: actual resolution is 768x576 for 800x600 overscanning mode. Testing with cmd line app 'vidscreen' BTW (matrox driver site, 'tools'). Note, still got to fix NTSC DVD modesetting: aspect check needs to be disabled for TVout..

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


# efe9c7a6 01-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added TVencoder activation code for mode asked for by user (if supported). Currently a testimage (vertical colorbars) will be displayed on the TVset if a TVmode is selected, while VGA keeps working normally. Singlehead cards only for now, dualhead don't execute this yet. Warning: not yet actually tested (in this driver ;-)

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


# b2459715 01-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated validation for TVflags in display_mode to reflect nvidia driver capabilities (instead of matrox driver ones). Going for singlehead card tests first.

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


# 9a7218c5 30-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added more logging for brooktree TVout.

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


# 21f6ecab 30-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added more brooktree/conexant modesetting stuff. still not in use.

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


# 77497c49 29-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

removed old matrox MAVEN tvout code. Added fixed 'modelines' for Brooktree/conexant TVout: PAL and NTSC 640x480 and 800x600 (desktop modes), PAL 720x576 and NTSC 720x480 overscanning modes (DVD playback), plus PAL 800x600 and NTSC 640x480 overscanning modes (VCD/MPEG1 playback). All from BeTVOut, not yet in use though (no TVout yet).

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


# 0ece4905 29-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added i2C readbuf and writebuf routines, added extra check on supported BT/CX encoder type.

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


# 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


# fb6cadf1 19-Jan-2004 shatty <shatty@nowhere.fake>

---------------------------------------------------------------------------------------
RCS file: /cvsroot/open-beos/current/src/add-ons/accelerants/nvidia/engine/nv_maventv.c,v
Working file: nv_maventv.c
head: 1.4
branch:
locks: strict
access list:
symbolic names:
openBeOS_Nvidia_V0_07_src: 1.1
openBeOS_Nvidia_V0_06_src: 1.1
openBeOS_Nvidia_V0_05_src: 1.1
openBeOS_Nvidia_V0_04_src: 1.1
openBeOS_Nvidia_V0_03_src: 1.1
openBeOS_Nvidia_V0_02_src: 1.1
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
----------------------------
revision 1.4
date: 2004/01/17 10:43:53; author: rudolfc; state: Exp; lines: +45 -45
updated card recognition, more dualhead updates
----------------------------
revision 1.3
date: 2004/01/12 19:06:43; author: rudolfc; state: Exp; lines: +1 -1
crtc2 modifications for NV dualhead mode
----------------------------
revision 1.2
date: 2003/12/30 14:40:32; author: rudolfc; state: Exp; lines: +6 -1
fixed several compiler warnings
----------------------------
revision 1.1
date: 2003/11/23 05:30:14; author: shatty; state: Exp;
add nvidia accelerant
---------------------------------------------------------------------------------------


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


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

completed TVout support concerning dualhead (clone) modes and custom modeflag for selecting TVout head on a per mode basis. NV11 is now fully functional (with supported encoders that is).

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


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

modified Setmode for TVout. Dualhead switch mode now at least displays something on TV for NV11, just the wrong head. (in progress).

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


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

modified I2C- and brooktree-chip-detection routines to support all 4 possible i2c buses on dualhead cards.

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


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

added forced enabling Vsync (again) to stop_tv_out: just to be absolutely sure.

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


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

rewrote DPMS programming (this time the 'setting' part). Now the new nv.setting 'vga_on_tv' is respected: wich means that VGA output will be turned off by default when you enable TVout on a head (still only head1 supported for TVout). You can preset it to be kept enabled via that setting, although that is considered a tweak which 'might' destroy your (old) screen (offcially non-compatible timing on VGA). It's a handy option to have for singlehead cards though. NOTE: fixed DMA acceleration fault introduced when I added the vga_on_tv option initially (it over-wrote the dma setting!). DMA acc should now be working 'normally' again. Bumped driver to version 0.59. Note: We have a confirmed working Nvidia Geforce 7800 GT PCIe (ID 0x0092). Acceleration is disabled yet on them though.

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


# 5890efa463a70bb9edb73f4f3e15951059c1534b 22-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small logging text update.

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


# 0c73ffe8e7af2261a4b985d8d6dc39b29bee882f 22-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added 'force TV output signal type' option to nv.settings. Works OK (so implemented). Also added option to keep VGA on for a head outputting TV signals, but that's not implemented yet (always on currently). Bumped version to 0.58.

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


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

checked CX25871 on wstv: all modes OK. So only a 'comments update' here.

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


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

verified CX25871 on NV11 working OK. Tweaked it's horizontal TVpicture position for PAL VCD and NTSC DVD to be indeed overscanning on all sides on a 4:3 TV. Enabled TVout upto/including NV15, still assuming TVout is on primary head for dualhead cards (will fix that asap I hope). Newer cards with BT/CX still only display the testimage if TVout is enabled. Fixed 'random horizontal position of TVout picture' on NV11.

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


# 3aa2145919a3c8a7c08b455600c3c95e33744e12 15-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added DPMS support (in the normal sense) for TVout: TVpicture is turned off completely when screensaver turns off screen.

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


# d6d450e12448e610869cdbaae4efddea81461536 15-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added TVout DPMS function: at this time only completely disables output when non-TVout mode is selected.

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


# 4594e58a1bef7c90159326e104b85399361d8c9d 14-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated NV15 hpos on TV. Tested several TNT1, TNT2 and a GeForce2Ti card with BT 868 and 869 chips: all OK.

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


# 4e918a7c19cdf5ab20aba094d3136fdbe2d4c566 13-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

comment updates. BT TVout on TNT1 completed.

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


# f2069d6c5cfcf83dce96d7c211faf14876c326d4 13-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

shifted NTSC640x480 desktop mode 7 pixels to the left so rightmost pixels are now visible.

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


# 6245f19cbe9c8e1261601233ad91c226b64c0981 11-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated PAL VCD mode (768x576 overscanning) to center better: there was a vertical black bar on the right side of the screen (tested with TNT1 on a 4:3 TV.

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


# 9b394aa248d99584ba2f9514b6684c0e4acaf1e3 11-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

programming register PLLSEL as being write-only on singlehead cards. This fixes cursor offset to the left (some 4 pixels) on TNT1 (at least) compared to screen content, along with the missing pixels on the right side of the TVscreen in Desktop modes. Also fixes 'random' extra horizontal offsets on the screen(s). Looks like TVout for BT/CX is now exactly the same as with BeTVOut. (Note BTW that BeTVOut nolonger works correctly alongside this driver because this driver now programmes the encoder itself as well.

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


# b0fce4813c9b45410e4f68a2dce11fa04d7dc801 06-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

enabled full TVout support on singlehead cards for the supported encoders, dualhead cards now display the testimage in the selected TVout mode. LCD panels are now taken into consideration and should work with the code enabled, though not (correct) while TVout is active (hardware limitation I expect). DPMS off for panels and CRT's while doing TVout is still lacking. I tested all video modes on a TNT1 with BT869: work beautifully: exactly like with BeTVOut. I'm glad I had that done already.. :). For singlehead cards I need to update some prefs panel program to be able to set the Desktop TVout modes (Dualhead setup tweak for now I think). Bumped version to 0.55. Enjoy...

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


# 0b36eea44d38ed94c99d31d13ae066b45b476846 06-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed experimental TVout support for singlehead cards using BT868/869, Conexant CX25870/CX25871 chips. As setups with laptop or DVI panels will probably mess up, it's still disabled apart from enabling a testimage. Now starting actual testing..

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


# bd41908394df8547c85a9ba966c1c35383852865 05-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

completed preliminary enable TVout function, started on disable TVout function (in progress)

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


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

adding start_tvout and stop_tvout routines: in progress. Apart from the testimage no TVout yet.

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


# 463f0fab639cd7bc23b2240309d19d43486154ff 03-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

small comments update.

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


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

adding more crtc modelines for desktop TVout (in progress)

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


# 85406c4d2a6bc13f7da08faf4fc398284049b168 03-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added display_mode.timing 'tweaking' for the 4 TVout video modes. The 4 desktop modes have yet to be added, (so) not yet finished.

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


# c5fe5f2d061e6ee95d7d3280030a5c0fad451c95 02-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

fixed PAL VCD modesetting validation: actual resolution is 768x576 for 800x600 overscanning mode. Testing with cmd line app 'vidscreen' BTW (matrox driver site, 'tools'). Note, still got to fix NTSC DVD modesetting: aspect check needs to be disabled for TVout..

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


# efe9c7a607374b4f3e7fa6741901beed220ea8e7 01-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added TVencoder activation code for mode asked for by user (if supported). Currently a testimage (vertical colorbars) will be displayed on the TVset if a TVmode is selected, while VGA keeps working normally. Singlehead cards only for now, dualhead don't execute this yet. Warning: not yet actually tested (in this driver ;-)

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


# b245971503a6e22fa4a0ed7111d82c49710d662f 01-Oct-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated validation for TVflags in display_mode to reflect nvidia driver capabilities (instead of matrox driver ones). Going for singlehead card tests first.

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


# 9a7218c5e501d37652421f7e33b1960880d8f580 30-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added more logging for brooktree TVout.

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


# 21f6ecabcb217a3b581b58b1fe7996f6f0d55d90 30-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added more brooktree/conexant modesetting stuff. still not in use.

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


# 77497c49bf288e8ff676f3f012a270efb48a55c4 29-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

removed old matrox MAVEN tvout code. Added fixed 'modelines' for Brooktree/conexant TVout: PAL and NTSC 640x480 and 800x600 (desktop modes), PAL 720x576 and NTSC 720x480 overscanning modes (DVD playback), plus PAL 800x600 and NTSC 640x480 overscanning modes (VCD/MPEG1 playback). All from BeTVOut, not yet in use though (no TVout yet).

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


# 0ece490589ba2f03616ecc5990924b463abed48a 29-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added i2C readbuf and writebuf routines, added extra check on supported BT/CX encoder type.

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


# 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


# fb6cadf1b044bdac9a98eaba03a52f32473b834a 19-Jan-2004 shatty <shatty@nowhere.fake>

---------------------------------------------------------------------------------------
RCS file: /cvsroot/open-beos/current/src/add-ons/accelerants/nvidia/engine/nv_maventv.c,v
Working file: nv_maventv.c
head: 1.4
branch:
locks: strict
access list:
symbolic names:
openBeOS_Nvidia_V0_07_src: 1.1
openBeOS_Nvidia_V0_06_src: 1.1
openBeOS_Nvidia_V0_05_src: 1.1
openBeOS_Nvidia_V0_04_src: 1.1
openBeOS_Nvidia_V0_03_src: 1.1
openBeOS_Nvidia_V0_02_src: 1.1
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
----------------------------
revision 1.4
date: 2004/01/17 10:43:53; author: rudolfc; state: Exp; lines: +45 -45
updated card recognition, more dualhead updates
----------------------------
revision 1.3
date: 2004/01/12 19:06:43; author: rudolfc; state: Exp; lines: +1 -1
crtc2 modifications for NV dualhead mode
----------------------------
revision 1.2
date: 2003/12/30 14:40:32; author: rudolfc; state: Exp; lines: +6 -1
fixed several compiler warnings
----------------------------
revision 1.1
date: 2003/11/23 05:30:14; author: shatty; state: Exp;
add nvidia accelerant
---------------------------------------------------------------------------------------


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