Commit Graph
100 Commits
Author SHA1 Message Date
Rudolf Cornelissen d320dfaf9f small comment update
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-13 13:00:19 +00:00
Rudolf Cornelissen dc451d3d64 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-13 12:52:25 +00:00
Rudolf Cornelissen a393eaf832 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
2005-11-13 12:51:13 +00:00
Rudolf Cornelissen 48f7dca0df tiny comment update only
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-13 12:05:43 +00:00
Rudolf Cornelissen 3167da3659 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-11 19:30:46 +00:00
Rudolf Cornelissen 68fd170643 updated proposemode again: now it reflects that Desktop TVout cannot be done with G450/G550 as it's officially the case. (windows mimics it by using the acceleration engine to scale down your desktop. I'm not going to set that up for us as it's never 'perfect': try heavy acc engine use in windows (afaik): updates on TV drop to below 4x per second.) Bumped version to 0.22.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-11 19:30:06 +00:00
Rudolf Cornelissen 716677e500 proposemode B_BAD_VALUE override fixed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-10 19:42:03 +00:00
Rudolf Cornelissen cf12db4b0f updated proposemode to not overrule B_BAD_VALUE anymore in some cases.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-10 19:34:34 +00:00
Rudolf Cornelissen 53b136fe2e updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-10 19:24:35 +00:00
Rudolf Cornelissen 6967fb7a1c fixed a few errors in Proposemode: overriding B_BAD_VALUE is fixed, aborting with B_ERROR for dualhead modes in singlehead only colorspaces is fixed (routine continues with B_BAD_VALUE and in singlehead mode then). Bumped version to 0.21. It's refreshing to look from the Screenprefs app perspective :). Fixes done for 'unofficial prefs panel' Dualhead Setup 0.04 optimum compatibility (will be released soon).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-10 19:19:51 +00:00
Rudolf Cornelissen 779d5736a3 clearing TV_PRIMARY flag as Matrox driver can't do primary TVout yet (G400 and earlier hardware can do that though).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-10 16:48:28 +00:00
Rudolf Cornelissen 53ea108855 added custom TV_PRIMARY flag
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-10 16:38:25 +00:00
Rudolf Cornelissen 2a192f1266 bumped version to 0.61. note btw that nv11 seems to need extra crtc fifo watermark setup for secondary head: tvout still distorts in some modes (vertical distortion stripes).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-03 18:27:00 +00:00
Rudolf Cornelissen 3c71b494d6 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
2005-11-03 18:25:16 +00:00
Rudolf Cornelissen c0ebc619bf 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
2005-11-03 16:11:12 +00:00
Rudolf Cornelissen a658603ae8 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
2005-11-03 14:43:30 +00:00
Rudolf Cornelissen d7dfe68dc7 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
2005-11-03 14:11:47 +00:00
Rudolf Cornelissen f1c7ec04ea added mode.flag 'TV_PRIMARY (1<<13)'. On dualhead cards you need to issue this flag to setup a TVout mode on the primary head: such a mode can be single- or dualhead. Note BTW that (most of) these custom flags will disappear somewhere in the future: when Haiku supports multiple graphics cards.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-27 20:08:44 +00:00
Rudolf Cornelissen 2fc04e611d bumped version to 0.60.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-27 20:05:56 +00:00
Rudolf Cornelissen 91731297ec 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
2005-10-27 20:05:14 +00:00
Rudolf Cornelissen 9be6619743 confirmed NVDAC2_TV_SETUP register to exist (tested NV11). Just saw 'real' (as much as is possible with beos currently :) dualhead running on a GF2MX400 using TVmode on the second head (as it has no VGA connector). Confirmed NV11 having a hardcursor on the second head, and having the capability to switch the overlay engine back and forth. Now I still have to update the TVout drivercode for real for this.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-27 17:57:48 +00:00
Rudolf Cornelissen 0b3dc403c8 added status of two new i2c buses to shared_info.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-27 14:32:59 +00:00
Rudolf Cornelissen 260dcf8ee8 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
2005-10-27 14:31:44 +00:00
Rudolf Cornelissen 9aeec96cbd updated documentation concerning TVout. Added an extensive description about TVout setup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 19:20:34 +00:00
Rudolf Cornelissen 82f3114509 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
2005-10-25 15:43:12 +00:00
Rudolf Cornelissen 6de3877ad5 fixed dma_acc setting fault I introduced when adding vga_on_tv. Updated docs for a part.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 13:54:43 +00:00
Rudolf Cornelissen 20603b95f3 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
2005-10-25 13:53:31 +00:00
Rudolf Cornelissen 5385dd2e3b added DPMS flags to shared_info
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 11:38:50 +00:00
Rudolf Cornelissen bfecd0cddb 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
2005-10-25 11:38:01 +00:00
Rudolf Cornelissen 9ae6a9220a added card_type NV47 (== G70 == GF7800)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 09:52:11 +00:00
Rudolf Cornelissen afee6bde9b added recognition for the first two GeForce 7800 cards. Updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 09:50:50 +00:00
Rudolf Cornelissen 63c982f412 added recognition for the first two GeForce 7800 cards: a 7800 GT PCIe and a 7800 GTX Go PCIe. Acceleration is currently disabled. Note please that these cards are not yet tested! (feedback very welcome)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 09:50:09 +00:00
Rudolf Cornelissen 5890efa463 small logging text update.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 11:14:34 +00:00
Rudolf Cornelissen 2a70a7fc9b updated shared info for two new nv.settings items.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 09:58:16 +00:00
Rudolf Cornelissen c0013f4f82 added support for those two new nv.settings options. Updated doc (partly)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 09:57:43 +00:00
Rudolf Cornelissen 0c73ffe8e7 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
2005-10-22 09:56:41 +00:00
Rudolf Cornelissen 22876ee340 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 20:05:14 +00:00
Rudolf Cornelissen 8ca55b56f0 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
2005-10-20 20:04:51 +00:00
Rudolf Cornelissen 195828c401 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
2005-10-20 15:37:28 +00:00
Rudolf Cornelissen 5cadaa5f63 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
2005-10-20 15:06:29 +00:00
Rudolf Cornelissen 10aea461cc oops. Now only uninstalling INT handler if it was previously installed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 09:10:32 +00:00
Rudolf Cornelissen e68584fa18 added shared_info flag for 'no-INT-assigned' stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 09:02:37 +00:00
Rudolf Cornelissen 52c8d6219d added no-INT-assigned capability to kerneldriver. Updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-20 09:01:54 +00:00
Rudolf Cornelissen ce3fc95ee4 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
2005-10-20 09:00:38 +00:00
Rudolf Cornelissen 3aa2145919 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
2005-10-15 10:38:11 +00:00
Rudolf Cornelissen d6d450e124 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
2005-10-15 09:52:13 +00:00
Rudolf Cornelissen 0703480cab updated setmode command: only disable TVout when it's actually supported.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 20:08:59 +00:00
Rudolf Cornelissen 4594e58a1b 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
2005-10-14 19:59:50 +00:00
Rudolf Cornelissen 4e918a7c19 comment updates. BT TVout on TNT1 completed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 15:13:17 +00:00
Rudolf Cornelissen f2069d6c5c 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
2005-10-13 14:37:47 +00:00
Rudolf Cornelissen 6245f19cbe 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
2005-10-11 19:44:48 +00:00
Rudolf Cornelissen 9b394aa248 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
2005-10-11 13:24:53 +00:00
Rudolf Cornelissen 57ba12dcf6 updated docs. Note BTW that TVout support is still 'experimental' and under development.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 15:57:31 +00:00
Rudolf Cornelissen b0fce4813c 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
2005-10-06 15:56:53 +00:00
Rudolf Cornelissen 0b36eea44d 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
2005-10-06 10:12:56 +00:00
Rudolf Cornelissen bd41908394 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
2005-10-05 17:34:19 +00:00
Rudolf Cornelissen 22a0d15b16 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
2005-10-04 15:33:18 +00:00
Rudolf Cornelissen 463f0fab63 small comments update.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-04 12:16:48 +00:00
Rudolf Cornelissen da3804ee61 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
2005-10-04 11:59:28 +00:00
Rudolf Cornelissen bd7693f272 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
2005-10-04 10:02:53 +00:00
Rudolf Cornelissen 85406c4d2a 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
2005-10-03 20:01:11 +00:00
Rudolf Cornelissen 6e7679be67 updated proposemode aspect check stuff to forego checking in the case of a tvout capable card, for a TVout compatible mode if TVout is indeed requested. In other words: fixed NTSC DVD mode. (note btw that aspect and modeline stuff should be / will be resetup one day when DDC/EDID is finally used: but before that can be done, I2C setup should be clear. setting up TVout will help out in this area :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-02 15:45:48 +00:00
Rudolf Cornelissen c5fe5f2d06 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
2005-10-02 08:27:07 +00:00
Rudolf Cornelissen efe9c7a607 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
2005-10-01 19:28:19 +00:00
Rudolf Cornelissen b245971503 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
2005-10-01 10:06:58 +00:00
Rudolf Cornelissen 9a7218c5e5 added more logging for brooktree TVout.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-30 19:51:07 +00:00
Rudolf Cornelissen 21f6ecabcb 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
2005-09-30 18:21:19 +00:00
Rudolf Cornelissen aa6505c068 removed all matrox maven TVout register and macro defines. now oly nVidia defines are left here.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-29 15:37:48 +00:00
Rudolf Cornelissen 77497c49bf 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
2005-09-29 15:36:49 +00:00
Rudolf Cornelissen 0ece490589 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
2005-09-29 14:40:48 +00:00
Rudolf Cornelissen 0d0b03fd3a updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-29 11:47:48 +00:00
Rudolf Cornelissen 0d492d2ff8 finalized virtualscreen panning control granularity constraints for VIA HW. Overlay is now completed BTW. Bumped version to 0.16. Next up: 2D acceleration. Hopefully :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-29 11:47:11 +00:00
Rudolf Cornelissen 217024e94c added virtualscreen support: overlay output window gets corrected when viewport in virtualscreen is moved.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-29 10:04:18 +00:00
Rudolf Cornelissen 980cfe5327 tuned VIA overlay buffer pitch/width granularity constraints: VIA handles downto 8 pixels (checked on CLE266)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-29 09:28:11 +00:00
Rudolf Cornelissen c21b10bf4c quickly tried chromakeying as alternative to colorkeying, but that doesn't seem a solution. So, overlay tweak alert for CMAP8 still stands. Looks like 'BeOS' needs to send a colorpalette index to the driver for colorkeying alongside the currently used way (sending literal color).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-29 08:02:06 +00:00
Rudolf Cornelissen 78c83805f2 added forgotten explicit CRTC1 access selection in some i2c routines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 14:55:17 +00:00
Rudolf Cornelissen 04d11137af expanded/modified shared_info once again (for encoder info).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 14:19:41 +00:00
Rudolf Cornelissen 12566cbd0d 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
2005-09-27 14:18:46 +00:00
Rudolf Cornelissen 170a41cdcb added I2C bus and TVout chip-location specific info to shared_info.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 10:31:05 +00:00
Rudolf Cornelissen 6527fbe56b updated docs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 10:30:19 +00:00
Rudolf Cornelissen 15b4879f71 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
2005-09-27 10:25:49 +00:00
Rudolf Cornelissen f4d7a7b4bd added more I2C stuff. Low(est) level routines are now completed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-25 19:27:26 +00:00
Rudolf Cornelissen d1d567ab21 added more I2C stuff (in progress)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-25 17:48:04 +00:00
Rudolf Cornelissen f282ec8116 added I2C bus #0 and #1 CRTC register defines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-24 17:57:05 +00:00
Rudolf Cornelissen 6c25f4ae64 added I2C routines from BeTVOut (in progress). Starting TVout support (whenever I have a bit of spare time :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-24 17:55:58 +00:00
Rudolf Cornelissen 92f02bd42f updated nVidia kerneldriver to use DMA acceleration as default when the nv.settings file is missing. As long as the settings file was present, the settings file default was used, which already was DMA acceleration. Now DMA is always used as default.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-22 19:01:49 +00:00
Rudolf Cornelissen 0d5dbad3ec fixed a faulty registerdefine (colorkey register). Modified some register's names to be more 'precise'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-22 18:09:56 +00:00
Rudolf Cornelissen 9e372555d2 bumped version to 0.15.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-22 18:09:03 +00:00
Rudolf Cornelissen b96e7791c1 added overlay colorkeying. Working OK in 15,16 and 32bit spaces. Works (with a tweak) in 8 bit space. The VIA hardware wants the colorpalette INDEX as key instead of the displayed color(cd obos_svn/trunk/src/add-ons/accelerants/via/). Unfortunately a reverse lookup isn't conclusive, as BeOS and Zeta use two palette entries for white. I'll try to find a hardware setup so that it wants a displayed color in 8-bit mode, but no guarantees yet. If this turns out to not be possible, I suggest adding the color-index of the current displayed mode (valid only in indexed mode, so CMAP8) to the system's overlay_window information struct, alongside the displayed color. Somehow (would break compatibility with other BeOS versions?). Anyway, I'll search for a different hardware setup for this. Keep your fingers crossed :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-22 18:05:35 +00:00
Rudolf Cornelissen 599406aaea bumped driverversion to 0.14
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 18:14:16 +00:00
Rudolf Cornelissen 8fa1f9b48d added vertical downscaling for overlay. This completes scaling. Quality wise this engine is like the Neomagic engine, and TNT engine with the added prescaling downscaling feature added. This is the 'video 1' engine. There is also a video 3 engine (which should be the same quality, but lacks YUV12 support in hardware). And (newer?) VIA unichrome chipsets have a 'HQV: high quality video' engine as well: which supports setting specific filters (with taps). this latter engine would be nice to use instead, maybe in the future. For now we use the video 1 engine. Note: lacking are virtualscreen support and colorkeying in the driver. Next up. Apart from that overlay is now complete (yuy2 only supported at this time, as 'always' with my drivers :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 18:13:49 +00:00
Rudolf Cornelissen 975cd0c019 added horizontal overlay pre-downscaling so output can now scale downto 1/16th. Y-downscaling yet todo..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 15:31:17 +00:00
Rudolf Cornelissen 19c9c0bb0e added HW retrace sync (preventing overlay update glitches during resizing/moving windows etc)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 14:44:13 +00:00
Rudolf Cornelissen 3104d2e390 bumped version to 0.13
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 12:28:31 +00:00
Rudolf Cornelissen 5cb7cd0464 added 'horizontal source last position' overlay register programming. high-res video (DVD) now shows correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 12:28:05 +00:00
Rudolf Cornelissen 9794c563cd updated reg define
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-17 08:45:14 +00:00
Rudolf Cornelissen 76da25cab4 added chip_rev fetching code, updated doc.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-17 08:44:34 +00:00
Rudolf Cornelissen f583f15cbc added chip_rev dependant overlay programming, added hor. and vert. filtering. Bumped version to 0.12.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-17 08:43:40 +00:00
Rudolf Cornelissen a59bd8b8bc updated docs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-15 17:27:17 +00:00
Rudolf Cornelissen 83cb01f0cd added overlay upscaling. Downscaling not yet supported. Set the temporary max width to 384 so PAL MPEG1 should display OK (will be a calculated setting later). Enabled overlay support now, although it might not work on all cards. If you test it, please let me know what happens. Bumped version to 0.11.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-15 17:26:48 +00:00