summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-01-04Untangle XF86DRI from the driver-specific DRI defineHEADmasterPeter Hutterer7-32/+36
XF86DRI is defined by xorg-server.h, so --disable-dri in the driver itself does exactly nothing other than not fill in the CFLAGS and thus stop the driver from compiling. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-01-03When we can't load the xaa or exa modules, use shadowfb insteadJulien Cristau1-21/+25
Signed-off-by: Julien Cristau <jcristau@debian.org>
2011-12-29Check MGAAllocAdaptor() for memory allocation failureAlan Coopersmith1-0/+6
If it couldn't allocate memory, don't attempt to write a bunch of values to the NULL pointer before returning it, but just pass the NULL along right away. Resolves parfait warnings of the form: Error: Null pointer dereference (CWE 476) Write to null pointer 'adapt' at line 322 of src/mga_video.c in function 'MGASetupImageVideoTexture'. Function 'MGAAllocAdaptor' may return constant 'NULL' at line 237, called at line 320. Null pointer introduced at line 237 in function 'MGAAllocAdaptor'. repeated for every line writing to the adapt pointer in each function. [ This bug was found by the Parfait 0.4.2 bug checking tool. For more information see http://labs.oracle.com/projects/parfait/ ] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
2011-12-07Add support for Video Memory greater then 8MChristian Toutant1-8/+48
Expand memory mapping of framebuffer from 8 to 16MB Fix segfault on redhat distibution Signed-off-by: Christian Toutant <ctoutant@matrox.com>
2011-10-29Include "xf86Modes.h" for xf86ModeBandwidthJeremy Huddleston1-0/+4
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-29Include <unistd.h> for usleepJeremy Huddleston1-0/+2
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-27Remove calls to xf86IsPc98()Matt Turner2-14/+2
Reviewed-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-09-27Fix printf format specifier warningMatt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-09-27Remove if(E != NULL) checks around free(E)Matt Turner4-36/+17
Reviewed-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-09-27Remove xalloc/xcalloc/xrealloc/xfreeMatt Turner7-80/+80
Reviewed-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-09-20Delete support for MGA's proprietary HAL: unifdef USEMGAHAL.Jamey Sharp6-1516/+0
This patch produced with: for f in `git grep -Fwl USEMGAHAL`; do unifdef -B -UUSEMGAHAL $f | sponge $f done Adam Jackson wrote: Hey, so, remember back in the dark ages when dualhead was this insanely wild differentiating feature? Matrox thought it was so special, in fact, that they hid most of the implementation of it (and a bunch of other stuff) in a binary-only blob called the HALlib. As you'd expect it was pretty much a cut-and-paste of the relevant Windows code, and then some open glue to keep it working; clientlx.c is that glue. I guess the theory was that if you don't tell people which registers to duplicate to implement a second pipe in their own hardware, they won't figure it out? A pretty eyeroll-worthy idea even at the time, and definitely not something we should be condoning anymore. Kill it with fire, but while you're at it, untangle the hideous mess of MGA_HAL() macros too. Signed-off-by: Jamey Sharp <jamey@minilop.net> Cc: Adam Jackson <ajax@redhat.com>
2011-09-20Nothing uses clientlx.c, so delete it.Jamey Sharp4-920/+0
Adam Jackson wrote: Hey, so, remember back in the dark ages when dualhead was this insanely wild differentiating feature? Matrox thought it was so special, in fact, that they hid most of the implementation of it (and a bunch of other stuff) in a binary-only blob called the HALlib. As you'd expect it was pretty much a cut-and-paste of the relevant Windows code, and then some open glue to keep it working; clientlx.c is that glue. I guess the theory was that if you don't tell people which registers to duplicate to implement a second pipe in their own hardware, they won't figure it out? A pretty eyeroll-worthy idea even at the time, and definitely not something we should be condoning anymore. Kill it with fire ... Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
2011-09-20Reset tagfifo for renesas.Christian Toutant2-0/+25
For renesas, we need to reset tagfifo after a mode switch. Signed-off-by: Christian Toutant <ctoutant@matrox.com>
2011-08-03Added support for G200SE Pilot3Christian Toutant1-14/+80
Optimize use of bandwidth and increase maximum resolution to 1920x1200 Signed-off-by: Christian Toutant <ctoutant@matrox.com>
2011-06-22Don't include xf86Priv.hAdam Jackson1-1/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-12-17added support for G200ER.Yannick Heneault6-22/+222
2010-10-30Sun's copyrights now belong to OracleAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-14Don't allow the config file to override BIOS locationAdam Jackson1-15/+8
Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-10-06Purge cvs tags.Jesse Adkins12-28/+0
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-08-25modified G200SE conditionnal statement about revision register for products ↵Yannick Heneault1-3/+3
compatibility.
2010-08-10xf86-video-mga 1.4.13xf86-video-mga-1.4.13Adam Jackson1-1/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-07-22config: add comments for main statementsGaetan Nadon1-7/+6
2010-07-22config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILESGaetan Nadon1-5/+6
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-22config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon1-3/+3
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-22config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-22config: complete AC_INIT m4 quotingGaetan Nadon1-2/+2
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-22config: remove unrequired AC_SUBST([DRI_CFLAGS])Gaetan Nadon1-1/+0
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-22config: remove unrequired AC_SUBST([XORG_CFLAGS])Gaetan Nadon1-1/+0
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-22config: remove unrequired AC_HEADER_STDCGaetan Nadon1-2/+0
Autoconf says: "This macro is obsolescent, as current systems have conforming header files. New programs need not use this macro". Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-22config: remove AC_PROG_CC as it overrides AC_PROG_C_C99Gaetan Nadon1-1/+0
XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it resets CC to gcc. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-22config: update AC_PREREQ statement to 2.60Gaetan Nadon1-1/+1
Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-22config: upgrade to util-macros 1.8 for additional man page supportGaetan Nadon2-22/+8
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages.
2010-07-22adjusted max bandwith and max pitch values for G200SEYannick Heneault1-7/+2
2010-05-13mga 1.4.12xf86-video-mga-1.4.12Adam Jackson1-1/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-03-24Changed probe_size value to detect up to 16Megs of video ram on G200eV.Yannick Heneault1-1/+1
2010-02-11Added support for G200EHYannick Heneault6-3/+206
2010-01-15Update Sun license notices to current X.Org standard formAlan Coopersmith1-22/+19
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-12-28configure.ac: use backticks rather than $() for cmd subsGaetan Nadon1-1/+1
Use "$PKG_CONFIG" rather than hard coded "pkg-config" Acked-by: Dan Nicholson <dbn.lists@gmail.com> Acked-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-11-23Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon1-0/+1
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-11-10INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon1-1/+0
Automake 'foreign' option is specified in configure.ac. Remove from Makefile.am
2009-11-10INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon2-3/+6
Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet.
2009-11-10Several driver modules do not have a ChangeLog target in Makefile.am #23814Gaetan Nadon2-11/+6
The git generated ChangeLog replaces the hand written one. Update configure.ac to xorg-macros level 1.3. Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros Update Makefile.am to add ChangeLog target if missing Remove ChangeLog from EXTRA_DIST or *CLEAN variables This is a pre-req for the INSTALL_CMD
2009-11-10.gitignore: use common defaults with custom section # 24239Gaetan Nadon2-12/+65
Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults.
2009-11-10Removed DDC1 support for G200eW.Yannick Heneault1-3/+8
2009-08-19updated G200eW PLL programming sequence.Yannick Heneault1-20/+1
2009-07-30mga: bump for release 1.4.11xf86-video-mga-1.4.11Dave Airlie1-1/+1
2009-07-28mga: change to using ABI version checkDave Airlie1-1/+1
2009-07-28mga: update for resources/RAC API removalDave Airlie7-23/+25
2009-07-11xf86-video-mga: use XORG_CHANGELOG macro to create ChangeLog. #22611Gaetan Nadon2-1/+7
Adding the macro in configure.ac and use it in Makefile.am Refer to: https://bugs.freedesktop.org/show_bug.cgi?id=22611 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-28Remove useless loader symbol lists.Adam Jackson1-228/+5