summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* many small typo and grammar fixesgabucino2003-10-042-2/+2
| | | | | | | Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11001 b3059339-0415-0410-9bf9-f77b7e298cf2
* * Add multi device support.attila2003-08-311-557/+650
| | | | | | | | | | | | | | | | | | | | | | | | | | For the moment up to 16 cards are supported. More can be added easily by changing 2 defines. This makes 90% of the patch (mostly stupid s/$var/card->$var/) The different devices can be accessed by different minor numbers (0-15): mknod /dev/mga_vid0 c 178 0 mknod /dev/mga_vid1 c 178 1 mknod /dev/mga_vid2 c 178 2 mknod /dev/mga_vid3 c 178 3 ... ln -s mga_vid /dev/mga_vid * Change the devfs code to let the kernel assign us a major and a minor number (what is the sense behind using devfs anyways if we dont do that ?) Subdevices for the different cards are created. mga_vid uses the first card (for compatibility) * Fix a possible error when mmap() is called before the card is configured by a ioctl(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10744 b3059339-0415-0410-9bf9-f77b7e298cf2
* output typo fixes: unknow --> unknowndiego2003-07-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10398 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow negative x,y for the overlay.albeu2003-06-261-7/+29
| | | | | | | Fix the window size git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10340 b3059339-0415-0410-9bf9-f77b7e298cf2
* The overlay can't downscalealbeu2003-03-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9707 b3059339-0415-0410-9bf9-f77b7e298cf2
* selectable 'major', patch by Hans-Andreas Engel <engel@node.ch>alex2003-03-211-7/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9640 b3059339-0415-0410-9bf9-f77b7e298cf2
* multiple mga device support by Hans-Andreas Engel <engel@node.ch>alex2003-03-211-20/+39
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9632 b3059339-0415-0410-9bf9-f77b7e298cf2
* add MODULE_LICENSEarpi2003-03-141-0/+3
| | | | | | | based on patch by Kronos <kronos@kronoz.cjb.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9589 b3059339-0415-0410-9bf9-f77b7e298cf2
* Shut up some debug messagesalbeu2003-03-121-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9569 b3059339-0415-0410-9bf9-f77b7e298cf2
* Overlay support (now vo_xtdfx is possible :) and yet another way toalbeu2003-03-123-20/+251
| | | | | | | | access the mem. Still the same problem than with the page fault handler :( But it doesn't need a patched agpgart. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update, new page fault handler to access the agp mem. Doesn't really workalbeu2003-03-092-37/+152
| | | | | | | | | here (display is grabelled) but read are realiable and fast. Could it be possible to write with the aperture and read with the page fault handler ? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9559 b3059339-0415-0410-9bf9-f77b7e298cf2
* I forgot to commit this filealbeu2003-03-091-2/+40
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9558 b3059339-0415-0410-9bf9-f77b7e298cf2
* tdfx_vid a new kernel driver for tdfx wich let use agp move :)albeu2003-03-074-1/+877
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9546 b3059339-0415-0410-9bf9-f77b7e298cf2
* workaround wrong detected memory sizes on G400 cards.attila2003-03-021-0/+21
| | | | | | | patch by ilmari@ping.uio.no (Dagfinn Ilmari Mannsåker) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9519 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix mistake in applying patch from Alex Beregszaszi.eyck2003-02-171-8/+8
| | | | | | | There's no security problem here, but better safe then sorry. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9450 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for string handling bug from Alex Beregszaszeyck2003-02-131-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9413 b3059339-0415-0410-9bf9-f77b7e298cf2
* keep reserved bits zeroed, test & bug report by andee (at irc.freenode.net)iive2003-02-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9211 b3059339-0415-0410-9bf9-f77b7e298cf2
* bunkus: Encapsulated arguments to #define in ( ... ) so that the #defines ↵mosu2003-01-151-4/+4
| | | | | | can be safely used like functions: mydef(flag ? val1 : val2) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8958 b3059339-0415-0410-9bf9-f77b7e298cf2
* M6 bug workaround by Hanno Bock <hanno@gmx.de>alex2003-01-131-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8942 b3059339-0415-0410-9bf9-f77b7e298cf2
* obsolete, no one seems to be interested to fix/update/finish thisarpi2002-09-042-688/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7277 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed some breakages of single-buffer rendering of tdfxmark2002-08-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7138 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed -W -Wall -g and other gcc-specific warning/debug optionsarpi2002-08-222-3/+3
| | | | | | | patch by Joey Parrish <joey@yunamusic.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7074 b3059339-0415-0410-9bf9-f77b7e298cf2
* - fixed overflow by +-0x80arpi2002-07-251-6/+9
| | | | | | | - save brightness/contrast values, so they won't be reset at next file git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6799 b3059339-0415-0410-9bf9-f77b7e298cf2
* little fixalex2002-07-251-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6790 b3059339-0415-0410-9bf9-f77b7e298cf2
* FFmpeg libavcodec directory is unknown to CVS, as is mga_vid_test.diego2002-07-131-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6728 b3059339-0415-0410-9bf9-f77b7e298cf2
* switch off nearest scaling ...pontscho2002-07-091-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6679 b3059339-0415-0410-9bf9-f77b7e298cf2
* linux-2.5.x support patch by Sytse Wielinga <s.b.wieling at student.utwente.nl>alex2002-06-281-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6587 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix fourcc's problempontscho2002-06-202-3/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6472 b3059339-0415-0410-9bf9-f77b7e298cf2
* When compiling mga_vid_test.c, memcpy() is subject to an implicitjaf2002-05-311-0/+1
| | | | | | | | | declaration. The attached patch fixes it. by Tore Anderson <tore@linpro.no> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6246 b3059339-0415-0410-9bf9-f77b7e298cf2
* devfs fallback support?arpi2002-05-131-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6087 b3059339-0415-0410-9bf9-f77b7e298cf2
* patch that should fix the "isofs uses mga_vid" bugarpi2002-04-281-3/+3
| | | | | | | by Attila Kinali <kinali@gmx.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5885 b3059339-0415-0410-9bf9-f77b7e298cf2
* devfs fix?arpi2002-04-211-6/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5765 b3059339-0415-0410-9bf9-f77b7e298cf2
* dvfs fix, 10larpi2002-04-181-2/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5683 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark Schreiber sent link to Marcus Sundburg patch to mga_vid, which enableseyck2002-04-161-1/+26
| | | | | | | mga_vid operation with devfs. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5654 b3059339-0415-0410-9bf9-f77b7e298cf2
* It is not the right place for this.eyck2002-04-151-1711/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5632 b3059339-0415-0410-9bf9-f77b7e298cf2
* mga_vid driver in form of a patch against linux-2.4.18eyck2002-04-151-0/+1711
| | | | | | | applicable using for example cd linux && patch -p1 < ~/mgavid.patch git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5626 b3059339-0415-0410-9bf9-f77b7e298cf2
* Most of informational printk's ifdef'd.eyck2002-04-141-0/+21
| | | | | | | | Now without debug only initial and error messages go to syslog. eyck added to list of people who messed with this file(?). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5624 b3059339-0415-0410-9bf9-f77b7e298cf2
* no native support for I420 in G200arpi2002-03-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5337 b3059339-0415-0410-9bf9-f77b7e298cf2
* min() moved out of #if, applied brightness/contrast patch by Brian J. Murrellarpi2002-03-102-2/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5014 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add module parameters: contrast and brightness, so when you need those ↵eyck2002-02-161-8/+11
| | | | | | | | | | permanently adjusted just add lines to /etc/modules or sth. insmod mga_vid.o mga_brightness=100 mga_contrast=-79 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4729 b3059339-0415-0410-9bf9-f77b7e298cf2
* g550 memdetect fix - patch by Diego Biurrun <diego@biurrun.de>arpi2002-02-091-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4595 b3059339-0415-0410-9bf9-f77b7e298cf2
* added mga_top_reserved module parameter to skip a configurable amountrfelker2002-02-071-1/+4
| | | | | | | | | of space at the top of video memory. this is needed to prevent corruption of the kernel's console font when using the "fastfont" option with matroxfb. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4560 b3059339-0415-0410-9bf9-f77b7e298cf2
* print also contrast on cat /dev/mga_videyck2002-02-041-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4528 b3059339-0415-0410-9bf9-f77b7e298cf2
* Attila Kinali fixing memleak introduced by me.eyck2002-02-031-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4521 b3059339-0415-0410-9bf9-f77b7e298cf2
* Attila's Linux 2.2 patch, and contrast control appliedeyck2002-02-021-4/+50
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4488 b3059339-0415-0410-9bf9-f77b7e298cf2
* support cat /dev/mga_vid.eyck2002-02-021-4/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4485 b3059339-0415-0410-9bf9-f77b7e298cf2
* framework for settings modifications like in radeon_vid ( /dev/mga_vid caneyck2002-02-021-4/+38
| | | | | | | | be written to ). Brightness and chroma control. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4484 b3059339-0415-0410-9bf9-f77b7e298cf2
* lastminute divbyzero fix by Attila Kinali ;)arpi2002-01-021-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3960 b3059339-0415-0410-9bf9-f77b7e298cf2
* note for all usersnick2002-01-021-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3946 b3059339-0415-0410-9bf9-f77b7e298cf2
* solution for non-x86 usersnick2002-01-023-5/+259
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3945 b3059339-0415-0410-9bf9-f77b7e298cf2
* notes for non-x86 usersnick2002-01-021-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3942 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support of Radeon2 8500 AIWnick2002-01-024-19/+55
| | | | | | | | Ugly fix (from non-x86 point) of FPU problems for Radeons color correction Added checking of boundaries during color correction on Radeon git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3941 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support of BRIGHTNESS, SATURATION, CONTRAST, HUE on Radeonsnick2001-12-312-4/+195
| | | | | | | | Thanks to GATOS's guys! Great work! Happy new year! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3922 b3059339-0415-0410-9bf9-f77b7e298cf2
* Radeon specific gamma correction initialization. (from gatos.sf.net)nick2001-12-302-3/+102
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3901 b3059339-0415-0410-9bf9-f77b7e298cf2
* install: target added, based on patch by Jukka Tastula ↵arpi2001-12-261-0/+7
| | | | | | <jukka.tastula@kotinet.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3769 b3059339-0415-0410-9bf9-f77b7e298cf2
* + Added support of FIFO engine (suggested by Vladimir Dergachev)nick2001-12-191-5/+74
| | | | | | | | - Disabled save/restore state functions (caused a lots of problems during driver reloading) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3608 b3059339-0415-0410-9bf9-f77b7e298cf2
* Just a hintnick2001-12-191-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3603 b3059339-0415-0410-9bf9-f77b7e298cf2
* Typofix (thanks to Felix)nick2001-12-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3602 b3059339-0415-0410-9bf9-f77b7e298cf2
* Partial sync with linux stuff (Linux driver is still buggy for me)nick2001-12-171-279/+164
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3556 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some info from Vladimir Dergachevnick2001-12-171-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3555 b3059339-0415-0410-9bf9-f77b7e298cf2
* Tuned some values:nick2001-12-142-13/+16
| | | | | | | | | - OV0_BASE_ADDR exists only on Radeons - hacked OV0_FILTER_CNTL values - extpanded IDCT stuff by MC (probably) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3488 b3059339-0415-0410-9bf9-f77b7e298cf2
* Preparing to next acceleration levelnick2001-12-123-2/+57
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3474 b3059339-0415-0410-9bf9-f77b7e298cf2
* Tuned some registersnick2001-12-123-8/+118
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3471 b3059339-0415-0410-9bf9-f77b7e298cf2
* - added capture registersnick2001-12-081-1661/+1767
| | | | | | | | - tuned some values for Rage128 and radeon - tabs (sorry for inconveniece) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3382 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed scaling in doublescan & interlaced modesnick2001-12-081-4/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3381 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed scaling in doublescan modesnick2001-12-071-9/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3370 b3059339-0415-0410-9bf9-f77b7e298cf2
* Minor fixesnick2001-12-071-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3369 b3059339-0415-0410-9bf9-f77b7e298cf2
* Minor flag changesnick2001-12-071-2/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3368 b3059339-0415-0410-9bf9-f77b7e298cf2
* rage128_vid are fully works!!!nick2001-12-072-40/+49
| | | | | | | | | | {Also there works brightness and saturation control ;) (Cause: there was saturation == 0 and as effect - grayscaled output). (on Radeons brightness and saturation still don't work)} Reversed color and video key definition for radeons - they caused problems git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3367 b3059339-0415-0410-9bf9-f77b7e298cf2
* Code cleanupnick2001-12-061-93/+75
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3349 b3059339-0415-0410-9bf9-f77b7e298cf2
* Minor fixesnick2001-12-062-9/+45
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3348 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rage128 problems. Attempt #3nick2001-12-051-7/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3335 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rage128 problems???nick2001-12-042-55/+85
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3306 b3059339-0415-0410-9bf9-f77b7e298cf2
* Color key still causes some troublesnick2001-12-032-14/+55
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3279 b3059339-0415-0410-9bf9-f77b7e298cf2
* -vo mga notesnick2001-12-021-2/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3271 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed compilation on non i686 archsnick2001-12-021-0/+2