aboutsummaryrefslogtreecommitdiffhomepage
path: root/drivers/mga_vid.c
Commit message (Collapse)AuthorAge
* standard license headers for mga_vidGravatar diego2008-06-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27059 b3059339-0415-0410-9bf9-f77b7e298cf2
* add MGA_VID_GET_VERSION ioctl to old mga_vid driver for compatibility with ↵Gravatar attila2008-06-14
| | | | | | "new" mplayer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27058 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove useless parentheses from return statements.Gravatar diego2008-05-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26791 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Move definitions to a more standard place.Gravatar diego2008-02-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26036 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add standard license header and make copyright notices consistent.Gravatar diego2008-02-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26035 b3059339-0415-0410-9bf9-f77b7e298cf2
* ISO8859-1 --> UTF-8Gravatar diego2007-07-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23754 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove support for 2.5.x kernels.Gravatar diego2007-03-17
| | | | | | | | It's just a bunch of ugly #ifdef conditionals and probably does not work with later 2.5.x versions anyway. For 2.6.x there is an external version. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22696 b3059339-0415-0410-9bf9-f77b7e298cf2
* many small typo and grammar fixesGravatar gabucino2003-10-04
| | | | | | | 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.Gravatar attila2003-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* selectable 'major', patch by Hans-Andreas Engel <engel@node.ch>Gravatar alex2003-03-21
| | | | 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>Gravatar alex2003-03-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9632 b3059339-0415-0410-9bf9-f77b7e298cf2
* workaround wrong detected memory sizes on G400 cards.Gravatar attila2003-03-02
| | | | | | | 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.Gravatar eyck2003-02-17
| | | | | | | 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 BeregszaszGravatar eyck2003-02-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9413 b3059339-0415-0410-9bf9-f77b7e298cf2
* - fixed overflow by +-0x80Gravatar arpi2002-07-25
| | | | | | | - 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
* linux-2.5.x support patch by Sytse Wielinga <s.b.wieling at student.utwente.nl>Gravatar alex2002-06-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6587 b3059339-0415-0410-9bf9-f77b7e298cf2
* devfs fallback support?Gravatar arpi2002-05-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6087 b3059339-0415-0410-9bf9-f77b7e298cf2
* patch that should fix the "isofs uses mga_vid" bugGravatar arpi2002-04-28
| | | | | | | by Attila Kinali <kinali@gmx.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5885 b3059339-0415-0410-9bf9-f77b7e298cf2
* devfs fix?Gravatar arpi2002-04-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5765 b3059339-0415-0410-9bf9-f77b7e298cf2
* dvfs fix, 10lGravatar arpi2002-04-18
| | | | 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 enablesGravatar eyck2002-04-16
| | | | | | | mga_vid operation with devfs. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5654 b3059339-0415-0410-9bf9-f77b7e298cf2
* Most of informational printk's ifdef'd.Gravatar eyck2002-04-14
| | | | | | | | 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 G200Gravatar arpi2002-03-25
| | | | 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. MurrellGravatar arpi2002-03-10
| | | | 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 ↵Gravatar eyck2002-02-16
| | | | | | | | | | 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>Gravatar arpi2002-02-09
| | | | 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 amountGravatar rfelker2002-02-07
| | | | | | | | | 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_vidGravatar eyck2002-02-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4528 b3059339-0415-0410-9bf9-f77b7e298cf2
* Attila Kinali fixing memleak introduced by me.Gravatar eyck2002-02-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4521 b3059339-0415-0410-9bf9-f77b7e298cf2
* Attila's Linux 2.2 patch, and contrast control appliedGravatar eyck2002-02-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4488 b3059339-0415-0410-9bf9-f77b7e298cf2
* support cat /dev/mga_vid.Gravatar eyck2002-02-02
| | | | 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 canGravatar eyck2002-02-02
| | | | | | | | 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 ;)Gravatar arpi2002-01-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3960 b3059339-0415-0410-9bf9-f77b7e298cf2
* use <linux/slab.h> instead of <linux/malloc.h> for kernels 2.4.9+Gravatar szabi2001-11-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3126 b3059339-0415-0410-9bf9-f77b7e298cf2
* ah, crtc2 disabled by defaultGravatar arpi2001-10-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2346 b3059339-0415-0410-9bf9-f77b7e298cf2
* CRTC2 YUV support (buggy?) by Jiri.Svoboda@seznam.czGravatar arpi2001-10-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2345 b3059339-0415-0410-9bf9-f77b7e298cf2
* gpl fix?Gravatar arpi2001-10-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2263 b3059339-0415-0410-9bf9-f77b7e298cf2
* save and restore colorkey, to work together with XvGravatar arpi2001-10-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2087 b3059339-0415-0410-9bf9-f77b7e298cf2
* working together with Xv (disabling colorkey at close)Gravatar arpi2001-10-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2086 b3059339-0415-0410-9bf9-f77b7e298cf2
* G550 supportGravatar arpi2001-09-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1990 b3059339-0415-0410-9bf9-f77b7e298cf2
* gcc warnings fixed - patch by Aelius aelius@wish.netGravatar arpi_esp2001-05-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@855 b3059339-0415-0410-9bf9-f77b7e298cf2
* G200 ramsize detection disabled, using 8M by defaultGravatar arpi_esp2001-04-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@663 b3059339-0415-0410-9bf9-f77b7e298cf2
* I420/IYUV supportGravatar arpi_esp2001-04-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@471 b3059339-0415-0410-9bf9-f77b7e298cf2
* UYVY supportGravatar arpi_esp2001-04-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@467 b3059339-0415-0410-9bf9-f77b7e298cf2
* G400 32MB SDRAM fixedGravatar arpi_esp2001-03-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@106 b3059339-0415-0410-9bf9-f77b7e298cf2
* G200/8MB SD ramsize detection fixedGravatar arpi_esp2001-03-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@103 b3059339-0415-0410-9bf9-f77b7e298cf2
* mga_ram_size=x works with hard-coded ramsize too (szabi)Gravatar arpi_esp2001-03-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@102 b3059339-0415-0410-9bf9-f77b7e298cf2
* mga_force_memsize->mga_ram_sizeGravatar arpi_esp2001-03-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@96 b3059339-0415-0410-9bf9-f77b7e298cf2
* printk() message for video off when releasing mga without ioctl()Gravatar lgb2001-03-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@95 b3059339-0415-0410-9bf9-f77b7e298cf2
* Module usage count not to allow remove module when usedGravatar lgb2001-03-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@94 b3059339-0415-0410-9bf9-f77b7e298cf2