.gitignore | 70 ++++++++++++++++++++++++++++++++++++++++++++----- COPYING | 52 ++++++++++++++++++++++++++++++------ ChangeLog | 48 --------------------------------- Makefile.am | 12 +++++++- configure.ac | 18 ++++++++---- man/.cvsignore | 2 - man/Makefile.am | 41 +++++++++++++--------------- man/voodoo.man | 2 - src/.cvsignore | 6 ---- src/voodoo.h | 2 - src/voodoo_dga.c | 10 +++---- src/voodoo_driver.c | 62 ++++++++++++++----------------------------- src/voodoo_hardware.c | 65 ++++++++++++++++++++++++++++++++++++--------- src/voodoo_pcirename.h | 6 ++-- 14 files changed, 232 insertions(+), 164 deletions(-)
New commits: commit e58d315815dca51b6fcecdeceb267fc8a7cb19e1 Author: Dave Airlie <airl...@redhat.com> Date: Mon Jul 5 14:39:03 2010 +1000 voodoo 1.2.4 diff --git a/configure.ac b/configure.ac index cdcf752..086c710 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_PREREQ(2.57) AC_INIT([xf86-video-voodoo], - 1.2.3, + 1.2.4, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xf86-video-voodoo) commit 180ca72baaa7b384cc6a11694bfd9559e1e071f0 Author: Gaetan Nadon <mems...@videotron.ca> Date: Sun Jun 13 13:16:34 2010 -0400 COPYING: replace stub file with actual Copyright notices. Signed-off-by: Gaetan Nadon <mems...@videotron.ca> diff --git a/COPYING b/COPYING index 7f33cbf..9694c64 100644 --- a/COPYING +++ b/COPYING @@ -1,12 +1,48 @@ -This is a stub file. This package has not yet had its complete licensing -information compiled. Please see the individual source files for details on -your rights to use and modify this software. + Copyright (c) 2000-2002 Ghozlane Toumi <gto...@laposte.net> -Please submit updated COPYING files to the Xorg bugzilla: +Relicensed from GPL to the X license by consent of the author -https://bugs.freedesktop.org/enter_bug.cgi?product=xorg +Other code Alan Cox (c) Copyright 2004 Red Hat Inc. -All licensing questions regarding this software should be directed at the -Xorg mailing list: +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the names of Red Hat, Alan Cox and Ghozlane Toumi +not be used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. Th authors make no +representations about the suitability of this software for any purpose. +It is provided "as is" without express or implied warranty. + +THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL RICHARD HECKER BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + +THIS SOFTWARE IS NOT DESIGNED FOR USE IN SAFETY CRITICAL SYSTEMS OF +ANY KIND OR FORM. + +Copyright 2007 George Sapountzis + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice (including the next +paragraph) shall be included in all copies or substantial portions of the +Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. -http://lists.freedesktop.org/mailman/listinfo/xorg commit 00216334c95b4e055243a1f363071054c9493e47 Author: Adam Jackson <a...@redhat.com> Date: Tue May 18 13:15:40 2010 -0400 Remove mibank.h reference Signed-off-by: Adam Jackson <a...@redhat.com> diff --git a/src/voodoo_dga.c b/src/voodoo_dga.c index 622c1f9..5b960e8 100644 --- a/src/voodoo_dga.c +++ b/src/voodoo_dga.c @@ -38,7 +38,6 @@ #endif #include "fb.h" -#include "mibank.h" #include "micmap.h" #include "xf86.h" #include "xf86_OSproc.h" diff --git a/src/voodoo_driver.c b/src/voodoo_driver.c index 7ea8e05..ca7ba71 100644 --- a/src/voodoo_driver.c +++ b/src/voodoo_driver.c @@ -45,7 +45,6 @@ #endif #include "fb.h" -#include "mibank.h" #include "micmap.h" #include "mipointer.h" #include "xf86.h" diff --git a/src/voodoo_hardware.c b/src/voodoo_hardware.c index 60f9dc9..25859c7 100644 --- a/src/voodoo_hardware.c +++ b/src/voodoo_hardware.c @@ -39,7 +39,6 @@ #endif #include "fb.h" -#include "mibank.h" #include "micmap.h" #include "xf86.h" #include "xf86_OSproc.h" commit b25008a95f00bf825bdb761ed4a75a3063dea5d8 Author: Gaetan Nadon <mems...@videotron.ca> Date: Sat Mar 27 10:04:41 2010 -0400 config: remove TODO from EXTRA_DIST Automake always distributes TODO file. Signed-off-by: Gaetan Nadon <mems...@videotron.ca> diff --git a/Makefile.am b/Makefile.am index b1ea619..4c278ba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,6 @@ SUBDIRS = src man MAINTAINERCLEANFILES = ChangeLog INSTALL -EXTRA_DIST = TODO .PHONY: ChangeLog INSTALL INSTALL: commit 9348f9e55bc58f1509def899e11c6f122007c7fe Author: Alan Coopersmith <alan.coopersm...@sun.com> Date: Fri Jan 15 15:11:35 2010 -0800 Update Sun license notices to current X.Org standard form Signed-off-by: Alan Coopersmith <alan.coopersm...@sun.com> diff --git a/man/Makefile.am b/man/Makefile.am index f0eb29b..8f2454b 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,27 +1,24 @@ # # Copyright 2005 Sun Microsystems, Inc. All rights reserved. -# -# Permission to use, copy, modify, distribute, and sell this software and its -# documentation for any purpose is hereby granted without fee, provided that -# the above copyright notice appear in all copies and that both that -# copyright notice and this permission notice appear in supporting -# documentation. -# -# The above copyright notice and this permission notice shall be included -# in all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -# IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR -# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -# OTHER DEALINGS IN THE SOFTWARE. -# -# Except as contained in this notice, the name of the copyright holders shall -# not be used in advertising or otherwise to promote the sale, use or -# other dealings in this Software without prior written authorization -# from the copyright holders. +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice (including the next +# paragraph) shall be included in all copies or substantial portions of the +# Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. # drivermandir = $(DRIVER_MAN_DIR) commit 86fbcb7d61988eeec3c0bd9e1e9ac3fb54a5ecc5 Author: Gaetan Nadon <mems...@videotron.ca> Date: Tue Dec 15 22:01:02 2009 -0500 configure.ac: remove unused sdkdir=$(pkg-config...) statement The sdkdir variable isn't use, so remove the statement. Acked-by: Dan Nicholson <dbn.li...@gmail.com> Signed-off-by: Gaetan Nadon <mems...@videotron.ca> diff --git a/configure.ac b/configure.ac index ff45bbc..cdcf752 100644 --- a/configure.ac +++ b/configure.ac @@ -64,7 +64,6 @@ PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1], HAVE_XEXTPROTO_71="yes"; AC_DEFINE(HAVE_XEXTPROTO_71, 1, [xextproto 7.1 available]), HAVE_XEXTPROTO_71="no") AM_CONDITIONAL(HAVE_XEXTPROTO_71, [ test "$HAVE_XEXTPROTO_71" = "yes" ]) -sdkdir=$(pkg-config --variable=sdkdir xorg-server) # Checks for libraries. commit b8d32fc5400d09112c8c60e6fe133ed13c655ace Author: Gaetan Nadon <mems...@videotron.ca> Date: Mon Nov 23 09:25:06 2009 -0500 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES Now that the INSTALL file is generated. Allows running make maintainer-clean. diff --git a/Makefile.am b/Makefile.am index 3480a8f..b1ea619 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,6 +19,7 @@ # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. SUBDIRS = src man +MAINTAINERCLEANFILES = ChangeLog INSTALL EXTRA_DIST = TODO .PHONY: ChangeLog INSTALL commit 0af6d01ee363a18ef1840b9f0d81c0bf43d09d6f Author: Gaetan Nadon <mems...@videotron.ca> Date: Wed Oct 28 14:41:41 2009 -0400 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 Automake 'foreign' option is specified in configure.ac. Remove from Makefile.am diff --git a/Makefile.am b/Makefile.am index 5bae444..3480a8f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,7 +18,6 @@ # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -AUTOMAKE_OPTIONS = foreign SUBDIRS = src man EXTRA_DIST = TODO commit e415a5c73e578271cb6b2153c9f99c64ca3b4951 Author: Gaetan Nadon <mems...@videotron.ca> Date: Wed Oct 28 14:09:10 2009 -0400 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 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. diff --git a/Makefile.am b/Makefile.am index 873f62d..5bae444 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,9 +22,12 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = src man EXTRA_DIST = TODO -.PHONY: ChangeLog +.PHONY: ChangeLog INSTALL + +INSTALL: + $(INSTALL_CMD) ChangeLog: $(CHANGELOG_CMD) -dist-hook: ChangeLog +dist-hook: ChangeLog INSTALL diff --git a/configure.ac b/configure.ac index 5d32455..ff45bbc 100644 --- a/configure.ac +++ b/configure.ac @@ -30,7 +30,7 @@ AC_CONFIG_SRCDIR([Makefile.am]) AM_CONFIG_HEADER([config.h]) AC_CONFIG_AUX_DIR(.) -AM_INIT_AUTOMAKE([dist-bzip2]) +AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE commit e50f2d6ae0ef0d0ca61c10a3bade2449a6ef2771 Author: Gaetan Nadon <mems...@videotron.ca> Date: Mon Oct 26 12:54:23 2009 -0400 Several driver modules do not have a ChangeLog target in Makefile.am #23814 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 diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index 50d6011..0000000 --- a/ChangeLog +++ /dev/null @@ -1,48 +0,0 @@ -2006-04-07 Adam Jackson <a...@freedesktop.org> - - * configure.ac: - * src/voodoo.h: - * src/voodoo_dga.c: - * src/voodoo_driver.c: - * src/voodoo_hardware.c: - Unlibcwrap. Bump server version requirement. Bump to 1.1.0. - -2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * configure.ac: - Update package version for X11R7 release. - -2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * configure.ac: - Update package version number for final X11R7 release candidate. - -2005-12-06 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * man/Makefile.am: - Change *man_SOURCES ==> *man_PRE to fix autotools warnings. - -2005-12-03 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * configure.ac: - Update package version number for X11R7 RC3 release. - -2005-12-01 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * configure.ac: - Remove extraneous AC_MSG_RESULT. - -2005-11-29 Adam Jackson <a...@freedesktop.org> - - * configure.ac: - Only build dlloader modules by default. - -2005-11-09 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * configure.ac: - Update package version number for X11R7 RC2 release. - -2005-11-01 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * configure.ac: - Update pkgcheck dependencies to work with separate build roots. diff --git a/Makefile.am b/Makefile.am index a52b854..873f62d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,3 +22,9 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = src man EXTRA_DIST = TODO +.PHONY: ChangeLog + +ChangeLog: + $(CHANGELOG_CMD) + +dist-hook: ChangeLog diff --git a/configure.ac b/configure.ac index 7cac538..5d32455 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,12 @@ AM_INIT_AUTOMAKE([dist-bzip2]) AM_MAINTAINER_MODE +# Require xorg-macros: XORG_DEFAULT_OPTIONS +m4_ifndef([XORG_MACROS_VERSION], + [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.3) +XORG_DEFAULT_OPTIONS + # Checks for programs. AC_DISABLE_STATIC AC_PROG_LIBTOOL @@ -86,9 +92,6 @@ AC_SUBST([moduledir]) DRIVER_NAME=voodoo AC_SUBST([DRIVER_NAME]) -XORG_MANPAGE_SECTIONS -XORG_RELEASE_VERSION - AC_OUTPUT([ Makefile src/Makefile commit 9e19c3d33622a2526f91e52051669aa28711893f Author: Gaetan Nadon <mems...@videotron.ca> Date: Thu Oct 22 12:34:18 2009 -0400 .gitignore: use common defaults with custom section # 24239 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. diff --git a/.gitignore b/.gitignore index 2df4a8d..264459c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,20 +1,78 @@ -Makefile -Makefile.in -*.la -*.lo +# +# X.Org module default exclusion patterns +# The next section if for module specific patterns +# +# Do not edit the following section +# GNU Build System (Autotools) aclocal.m4 -autom4te.cache +autom4te.cache/ +autoscan.log +ChangeLog +compile config.guess config.h config.h.in config.log +config-ml.in +config.py config.status +config.status.lineno config.sub configure +configure.scan depcomp +.deps/ +INSTALL install-sh +.libs/ libtool +libtool.m4 ltmain.sh +lt~obsolete.m4 +ltoptions.m4 +ltsugar.m4 +ltversion.m4 +Makefile +Makefile.in +mdate-sh missing -stamp-h1 +mkinstalldirs +*.pc +py-compile +stamp-h? +symlink-tree +texinfo.tex +ylwrap + +# Do not edit the following section +# Edit Compile Debug Document Distribute *~ +*.[0-9] +*.[0-9]x +*.bak +*.bin +core +*.dll +*.exe +*-ISO*.bdf +*-JIS*.bdf +*-KOI8*.bdf +*.kld +*.ko +*.ko.cmd +*.lai +*.l[oa] +*.[oa] +*.obj +*.patch +*.so +*.pcf.gz +*.pdb +*.tar.bz2 +*.tar.gz +# +# Add & Override patterns for xf86-video-voodoo +# +# Edit the following section as needed +# For example, !report.pc overrides *.pc. See 'man gitignore' +# commit e76eebb0fb264a6627820930dd476bbfbdd250ca Author: Gaetan Nadon <mems...@videotron.ca> Date: Mon Sep 7 11:12:13 2009 -0400 xf86-video-voodoo: Remove unused .cvsignore file #23776 Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> diff --git a/man/.cvsignore b/man/.cvsignore deleted file mode 100644 index 282522d..0000000 --- a/man/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -Makefile -Makefile.in diff --git a/src/.cvsignore b/src/.cvsignore deleted file mode 100644 index 9730646..0000000 --- a/src/.cvsignore +++ /dev/null @@ -1,6 +0,0 @@ -.deps -.libs -Makefile -Makefile.in -*.la -*.lo commit 89250c594f29fbad78f2006c32573ac083cccd73 Author: Dave Airlie <airl...@redhat.com> Date: Thu Jul 30 12:04:30 2009 +1000 voodoo: bump for release 1.2.3 diff --git a/configure.ac b/configure.ac index 2fc06b2..7cac538 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_PREREQ(2.57) AC_INIT([xf86-video-voodoo], - 1.2.2, + 1.2.3, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xf86-video-voodoo) commit 405bab2048a4077b7fbe456f4f24e0d9b448829f Author: Dave Airlie <airl...@redhat.com> Date: Tue Jul 28 15:22:42 2009 +1000 voodoo: change to using ABI version check diff --git a/src/voodoo_driver.c b/src/voodoo_driver.c index 6f35fe1..7ea8e05 100644 --- a/src/voodoo_driver.c +++ b/src/voodoo_driver.c @@ -56,7 +56,7 @@ #include "xf86cmap.h" #include "shadowfb.h" #include "vgaHW.h" -#ifndef XSERVER_LIBPCIACCESS +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 #include "xf86RAC.h" #include "xf86Resources.h" #endif commit 023f464e830185c12de90f38219b34498d3e55d0 Author: Dave Airlie <airl...@redhat.com> Date: Tue Jul 28 13:45:59 2009 +1000 voodoo: remove rac/resources includes diff --git a/src/voodoo_dga.c b/src/voodoo_dga.c index 9ad1962..622c1f9 100644 --- a/src/voodoo_dga.c +++ b/src/voodoo_dga.c @@ -47,8 +47,6 @@ #include "xf86cmap.h" #include "shadowfb.h" #include "vgaHW.h" -#include "xf86RAC.h" -#include "xf86Resources.h" #include "compiler.h" #include "xaa.h" #include "dgaproc.h" diff --git a/src/voodoo_driver.c b/src/voodoo_driver.c index e38ea46..6f35fe1 100644 --- a/src/voodoo_driver.c +++ b/src/voodoo_driver.c @@ -56,8 +56,10 @@ #include "xf86cmap.h" #include "shadowfb.h" #include "vgaHW.h" +#ifndef XSERVER_LIBPCIACCESS #include "xf86RAC.h" #include "xf86Resources.h" +#endif #include "compiler.h" #include "xaa.h" diff --git a/src/voodoo_hardware.c b/src/voodoo_hardware.c index 2493612..60f9dc9 100644 --- a/src/voodoo_hardware.c +++ b/src/voodoo_hardware.c @@ -48,8 +48,6 @@ #include "xf86cmap.h" #include "shadowfb.h" #include "vgaHW.h" -#include "xf86RAC.h" -#include "xf86Resources.h" #include "xaa.h" #include "compiler.h" commit 840b9fe089d79507b660bdda3f26afb72faaa6ff Author: Peter Hutterer <peter.hutte...@who-t.net> Date: Thu Jul 16 11:59:34 2009 +1000 Update to xextproto 7.1 support. DPMS header was split into dpms.h (client) and dpmsconst.h (server). Drivers need to include dpmsconst.h if xextproto 7.1 is available. Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> diff --git a/configure.ac b/configure.ac index 919e29f..2fc06b2 100644 --- a/configure.ac +++ b/configure.ac @@ -54,6 +54,10 @@ XORG_DRIVER_CHECK_EXT(DPMSExtension, xextproto) # Checks for pkg-config packages PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto $REQUIRED_MODULES]) +PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1], + HAVE_XEXTPROTO_71="yes"; AC_DEFINE(HAVE_XEXTPROTO_71, 1, [xextproto 7.1 available]), + HAVE_XEXTPROTO_71="no") +AM_CONDITIONAL(HAVE_XEXTPROTO_71, [ test "$HAVE_XEXTPROTO_71" = "yes" ]) sdkdir=$(pkg-config --variable=sdkdir xorg-server) # Checks for libraries. diff --git a/src/voodoo_dga.c b/src/voodoo_dga.c index 9d088a7..9ad1962 100644 --- a/src/voodoo_dga.c +++ b/src/voodoo_dga.c @@ -59,8 +59,13 @@ #include <X11/extensions/xf86dgastr.h> #include "opaque.h" +#ifdef HAVE_XEXTPROTO_71 +#include <X11/extensions/dpmsconst.h> +#else #define DPMS_SERVER #include <X11/extensions/dpms.h> +#endif + /*********************************************************************** diff --git a/src/voodoo_driver.c b/src/voodoo_driver.c index f412215..e38ea46 100644 --- a/src/voodoo_driver.c +++ b/src/voodoo_driver.c @@ -67,8 +67,13 @@ #include <X11/extensions/xf86dgastr.h> #include "opaque.h" +#ifdef HAVE_XEXTPROTO_71 +#include <X11/extensions/dpmsconst.h> +#else #define DPMS_SERVER #include <X11/extensions/dpms.h> +#endif + static const OptionInfoRec * VoodooAvailableOptions(int chipid, int busid); static void VoodooIdentify(int flags); diff --git a/src/voodoo_hardware.c b/src/voodoo_hardware.c index d988b33..2493612 100644 --- a/src/voodoo_hardware.c +++ b/src/voodoo_hardware.c @@ -58,8 +58,13 @@ #include <X11/extensions/xf86dgastr.h> #include "opaque.h" +#ifdef HAVE_XEXTPROTO_71 +#include <X11/extensions/dpmsconst.h> +#else #define DPMS_SERVER #include <X11/extensions/dpms.h> +#endif + #include "mipict.h" #include "dixstruct.h" commit b88c1e442fa9367ebb0addf744b759cea91a4868 Author: Adam Jackson <a...@redhat.com> Date: Thu Jul 2 11:55:03 2009 -0400 voodoo 1.2.2 diff --git a/configure.ac b/configure.ac index ff6c1a5..919e29f 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_PREREQ(2.57) AC_INIT([xf86-video-voodoo], - 1.2.1, + 1.2.2, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xf86-video-voodoo) commit bf6571791206d7784e711abcb6f353ae06d54bd8 Author: Adam Jackson <a...@redhat.com> Date: Thu May 28 15:27:48 2009 -0400 Remove useless loader symbol lists. diff --git a/src/voodoo_driver.c b/src/voodoo_driver.c index 2822543..f412215 100644 --- a/src/voodoo_driver.c +++ b/src/voodoo_driver.c @@ -128,34 +128,6 @@ static SymTabRec VoodooChipsets[] = { {-1, NULL } }; - -/* - * List of symbols from other modules that this module references. This - * list is used to tell the loader that it is OK for symbols here to be - * unresolved providing that it hasn't been told that they haven't been - * told that they are essential via a call to xf86LoaderReqSymbols() or - * xf86LoaderReqSymLists(). The purpose is this is to avoid warnings about - * unresolved symbols that are not required. - */ - -static const char *fbSymbols[] = { - "fbScreenInit", - "fbPictureInit", - NULL -}; - -static const char *xaaSymbols[] = { - "XAACreateInfoRec", - "XAAInit", - "XAADestroyInfoRec", - NULL -}; - -static const char *shadowSymbols[] = { - "ShadowFBInit", - NULL -}; - #ifdef XFree86LOADER static XF86ModuleVersionInfo voodooVersRec = @@ -181,7 +153,6 @@ static pointer voodooSetup(pointer module, pointer opts, int *errmaj, int *errmi { setupDone = TRUE; xf86AddDriver(&VOODOO, module, 0); - LoaderRefSymLists(fbSymbols, shadowSymbols, xaaSymbols,NULL); return (pointer)1; } return NULL; @@ -583,15 +554,11 @@ VoodooPreInit(ScrnInfoPtr pScrn, int flags) return FALSE; } - xf86LoaderReqSymLists(fbSymbols, NULL); - if (!xf86LoadSubModule(pScrn, "xaa")) { VoodooFreeRec(pScrn); return FALSE; } - xf86LoaderReqSymLists(xaaSymbols, NULL); - if(pVoo->ShadowFB) { /* Load the shadow framebuffer */ @@ -599,7 +566,6 @@ VoodooPreInit(ScrnInfoPtr pScrn, int flags) VoodooFreeRec(pScrn); return FALSE; } - xf86LoaderReqSymLists(shadowSymbols, NULL); } return TRUE; } commit 46fa3eff8d2b8f17e50e575df96b02e4b8a89874 Author: Alan Coopersmith <alan.coopersm...@sun.com> Date: Fri Jan 9 16:39:21 2009 -0800 Remove xorgconfig & xorgcfg from See Also list in man page diff --git a/man/voodoo.man b/man/voodoo.man index 8e828df..92fb9bd 100644 --- a/man/voodoo.man +++ b/man/voodoo.man @@ -67,6 +67,6 @@ The driver interacts badly with the sstfb frame buffer driver as there is insufficient information to restore the chip to its previous state. .SH "SEE ALSO" -__xservername__(1), __xconfigfile__(__filemansuffix__), xorgconfig(1), Xserver(1), X(__miscmansuffix__) +__xservername__(1), __xconfigfile__(__filemansuffix__), Xserver(1), X(__miscmansuffix__) .SH AUTHORS Authors: Alan Cox, Ghozlane Toumi, Henrik Harmsen. commit 01e0f1442d8883376aeb5eb764e0ee92e00d4fdb Author: Adam Jackson <a...@redhat.com> Date: Tue Feb 24 10:29:41 2009 -0500 xf86-video-voodoo-1.2.1 diff --git a/configure.ac b/configure.ac index b7cc28c..ff6c1a5 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_PREREQ(2.57) AC_INIT([xf86-video-voodoo], - 1.2.0, + 1.2.1, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xf86-video-voodoo) commit 1c82022d0952c6953c87609b2a44cab3af6d86cb Author: Alan Cox <a...@lxorguk.ukuu.org.uk> Date: Fri Aug 15 19:29:14 2008 -0400 Add missing call to xf86SetCrtcForModes() and add pass through option This fixes the problems with the crashes and other funnies. It was almost entirely down to a missing call to xf86SetCrtcForModes(). With that added the clock data appears valid and the card is working. I've also added support for the pass through switching as that is useful for debug when your text consoles are on the pass through display diff --git a/src/voodoo.h b/src/voodoo.h index 750c42b..4f97a8a 100644 --- a/src/voodoo.h +++ b/src/voodoo.h @@ -13,7 +13,7 @@ typedef struct { CloseScreenProcPtr CloseScreen; /* Wrapped Close */ XAAInfoRecPtr AccelInfoRec; /* Cached Accel rec for close */ Bool Blanked; - Bool OnAtExit; + Bool PassThrough; /* Set to restore pass through on exit */ EntityInfoPtr pEnt; OptionInfoPtr Options; diff --git a/src/voodoo_driver.c b/src/voodoo_driver.c index dc2176a..2822543 100644 --- a/src/voodoo_driver.c +++ b/src/voodoo_driver.c @@ -110,12 +110,14 @@ _X_EXPORT DriverRec VOODOO = { typedef enum { OPTION_NOACCEL, - OPTION_SHADOW_FB + OPTION_SHADOW_FB, + OPTION_PASS_THROUGH, } VoodooOpts; static const OptionInfoRec VoodooOptions[] = { { OPTION_NOACCEL, "NoAccel", OPTV_BOOLEAN, {0}, FALSE }, { OPTION_SHADOW_FB, "ShadowFB", OPTV_BOOLEAN, {0}, FALSE }, + { OPTION_PASS_THROUGH,"PassThrough", OPTV_BOOLEAN, {0}, FALSE }, { -1, NULL, OPTV_NONE, {0}, FALSE } }; @@ -436,6 +438,9 @@ VoodooPreInit(ScrnInfoPtr pScrn, int flags) pVoo->Accel = 0; } + if (xf86ReturnOptValBool(pVoo->Options, OPTION_PASS_THROUGH, FALSE)) + pVoo->PassThrough = 1; + if (xf86ReturnOptValBool(pVoo->Options, OPTION_NOACCEL, FALSE)) { pVoo->ShadowFB = 1; pVoo->Accel = 0; @@ -544,6 +549,7 @@ VoodooPreInit(ScrnInfoPtr pScrn, int flags) } /* Set the current mode to the first in the list */ + xf86SetCrtcForModes(pScrn, 0); pScrn->currentMode = pScrn->modes; /* Do some checking, we will not support a virtual framebuffer larger than @@ -914,8 +920,10 @@ VoodooRestore(ScrnInfoPtr pScrn, Bool Closing) pVoo = VoodooPTR(pScrn); pVoo->Blanked = TRUE; - if (!Closing || !(pVoo->OnAtExit)) - VoodooBlank(pVoo); + if (!Closing) + VoodooBlank(pVoo); + if (Closing && pVoo->PassThrough) + VoodooRestorePassThrough(pVoo); } static void diff --git a/src/voodoo_hardware.c b/src/voodoo_hardware.c index 35e656f..d988b33 100644 --- a/src/voodoo_hardware.c +++ b/src/voodoo_hardware.c @@ -685,6 +685,17 @@ int VoodooHardwareInit(VoodooPtr pVoo) } /* + * Voodoo exit logic + */ + +void VoodooRestorePassThrough(VoodooPtr pVoo) +{ + pci_enable(pVoo, 1, 0, 0); + mmio32_w(pVoo, 0x210, 0); + pci_enable(pVoo, 0, 0, 1); +} + +/* * Copiers for Voodoo1 * * Voodoo1 has no CPU to screen blit, and also lacks SGRAM fill @@ -969,6 +980,9 @@ static void Voodoo2SetupForSolidFill(ScrnInfoPtr pScrn, int color, int rop, unsigned int planemask) { VoodooPtr pVoo = VoodooPTR(pScrn); + if (debug) + ErrorF("Setup for solid fill colour %04X, rop %d, Mask %04X.\n", + color, rop, planemask); Voodoo2Setup2D(pVoo); mmio32_w_chuck(pVoo, 0x2EC, ropxlate[rop]); /* rop */ -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1ognx1-0002h8...@alioth.debian.org