Update to xf86-video-tdfx 1.4.4

This commit is contained in:
matthieu 2012-05-06 16:11:30 +00:00
parent 0653f98f4b
commit 35340223d1
22 changed files with 31234 additions and 22232 deletions

View File

@ -1,12 +1,23 @@
This is a stub file. This package has not yet had its complete licensing Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
information compiled. Please see the individual source files for details on All Rights Reserved.
your rights to use and modify this software.
Please submit updated COPYING files to the Xorg bugzilla: 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, sub license, 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:
https://bugs.freedesktop.org/enter_bug.cgi?product=xorg The above copyright notice and this permission notice (including the
next paragraph) shall be included in all copies or substantial portions
of the Software.
All licensing questions regarding this software should be directed at the THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
Xorg mailing list: OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS 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

View File

@ -1,76 +1,869 @@
2006-06-17 Donnie Berkholz <spyderous@gentoo.org> commit 98d24dd99052322c71d1676e6d66c2c724f6066a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Mar 23 19:59:33 2012 -0700
* src/tdfx_priv.c: (TDFXResetFifo), (TDFXSyncFifo): xf86-video-tdfx 1.4.4
Bug #7149 <https://bugs.freedesktop.org/show_bug.cgi?id=7149>
Change use of getsecs to xf86getsecs (Gustavo Pichorim Boiko). Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2006-04-07 Adam Jackson <ajax@freedesktop.org> commit a985b54c8559d7ff8f5481004d54989ed7499237
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jan 4 14:57:56 2012 +1000
* configure.ac: Untangle XF86DRI from the driver-specific DRI define
* src/tdfx.h:
Bump to 1.2.1 for Xv changes. 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>
2006-04-07 Aaron Plattner <aplattner@nvidia.com> commit 4d56f3a6a69717b04f46f3e22c3a0834050c1a46
Author: Stefan Dirsch <sndirsch@novell.com>
Date: Thu Jul 30 11:28:28 2009 +0200
* src/tdfx_video.c: (TDFXPutImageTexture), (TDFXPutImageOverlay): Fix RPMLINT warning "64bit-portability-issue".
Add a DrawablePtr argument to the XV functions to pave the way for
redirected video. Signed-off-by: Johannes Obermayr <johannesobermayr@gmx.de>
Reviewed-by: Tormod Volden <debian.tormod@gmail.com>
2006-04-07 Adam Jackson <ajax@freedesktop.org> commit fe60f0ed2a0647937cc46a45d497bdf7da4061a4
Author: Adam Jackson <ajax@redhat.com>
Date: Mon Dec 19 17:33:17 2011 -0500
* configure.ac: Stop uselessly including xf86Priv.h
* src/tdfx.h:
* src/tdfx_accel.c: Signed-off-by: Adam Jackson <ajax@redhat.com>
* src/tdfx_dga.c:
* src/tdfx_dri.c:
* src/tdfx_driver.c:
* src/tdfx_hwcurs.c:
* src/tdfx_io.c:
* src/tdfx_priv.c:
* src/tdfx_sli.c:
Unlibcwrap. Bump server version requirement. Bump to 1.2.0.
2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org> commit 5b5d3c8b23865724d4f6d71610760e80e4b032e6
Author: Adam Jackson <ajax@redhat.com>
Date: Mon Dec 19 17:32:27 2011 -0500
* configure.ac: Fix for new vgaHW ABI
Update package version for X11R7 release.
Signed-off-by: Adam Jackson <ajax@redhat.com>
2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org> commit 92cb819839a2f37c3e3db4831aa45e5bb9b00651
Author: Adam Jackson <ajax@redhat.com>
Date: Mon Dec 19 17:31:45 2011 -0500
* configure.ac: Make failure to XAA non-fatal
Update package version number for final X11R7 release candidate.
Signed-off-by: Adam Jackson <ajax@redhat.com>
2005-12-06 Kevin E. Martin <kem-at-freedesktop-dot-org> commit 4ea96c222ad0900ad53f506e485588e2a49a22f4
Author: Adam Jackson <ajax@redhat.com>
Date: Thu Nov 17 15:54:27 2011 -0500
* man/Makefile.am: Check ABI major not encoded ABI
Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
Signed-off-by: Adam Jackson <ajax@redhat.com>
2005-12-03 Kevin E. Martin <kem-at-freedesktop-dot-org> commit 32cd2dfa1214ed3260bf2e40bad06927b18f7f7b
Author: Adam Jackson <ajax@redhat.com>
Date: Wed Nov 16 14:44:02 2011 -0500
* configure.ac: Adapt to missing PIOOffset in vgahw
Update package version number for X11R7 RC3 release.
This is actually pretty lame, and I should probably extend vgahw to make
it easier to do this kind of trick.
Signed-off-by: Adam Jackson <ajax@redhat.com>
2005-12-01 Kevin E. Martin <kem-at-freedesktop-dot-org> commit d7be4a953859f12083c1743c73712f9f510d7fda
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date: Wed Oct 19 00:41:56 2011 -0700
* configure.ac: Use unsigned long rather than deprecated IOADDRESS
Remove extraneous AC_MSG_RESULT.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2005-11-20 Adam Jackson <ajax@freedesktop.org> commit 3a97ecb50f326dbe0e1a3b3656806a8a2d2a1c3d
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date: Sun Oct 9 18:46:10 2011 -0700
* configure.ac: Fix compiler warnings about signedness
Bump libdrm dep to 2.0.
tdfx_sli.c:23:7: warning: pointer targets in passing argument 2 of pci_device_cfg_read_u32 differ in signedness
/var/tmp/jhbuild/include/pciaccess.h:153:5: note: expected uint32_t * but argument is of type int *
tdfx_sli.c:31:7: warning: pointer targets in passing argument 2 of pci_device_cfg_read_u32 differ in signedness
/var/tmp/jhbuild/include/pciaccess.h:153:5: note: expected uint32_t * but argument is of type int *
tdfx_sli.c:40:7: warning: pointer targets in passing argument 2 of pci_device_cfg_read_u32 differ in signedness
/var/tmp/jhbuild/include/pciaccess.h:153:5: note: expected uint32_t * but argument is of type int *
tdfx_sli.c:45:7: warning: pointer targets in passing argument 2 of pci_device_cfg_read_u32 differ in signedness
/var/tmp/jhbuild/include/pciaccess.h:153:5: note: expected uint32_t * but argument is of type int *
tdfx_sli.c: In function TDFXSetupSLI:
tdfx_sli.c:155:2: warning: pointer targets in passing argument 2 of pci_device_cfg_read_u32 differ in signedness
/var/tmp/jhbuild/include/pciaccess.h:153:5: note: expected uint32_t * but argument is of type int *
tdfx_sli.c:161:4: warning: pointer targets in passing argument 2 of pci_device_cfg_read_u32 differ in signedness
/var/tmp/jhbuild/include/pciaccess.h:153:5: note: expected uint32_t * but argument is of type int *
tdfx_sli.c:163:4: warning: pointer targets in passing argument 2 of pci_device_cfg_read_u32 differ in signedness
/var/tmp/jhbuild/include/pciaccess.h:153:5: note: expected uint32_t * but argument is of type int *
tdfx_sli.c:165:4: warning: pointer targets in passing argument 2 of pci_device_cfg_read_u32 differ in signedness
/var/tmp/jhbuild/include/pciaccess.h:153:5: note: expected uint32_t * but argument is of type int *
tdfx_sli.c:175:4: warning: pointer targets in passing argument 2 of pci_device_cfg_read_u32 differ in signedness
/var/tmp/jhbuild/include/pciaccess.h:153:5: note: expected uint32_t * but argument is of type int *
tdfx_sli.c:275:7: warning: pointer targets in passing argument 2 of pci_device_cfg_read_u32 differ in signedness
/var/tmp/jhbuild/include/pciaccess.h:153:5: note: expected uint32_t * but argument is of type int *
tdfx_sli.c:764:2: warning: pointer targets in passing argument 2 of pci_device_cfg_read_u32 differ in signedness
/var/tmp/jhbuild/include/pciaccess.h:153:5: note: expected uint32_t * but argument is of type int *
tdfx_sli.c:768:2: warning: pointer targets in passing argument 2 of pci_device_cfg_read_u32 differ in signedness
/var/tmp/jhbuild/include/pciaccess.h:153:5: note: expected uint32_t * but argument is of type int *
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2005-11-29 Adam Jackson <ajax@freedesktop.org> commit 3cdf7e280c5be1bc72e38460d6c46f4ae04efc37
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date: Sun Oct 9 18:48:15 2011 -0700
* configure.ac: gettimeofday is in <sys/time.h>
Only build dlloader modules by default.
tdfx_priv.c:116:3: warning: implicit declaration of function gettimeofday
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2005-11-09 Kevin E. Martin <kem-at-freedesktop-dot-org> commit f53f5a192025bec5547c2db16741e2a4eda20d74
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date: Sun Oct 9 18:47:27 2011 -0700
* configure.ac: Use malloc/calloc/realloc/free directly
Update package version number for X11R7 RC2 release.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2005-11-01 Kevin E. Martin <kem-at-freedesktop-dot-org> commit 0c4ffbec23de9a2b0da9310f1dfca50dcc1f7132
Author: Jesse Adkins <jesserayadkins@gmail.com>
Date: Tue Sep 28 13:29:52 2010 -0700
* configure.ac: Purge cvs tags.
Update pkgcheck dependencies to work with separate build roots.
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit fb533c0d378e9e4909b46b7d164111c2fe8af942
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Jul 21 16:49:04 2010 -0400
config: add comments for main statements
commit 92c127023eb3cff5064978c482fc30dd266761f2
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Jul 21 16:07:00 2010 -0400
config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 43b1b085c9ed4592e42f586fe720881ca0ed570d
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Jul 21 14:37:42 2010 -0400
config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 6b82567be23fb09f51c57c4c23f5235c5610ba2c
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Jul 21 14:05:23 2010 -0400
config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 88c8af1c7874882733b5fc423dadc7541bf88f99
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Jul 21 09:27:42 2010 -0400
config: complete AC_INIT m4 quoting
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit f5bba1f1f33967578df85a3b10b9a58f81831678
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Jul 20 21:54:12 2010 -0400
config: remove unrequired AC_SUBST([DRI_CFLAGS])
This macro is called by PKG_CHECK_MODULES
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 96cf989952e5d01a44560caa799d7addd2f1b5d2
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Jul 20 21:44:58 2010 -0400
config: remove unrequired AC_SUBST([XORG_CFLAGS])
This macro is called by PKG_CHECK_MODULES
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 094f38c3cffc71497abf9769cc4d20536657fd37
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Jul 20 20:24:42 2010 -0400
config: remove unrequired AC_HEADER_STDC
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>
commit 51a5af924866d14b868c20a8abdabfaa2a7d7359
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Jul 20 19:41:31 2010 -0400
config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
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>
commit b33d5ea736cad6da7de5c89183774ddeca5f885e
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Jul 20 18:45:19 2010 -0400
config: update AC_PREREQ statement to 2.60
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>
commit cd1209abe30038f3c46bb51568733f795f17f5a5
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Jul 20 16:15:30 2010 -0400
config: upgrade to util-macros 1.8 for additional man page support
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
The value of MAN_SUBST is the same for all X.Org packages.
commit 83661e56c332c9e10d1cd0aa7b464dbabedaab4c
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sun Jun 13 11:30:39 2010 -0400
COPYING: replace stub file with actual Copyright notices.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 5e06e326b2a48e1ae5da352339ee6c77904ebfbe
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date: Fri Jan 15 15:14:13 2010 -0800
Update Sun license notices to current X.Org standard form
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
commit 0fec5b777bb21012046ec05abf0f92767d43e5fc
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Dec 15 21:47:43 2009 -0500
configure.ac: use backticks rather than $() for cmd subs
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>
commit 0ba31dcaab005862e8bdcf2800ae54e3c0eff99a
Author: Gaetan Nadon <memsize@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.
commit 7ddfff90b91c6bc8dbe64eff0efdcbb6fea39cab
Author: Gaetan Nadon <memsize@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
commit f7e316031e6cc1475dc6707bdb464cd228cfc460
Author: Gaetan Nadon <memsize@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.
commit dbe081091ba868782c1d979f5e588415f05fb861
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Mon Oct 26 12:54:22 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
commit 57449ae05c5f256950c1b2215069c28e4cd7c13f
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Thu Oct 22 13:04:56 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.
commit c062e25f39c90f8484791df2f7f330d556fcc995
Author: Gaetan Nadon <memsize@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.
commit 96ad72682ca7925918e8cb7298a2241dc096bd6f
Author: Dave Airlie <airlied@redhat.com>
Date: Thu Jul 30 12:04:30 2009 +1000
tdfx: bump for release 1.4.3
commit 690aaaedb3cf6e8241cad802651a640277094f22
Author: Dave Airlie <airlied@redhat.com>
Date: Tue Jul 28 15:22:41 2009 +1000
tdfx: change to using ABI version check
commit 7149d16ed17c064cc91cb1473f10e8e80055347c
Author: Dave Airlie <airlied@redhat.com>
Date: Tue Jul 28 13:32:38 2009 +1000
tdfx: update for resources/RAC API removal
commit b656f6522f287efb8595509c678ce6ec60843944
Author: Adam Jackson <ajax@redhat.com>
Date: Thu Jul 2 11:48:35 2009 -0400
tdfx 1.4.2
commit 871db4476dedf77e440a4ef121643bb2eb897254
Author: Adam Jackson <ajax@redhat.com>
Date: Thu May 28 15:21:22 2009 -0400
Remove useless loader symbol lists.
commit 5fd80e29b10b9e9b6c5ad4a2ecdf5d9b4013a9e4
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date: Fri Jan 30 21:04:39 2009 -0800
Add README with pointers to mailing list, bugzilla & git repos
commit 86c9439917cab56c2b0eef6cd5fd6d8fad886c33
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date: Fri Jan 9 16:36:56 2009 -0800
Remove xorgconfig & xorgcfg from See Also list in man page
commit e30873010523a8cde8d23ed473343b2c60794cb6
Author: Dave Airlie <airlied@redhat.com>
Date: Mon Dec 22 15:20:26 2008 +1000
tdfx 1.4.1
commit 6379b129119ed77b9a45cb0207dedd68c32f73a1
Author: Jakub Bogusz <qboosh@pld-linux.org>
Date: Fri Oct 17 17:25:39 2008 -0400
Bug #17557: Fix device initialization.
commit fe77fea533068f5698cf4d8e9bc076a6e06d2cd2
Author: Tiago Vignatti <vignatti@c3sl.ufpr.br>
Date: Mon Jul 7 14:31:32 2008 -0300
Fix my bad typo in last commit.
Switch inexistent getsecs() function to gettimeofday().
commit 2de0dcfff822e2a8e5b993936bbad771bf9420b1
Author: Tiago Vignatti <vignatti@c3sl.ufpr.br>
Date: Fri Jul 4 04:13:05 2008 -0300
Remove libc wrapper functions.
commit fdff22e2372635f47587f5cdaf888e26d913ee41
Author: Adam Jackson <ajax@redhat.com>
Date: Wed Mar 19 15:39:11 2008 -0400
tdfx 1.4.0
commit e270c5baeb00f45abacba2b2f4e82505c339e984
Author: Adam Jackson <ajax@redhat.com>
Date: Wed Mar 19 15:37:46 2008 -0400
Death to RCS tags.
commit b838b854e96c388081c0ae52320a849645f547c5
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date: Sun Mar 9 00:00:33 2008 +0100
Makefile.am: nuke RCS Id
commit 8bbace5deb7b86c481ea3b0f764e8a6b879c5f7f
Author: Dave Airlie <airlied@redhat.com>
Date: Wed Feb 27 10:13:01 2008 +1000
update tdfx to use proper pciaccess detection
commit 463f0590fdce3cfa0e74a6769ccf5f32dad33cbc
Author: James Cloos <cloos@jhcloos.com>
Date: Mon Sep 3 05:52:46 2007 -0400
Add *~ to .gitignore to skip patch/emacs droppings
commit 36ee971310cd4536291829a1021ab8853cf62e9c
Author: James Cloos <cloos@jhcloos.com>
Date: Thu Aug 23 19:25:59 2007 -0400
Rename .cvsignore to .gitignore
commit 7f733531e54e455f9c27555c7552184f9da81f41
Author: Brice Goglin <bgoglin@debian.org>
Date: Tue Aug 7 11:57:02 2007 +0200
TDFX_*_VERSION using PACKAGE_VERSION_*
commit 673c665c02f02e13d57303f817702177a170e80d
Author: Ian Romanick <idr@us.ibm.com>
Date: Fri Mar 30 08:00:12 2007 -0700
Initial pass at porting driver to pci-rework. DOES NOT WORK.
This is my initial pass at porting xf86-video-tdfx to the pci-rework
interfaces. For reasons that I'm not able to understand, it doesn't quite
work. It's clear that some piece of the hardware isn't being initialized
properly, but, by comparing the old code to the new, it's not clear why.
Does not impact the functionality of non-pci-rework builds.
commit 347b27bc79838d17cbbae2afb36ce968c1eba620
Author: Ian Romanick <idr@us.ibm.com>
Date: Wed Mar 14 15:27:05 2007 -0700
White-space police in TDFXInitChips.
commit daccdfe1957752dd3215281c4f35ff271d2cc17a
Author: Ian Romanick <idr@us.ibm.com>
Date: Wed Mar 14 15:18:56 2007 -0700
Minor code cleaning in TDFXMapMem.
commit 3c886166d5cc9c44ccf701e02b56392b3ac26db3
Author: Ian Romanick <idr@us.ibm.com>
Date: Wed Mar 14 15:16:06 2007 -0700
Make TDFXGetRec return the pointer instead of a bool.
commit 229a8f64abd685c7efd9cf7baf66fac5ab71b131
Author: Ian Romanick <idr@us.ibm.com>
Date: Wed Mar 14 15:09:31 2007 -0700
Wrap pciReadLong / pciWriteLong with macros.
The pciReadLong and pciWriteLong function calls are wrapped with macros for
a couple reasons. First, this will reduce the "noise" when support for
pci-rework is added to tdfx. Second, by having them wrapped in macros it is
easier to support both pci-rework and the "classic" interfaces in the same
code base.
commit ed38e9fd300e8ab989017dea276a2720b9423191
Author: Ian Romanick <idr@us.ibm.com>
Date: Fri Mar 9 11:09:46 2007 -0800
Supply NULL driverFunc pointer in DriverRec.
commit 220cc642c2d6b131f47d2c9769cb521bc6fe8c09
Author: Michael Lorenz <macallan@netbsd.org>
Date: Tue Feb 27 21:31:51 2007 -0500
Add DDC2/I2C support to the tdfx driver
Based on Michael Lorenz's code in bug 4246
cleaned up and modified slightly by me.
commit c5b95a8d219dd4ef25c6aa14f44b70865d1a8be7
Author: Alex Deucher <alex@t41p.(none)>
Date: Wed Nov 22 12:15:48 2006 -0500
bump to 1.3.0 for release
commit 4f76e63ac4f7beb802561807554b64386a22b6e1
Author: Alex Deucher <alex@t41p.(none)>
Date: Wed Nov 22 12:12:06 2006 -0500
bump to 1.3.0 for release.
commit cd0808bd2dc6c77557e0691579a6119f8901adf6
Author: Alex Deucher <alex@t41p.(none)>
Date: Wed Nov 22 11:44:48 2006 -0500
Fix locking in tdfx driver. Fixes bug 9032.
commit 867f0a956a3240466347e0ee17d7518740835048
Author: Adam Jackson <ajax@benzedrine.nwnk.net>
Date: Fri Oct 13 18:45:16 2006 -0400
Bump to 1.2.2
commit de5adbae146a4db8ee491a9387f65284ea919ff9
Author: Donnie Berkholz <spyderous@gentoo.org>
Date: Sat Jun 17 16:35:04 2006 +0000
Bug #7149 <https://bugs.freedesktop.org/show_bug.cgi?id=7149> Change use of
getsecs to xf86getsecs (Gustavo Pichorim Boiko).
commit acee015839a798546a9d17fdc31e443b10630c76
Author: Adam Jackson <ajax@nwnk.net>
Date: Sat Apr 8 01:50:08 2006 +0000
Bump to 1.2.1 for Xv changes.
commit 55954625ff815b932d365422864745b31c4eadb4
Author: Aaron Plattner <aplattner@nvidia.com>
Date: Fri Apr 7 23:15:56 2006 +0000
Add a DrawablePtr argument to the XV functions to pave the way for
redirected video.
commit e8c71c95ea67e5db17eeabaac9907924099e164f
Author: Adam Jackson <ajax@nwnk.net>
Date: Fri Apr 7 21:37:49 2006 +0000
Unlibcwrap. Bump server version requirement. Bump to 1.2.0.
commit 8cfc6971a58e03894040c4f4f74da4734897df16
Author: Kevin E Martin <kem@kem.org>
Date: Wed Dec 21 02:30:03 2005 +0000
Update package version for X11R7 release.
commit 5300267cfe87b18139a95ec555f8d43cc1465669
Author: Adam Jackson <ajax@nwnk.net>
Date: Mon Dec 19 16:25:55 2005 +0000
Stub COPYING files
commit c3882fb9c050d4a4b3d8bb6bff712cb9143ae97c
Author: Kevin E Martin <kem@kem.org>
Date: Thu Dec 15 00:24:20 2005 +0000
Update package version number for final X11R7 release candidate.
commit d214866d794e5125196c53ff96921debfb50ae74
Author: Kevin E Martin <kem@kem.org>
Date: Tue Dec 6 22:48:39 2005 +0000
Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
commit c8db07f0b1574a9cde265505552d318e5a1f21b1
Author: Kevin E Martin <kem@kem.org>
Date: Sat Dec 3 05:49:36 2005 +0000
Update package version number for X11R7 RC3 release.
commit 32e28c8f5c3b5c51fc46778d6c346cadec6ba440
Author: Kevin E Martin <kem@kem.org>
Date: Fri Dec 2 02:16:11 2005 +0000
Remove extraneous AC_MSG_RESULT.
commit 0d640f8ed56da1782faac5c590efa3bc6ff76f7f
Author: Adam Jackson <ajax@nwnk.net>
Date: Wed Nov 30 18:51:58 2005 +0000
Bump libdrm dep to 2.0.
commit 84a6bfdd3ab8307071376c81349b6701242c82f5
Author: Adam Jackson <ajax@nwnk.net>
Date: Tue Nov 29 23:30:05 2005 +0000
Only build dlloader modules by default.
commit e9d4eaa5c966e1c062a8585bc3a2e74795c6434f
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Mon Nov 28 22:04:14 2005 +0000
Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
commit 44af3f869cb0c401fe064f5ba16e77c3fcdd3524
Author: Eric Anholt <anholt@freebsd.org>
Date: Mon Nov 21 10:49:20 2005 +0000
Add .cvsignores for drivers.
commit a2427c29767471615c4a257dfc3b1d7db4e091c9
Author: Kevin E Martin <kem@kem.org>
Date: Wed Nov 9 21:31:21 2005 +0000
Bump version numbers for X11R6.9/X11R7 RC2.
commit 906f1bd3d4365e45dcdc5c40ea5d4940add79703
Author: Kevin E Martin <kem@kem.org>
Date: Wed Nov 9 21:15:22 2005 +0000
Update package version number for X11R7 RC2 release.
commit 9558a7b9448b2a906abe52ec31fd76f141c54ca4
Author: Kevin E Martin <kem@kem.org>
Date: Tue Nov 1 15:08:55 2005 +0000
Update pkgcheck depedencies to work with separate build roots.
commit 1a194e47f962da387af7d8682ef49deade787964
Author: Adam Jackson <ajax@nwnk.net>
Date: Sun Oct 23 18:30:19 2005 +0000
Bug #4829: Remove some useless DRI symbol checks.
commit 0cf2b66e13412f1a07d002eb6bd2097debc91a20
Author: Kevin E Martin <kem@kem.org>
Date: Wed Oct 19 02:48:05 2005 +0000
Update package version number for RC1 release.
commit 99a441cb4e56066d1eca600a20eee8213dd55bcb
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Tue Oct 18 00:01:55 2005 +0000
Use @DRIVER_MAN_SUFFIX@ instead of $(DRIVER_MAN_SUFFIX) in macro
substitutions to work better with BSD make
commit 74f86678173470b5413cd138565a0a102151e785
Author: Adam Jackson <ajax@nwnk.net>
Date: Mon Oct 17 22:57:37 2005 +0000
More 1.7 braindamage: define EXTRA_DIST in terms of @DRIVER_NAME@ instead
of indirectly
commit e3e08b9a2dacd40da3e5ef57b0cbc5ed9b20f58a
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Mon Oct 17 00:09:07 2005 +0000
Use sed & cpp to substitute variables in driver man pages
commit 0f8e96a0d81303acd705be15c666cb775a1ae52b
Author: Adam Jackson <ajax@nwnk.net>
Date: Sat Sep 24 18:45:46 2005 +0000
Disable the {Open,Close}FullScreen DRI protocol. Remove empty FullScreen
stubs from drivers, comment the non-empty ones.
commit efe1280e8f9c1d4ce06b9c11b5f8a64e6ecc9640
Author: Daniel Stone <daniel@fooishbar.org>
Date: Mon Aug 22 04:24:32 2005 +0000
Fix test for DRI headers, bump to 1.0.1.
commit 436871d3174f56c8bf7acc8e132a81f5e6fe603a
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Aug 18 09:03:52 2005 +0000
Update autogen.sh to one that does objdir != srcdir.
commit 5d98e054f44c5cf1e51bb7b4646b07192cb6cb7a
Author: Alan Hourihane <alanh@fairlite.demon.co.uk>
Date: Mon Aug 15 07:30:06 2005 +0000
Egbert's 64bit fixes for mixed 32/64bit clients
commit 1c68da251e1bf3828ca2c728a4d7b93bb59659a9
Author: Ian Romanick <idr@us.ibm.com>
Date: Fri Aug 5 23:04:33 2005 +0000
I have resolved this by making all the "Direct rendering disabled" messages
X_WARNING and all the "Direct rendering enabled" messages X_INFO.
Ideally, we need to factor some of this stuff out to common code. There
is a *LOT* of duplication among the *_dri.c files under
programs/Xserver/hw/xfree86/drivers.
I'm trying to clean up as much low hanging fruit as I can and got tired of
waiting for ajax. :P
commit 341cd708a7511dac3e728e260166b4b790df733f
Author: Adam Jackson <ajax@nwnk.net>
Date: Sun Jul 31 17:19:29 2005 +0000
Post-merge fixups:
- Disable building the gamma driver
- Fix numerous Imakefiles to get header paths and subdirs right
- Symlink client-side GLX lib source from Mesa
- Add new shader subdirs to the Mesa core build
- Tweak the DDX drivers to not ask for "xf86dri.h"; they don't need it,
since they don't generate protocol, and it was breaking the build.
commit 397246d1d1b55227456dd9092581871da7d17323
Author: Kevin E Martin <kem@kem.org>
Date: Fri Jul 29 21:22:45 2005 +0000
Various changes preparing packages for RC0:
- Verify and update package version numbers as needed
- Implement versioning scheme
- Change bug address to point to bugzilla bug entry form
- Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
reenable it)
- Fix makedepend to use pkgconfig and pass distcheck
- Update build script to build macros first
- Update modular Xorg version
commit 535a7c83e000a3410b11ffa6769127eae1464b3b
Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
Date: Wed Jul 27 21:23:29 2005 +0000
Add xf86driproto to dependencies for drivers with DRI support. Patch from
Donnie Berkholz
commit 38a86d5b1897427147543b933a1991a780f9b103
Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
Date: Tue Jul 26 23:47:49 2005 +0000
Build system for tdfx
commit 4cb0dd1252ed112a2e3be6de417d2ce8d849c5fe
Author: Adam Jackson <ajax@nwnk.net>
Date: Mon Jul 11 02:30:02 2005 +0000
Prep for modular builds by adding guarded #include "config.h" everywhere.
commit d254bed4315a09eca7c41ce26efd575b60db2526
Author: Adam Jackson <ajax@nwnk.net>
Date: Mon Jul 11 01:06:22 2005 +0000
Fix the build with DRI enabled. Still at least one runtime issue...
commit cd1894c3df1ab667a755852085143fcc261eb985
Author: Adam Jackson <ajax@nwnk.net>
Date: Sun Jul 10 21:36:32 2005 +0000
First cut at driver build skeleton.
commit 2c5f2e65f81699c619854b183d9f7825f350e118
Author: Adam Jackson <ajax@nwnk.net>
Date: Sat Jun 25 21:16:57 2005 +0000
Bug #3626: _X_EXPORT tags for video and input drivers.
commit 2f8fb13b9c14ff9bc24f6737658d79ea647befc7
Author: Adam Jackson <ajax@nwnk.net>
Date: Wed May 18 17:47:36 2005 +0000
Bug #3163: Create new DRIINFO_*_VERSION macros to indicate the version
number of the DRIInfoRec, disambiguating it from the XF86DRI protocol
version number. Modify DRIQueryVersion to return the libdri version
number, which all DDXes were requesting implicitly. Fix the DDXes to
check for the DRIINFO version they were compiled against.
commit 4db50246111e420ad5e6ae9ac8c7e03ec0d5d704
Author: Daniel Stone <daniel@fooishbar.org>
Date: Wed Apr 20 12:25:30 2005 +0000
Fix includes right throughout the Xserver tree:
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h;
change "foo.h", "extensions/foo.h" and "X11/foo.h" to
<X11/extensions/foo.h> for extension headers, e.g. Xv.h;
change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
commit 9b0caee37f7ee99831735e819d97f9ccf155562a
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date: Mon Oct 4 21:14:44 2004 +0000
Manual pages fixes (XFree86 bugzilla #1487, Nicolas Joly).
commit a490c1eec95ec111bdc3555d29b77192bf8caf90
Author: Eric Anholt <anholt@freebsd.org>
Date: Wed Jun 16 09:44:00 2004 +0000
Merge DRI-trunk-20040613 changes in programs/Xserver/hw/xfree86/drivers,
with the following notes:
- Savage and Mach64 (= ati/ati*.[ch] changes) DRI not merged due to
insecurity.
- VIA driver converted to new drmContext and drmHandle names.
- Radeon driver merge conflicted in many places, and MergedFB at least
could probably use some checking at this point.
commit 5172fd205abbbe649205b21fc24f47df5cc5ac8a
Author: Eric Anholt <anholt@freebsd.org>
Date: Wed Jun 16 09:27:19 2004 +0000
DRI trunk-20040613 import
commit 982a12c6ae9d15e4d22d579de4f2c8fac1a2dcee
Author: Eric Anholt <anholt@freebsd.org>
Date: Wed Jun 16 09:24:02 2004 +0000
DRI XFree86-4_3_99_12-merge import
commit 6f6d502351b3c7da0585791375b0102aa65e48be
Author: Egbert Eich <eich@suse.de>
Date: Fri Apr 23 19:49:53 2004 +0000
Merging XORG-CURRENT into trunk
commit 38f39f7f4a75693866227156a7ef3673b587e3de
Author: Egbert Eich <eich@suse.de>
Date: Sun Mar 14 08:33:37 2004 +0000
Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004
commit e91530f65fe7ef236459c97c06f2203cac507736
Author: Egbert Eich <eich@suse.de>
Date: Wed Mar 3 12:12:27 2004 +0000
Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004
commit 3cef3b10af1d67b237bde8a71ffddcef6bc7ba65
Author: Egbert Eich <eich@suse.de>
Date: Thu Feb 26 13:35:55 2004 +0000
readding XFree86's cvs IDs
commit d97a6f7a36b93bbd12e9d878cddfe1625f87e21d
Author: Egbert Eich <eich@suse.de>
Date: Thu Feb 26 09:23:27 2004 +0000
Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004
commit 7aa6b58d626657e97cc5e72d43a2bd4c1b8611ce
Author: Egbert Eich <eich@suse.de>
Date: Thu Jan 29 08:08:37 2004 +0000
Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004
commit a5301d652c98dbf07869a62c4198bae2d3f83571
Author: Kaleb Keithley <kaleb@freedesktop.org>
Date: Tue Nov 25 19:28:43 2003 +0000
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks
commit d95aec56ffcf85524ee04d34caeb07d9b95ab463
Author: Kaleb Keithley <kaleb@freedesktop.org>
Date: Fri Nov 14 16:48:55 2003 +0000
XFree86 4.3.0.1
commit c4dd1bf20f2bae6d34db059ae47f053012d8a822
Author: Kaleb Keithley <kaleb@freedesktop.org>
Date: Fri Nov 14 16:48:55 2003 +0000
Initial revision

View File

@ -0,0 +1,291 @@
Installation Instructions
*************************
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
2006, 2007, 2008 Free Software Foundation, Inc.
This file is free documentation; the Free Software Foundation gives
unlimited permission to copy, distribute and modify it.
Basic Installation
==================
Briefly, the shell commands `./configure; make; make install' should
configure, build, and install this package. The following
more-detailed instructions are generic; see the `README' file for
instructions specific to this package.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, and a
file `config.log' containing compiler output (useful mainly for
debugging `configure').
It can also use an optional file (typically called `config.cache'
and enabled with `--cache-file=config.cache' or simply `-C') that saves
the results of its tests to speed up reconfiguring. Caching is
disabled by default to prevent problems with accidental use of stale
cache files.
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If you are using the cache, and at
some point `config.cache' contains results you don't want to keep, you
may remove or edit it.
The file `configure.ac' (or `configure.in') is used to create
`configure' by a program called `autoconf'. You need `configure.ac' if
you want to change it or regenerate `configure' using a newer version
of `autoconf'.
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system.
Running `configure' might take a while. While running, it prints
some messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
the package.
4. Type `make install' to install the programs and any data files and
documentation.
5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
6. Often, you can also type `make uninstall' to remove the installed
files again.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. Run `./configure --help'
for details on some of the pertinent environment variables.
You can give `configure' initial values for configuration parameters
by setting variables in the command line or in the environment. Here
is an example:
./configure CC=c99 CFLAGS=-g LIBS=-lposix
*Note Defining Variables::, for more details.
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you can use GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.
With a non-GNU `make', it is safer to compile the package for one
architecture at a time in the source code directory. After you have
installed the package for one architecture, use `make distclean' before
reconfiguring for another architecture.
On MacOS X 10.5 and later systems, you can create libraries and
executables that work on multiple system types--known as "fat" or
"universal" binaries--by specifying multiple `-arch' options to the
compiler but only a single `-arch' option to the preprocessor. Like
this:
./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CPP="gcc -E" CXXCPP="g++ -E"
This is not guaranteed to produce working output in all cases, you
may have to build one architecture at a time and combine the results
using the `lipo' tool if you have problems.
Installation Names
==================
By default, `make install' installs the package's commands under
`/usr/local/bin', include files under `/usr/local/include', etc. You
can specify an installation prefix other than `/usr/local' by giving
`configure' the option `--prefix=PREFIX'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
PREFIX as the prefix for installing programs and libraries.
Documentation and other data files still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like `--bindir=DIR' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
you can set and what kinds of files go in them.
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Optional Features
=================
Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
Particular systems
==================
On HP-UX, the default C compiler is not ANSI C compatible. If GNU
CC is not installed, it is recommended to use the following options in
order to use an ANSI C compiler:
./configure CC="cc -Ae"
and if that doesn't work, install pre-built binaries of GCC for HP-UX.
On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
parse its `<wchar.h>' header file. The option `-nodtk' can be used as
a workaround. If GNU CC is not installed, it is therefore recommended
to try
./configure CC="cc"
and if that doesn't work, try
./configure CC="cc -nodtk"
Specifying the System Type
==========================
There may be some features `configure' cannot figure out
automatically, but needs to determine by the type of machine the package
will run on. Usually, assuming the package is built to be run on the
_same_ architectures, `configure' can figure that out, but if it prints
a message saying it cannot guess the machine type, give it the
`--build=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name which has the form:
CPU-COMPANY-SYSTEM
where SYSTEM can have one of these forms:
OS KERNEL-OS
See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the machine type.
If you are _building_ compiler tools for cross-compiling, you should
use the option `--target=TYPE' to select the type of system they will
produce code for.
If you want to _use_ a cross compiler, that generates code for a
platform different from the build platform, you should specify the
"host" platform (i.e., that on which the generated programs will
eventually be run) with `--host=TYPE'.
Sharing Defaults
================
If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.
Defining Variables
==================
Variables not defined in a site shell script can be set in the
environment passed to `configure'. However, some packages may run
configure again during the build, and the customized values of these
variables may be lost. In order to avoid this problem, you should set
them in the `configure' command line, using `VAR=value'. For example:
./configure CC=/usr/local2/bin/gcc
causes the specified `gcc' to be used as the C compiler (unless it is
overridden in the site shell script).
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
an Autoconf bug. Until the bug is fixed you can use this workaround:
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
`configure' Invocation
======================
`configure' recognizes the following options to control how it
operates.
`--help'
`-h'
Print a summary of all of the options to `configure', and exit.
`--help=short'
`--help=recursive'
Print a summary of the options unique to this package's
`configure', and exit. The `short' variant lists options used
only in the top level, while the `recursive' variant lists options
also present in any nested packages.
`--version'
`-V'
Print the version of Autoconf used to generate the `configure'
script, and exit.
`--cache-file=FILE'
Enable the cache: use and save the results of the tests in FILE,
traditionally `config.cache'. FILE defaults to `/dev/null' to
disable caching.
`--config-cache'
`-C'
Alias for `--cache-file=config.cache'.
`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made. To
suppress all normal output, redirect it to `/dev/null' (any error
messages will still be shown).
`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
`--prefix=DIR'
Use DIR as the installation prefix. *Note Installation Names::
for more details, including other options available for fine-tuning
the installation locations.
`--no-create'
`-n'
Run the configure checks, but stop before creating any output
files.
`configure' also accepts some other, not widely useful, options. Run
`configure --help' for more details.

View File

@ -18,5 +18,14 @@
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # 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. # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src man SUBDIRS = src man
MAINTAINERCLEANFILES = ChangeLog INSTALL
.PHONY: ChangeLog INSTALL
INSTALL:
$(INSTALL_CMD)
ChangeLog:
$(CHANGELOG_CMD)
dist-hook: ChangeLog INSTALL

View File

@ -42,9 +42,9 @@ pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = . top_builddir = .
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@ INSTALL = @INSTALL@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = ${SHELL} $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c install_sh_SCRIPT = ${SHELL} $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name) transform = $(program_transform_name)
NORMAL_INSTALL = : NORMAL_INSTALL = :
@ -57,7 +57,7 @@ build_triplet = @build@
host_triplet = @host@ host_triplet = @host@
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(top_srcdir)/configure COPYING ChangeLog config.guess \ $(top_srcdir)/configure COPYING ChangeLog INSTALL config.guess \
config.sub depcomp install-sh ltmain.sh missing config.sub depcomp install-sh ltmain.sh missing
subdir = . subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@ -97,6 +97,7 @@ ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@ AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@ AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
APP_MAN_DIR = @APP_MAN_DIR@ APP_MAN_DIR = @APP_MAN_DIR@
APP_MAN_SUFFIX = @APP_MAN_SUFFIX@ APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
AR = @AR@ AR = @AR@
@ -104,18 +105,18 @@ AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@ AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@ AUTOMAKE = @AUTOMAKE@
AWK = @AWK@ AWK = @AWK@
BASE_CFLAGS = @BASE_CFLAGS@
CC = @CC@ CC = @CC@
CCDEPMODE = @CCDEPMODE@ CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@ CFLAGS = @CFLAGS@
CHANGELOG_CMD = @CHANGELOG_CMD@
CPP = @CPP@ CPP = @CPP@
CPPFLAGS = @CPPFLAGS@ CPPFLAGS = @CPPFLAGS@
CXX = @CXX@ CWARNFLAGS = @CWARNFLAGS@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@ CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@ DEFS = @DEFS@
DEPDIR = @DEPDIR@ DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DRIVER_MAN_DIR = @DRIVER_MAN_DIR@ DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@ DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
DRIVER_NAME = @DRIVER_NAME@ DRIVER_NAME = @DRIVER_NAME@
@ -124,37 +125,45 @@ DRI_FALSE = @DRI_FALSE@
DRI_LIBS = @DRI_LIBS@ DRI_LIBS = @DRI_LIBS@
DRI_TRUE = @DRI_TRUE@ DRI_TRUE = @DRI_TRUE@
DSYMUTIL = @DSYMUTIL@ DSYMUTIL = @DSYMUTIL@
ECHO = @ECHO@ DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@ ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@ ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@ ECHO_T = @ECHO_T@
EGREP = @EGREP@ EGREP = @EGREP@
EXEEXT = @EXEEXT@ EXEEXT = @EXEEXT@
F77 = @F77@ FGREP = @FGREP@
FFLAGS = @FFLAGS@
FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_DIR = @FILE_MAN_DIR@
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
GREP = @GREP@ GREP = @GREP@
INSTALL_CMD = @INSTALL_CMD@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@ LIBOBJS = @LIBOBJS@
LIBS = @LIBS@ LIBS = @LIBS@
LIBTOOL = @LIBTOOL@ LIBTOOL = @LIBTOOL@
LIB_MAN_DIR = @LIB_MAN_DIR@ LIB_MAN_DIR = @LIB_MAN_DIR@
LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
LIPO = @LIPO@
LN_S = @LN_S@ LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@ LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@ MAINT = @MAINT@
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
MAKEINFO = @MAKEINFO@ MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MAN_SUBSTS = @MAN_SUBSTS@
MISC_MAN_DIR = @MISC_MAN_DIR@ MISC_MAN_DIR = @MISC_MAN_DIR@
MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@ MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
NM = @NM@
NMEDIT = @NMEDIT@ NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@ OBJEXT = @OBJEXT@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@ PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_NAME = @PACKAGE_NAME@
@ -169,19 +178,19 @@ RANLIB = @RANLIB@
SED = @SED@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRICT_CFLAGS = @STRICT_CFLAGS@
STRIP = @STRIP@ STRIP = @STRIP@
VERSION = @VERSION@ VERSION = @VERSION@
XORG_CFLAGS = @XORG_CFLAGS@ XORG_CFLAGS = @XORG_CFLAGS@
XORG_LIBS = @XORG_LIBS@ XORG_LIBS = @XORG_LIBS@
XORG_MAN_PAGE = @XORG_MAN_PAGE@
XSERVER_LIBPCIACCESS_FALSE = @XSERVER_LIBPCIACCESS_FALSE@ XSERVER_LIBPCIACCESS_FALSE = @XSERVER_LIBPCIACCESS_FALSE@
XSERVER_LIBPCIACCESS_TRUE = @XSERVER_LIBPCIACCESS_TRUE@ XSERVER_LIBPCIACCESS_TRUE = @XSERVER_LIBPCIACCESS_TRUE@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@ ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
ac_ct_F77 = @ac_ct_F77@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
am__include = @am__include@ am__include = @am__include@
am__leading_dot = @am__leading_dot@ am__leading_dot = @am__leading_dot@
am__quote = @am__quote@ am__quote = @am__quote@
@ -223,8 +232,8 @@ sbindir = @sbindir@
sharedstatedir = @sharedstatedir@ sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@ sysconfdir = @sysconfdir@
target_alias = @target_alias@ target_alias = @target_alias@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src man SUBDIRS = src man
MAINTAINERCLEANFILES = ChangeLog INSTALL
all: config.h all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive $(MAKE) $(AM_MAKEFLAGS) all-recursive
@ -466,6 +475,9 @@ distdir: $(DISTFILES)
|| exit 1; \ || exit 1; \
fi; \ fi; \
done done
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$(top_distdir)" distdir="$(distdir)" \
dist-hook
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
@ -592,6 +604,7 @@ distclean-generic:
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild." @echo "it deletes files that may require special tools to rebuild."
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-recursive clean: clean-recursive
clean-am: clean-generic clean-libtool mostlyclean-am clean-am: clean-generic clean-libtool mostlyclean-am
@ -647,7 +660,7 @@ uninstall-info: uninstall-info-recursive
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
check-am clean clean-generic clean-libtool clean-recursive \ check-am clean clean-generic clean-libtool clean-recursive \
ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
dist-shar dist-tarZ dist-zip distcheck distclean \ dist-hook dist-shar dist-tarZ dist-zip distcheck distclean \
distclean-generic distclean-hdr distclean-libtool \ distclean-generic distclean-hdr distclean-libtool \
distclean-recursive distclean-tags distcleancheck distdir \ distclean-recursive distclean-tags distcleancheck distdir \
distuninstallcheck dvi dvi-am html html-am info info-am \ distuninstallcheck dvi dvi-am html html-am info info-am \
@ -659,6 +672,15 @@ uninstall-info: uninstall-info-recursive
mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
tags tags-recursive uninstall uninstall-am uninstall-info-am tags tags-recursive uninstall uninstall-am uninstall-info-am
.PHONY: ChangeLog INSTALL
INSTALL:
$(INSTALL_CMD)
ChangeLog:
$(CHANGELOG_CMD)
dist-hook: ChangeLog INSTALL
# Tell versions [3.59,3.63) of GNU make to not export all variables. # Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded. # Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: .NOEXPORT:

File diff suppressed because it is too large Load Diff

View File

@ -32,6 +32,10 @@
/* Define to 1 if you have the <unistd.h> header file. */ /* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H #undef HAVE_UNISTD_H
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR
/* Name of package */ /* Name of package */
#undef PACKAGE #undef PACKAGE
@ -62,11 +66,11 @@
/* Define to 1 if you have the ANSI C header files. */ /* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS #undef STDC_HEADERS
/* Version number of package */
#undef VERSION
/* Enable DRI driver support */ /* Enable DRI driver support */
#undef XF86DRI #undef TDFXDRI
/* Enable developmental DRI driver support */ /* Enable developmental DRI driver support */
#undef XF86DRI_DEVEL #undef TDFXDRI_DEVEL
/* Version number of package */
#undef VERSION

File diff suppressed because it is too large Load Diff

View File

@ -20,47 +20,53 @@
# #
# Process this file with autoconf to produce a configure script # Process this file with autoconf to produce a configure script
AC_PREREQ(2.57) # Initialize Autoconf
AC_PREREQ([2.60])
AC_INIT([xf86-video-tdfx], AC_INIT([xf86-video-tdfx],
1.4.3, [1.4.4],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
xf86-video-tdfx) [xf86-video-tdfx])
AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_SRCDIR([Makefile.am])
AM_CONFIG_HEADER([config.h]) AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR(.) AC_CONFIG_AUX_DIR(.)
AM_INIT_AUTOMAKE([dist-bzip2]) # Initialize Automake
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE AM_MAINTAINER_MODE
# Checks for programs. # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
m4_ifndef([XORG_MACROS_VERSION],
[m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
# Initialize libtool
AC_DISABLE_STATIC AC_DISABLE_STATIC
AC_PROG_LIBTOOL AC_PROG_LIBTOOL
AC_PROG_CC
AH_TOP([#include "xorg-server.h"]) AH_TOP([#include "xorg-server.h"])
# Define a configure option for an alternate module directory
AC_ARG_WITH(xorg-module-dir, AC_ARG_WITH(xorg-module-dir,
AC_HELP_STRING([--with-xorg-module-dir=DIR], AS_HELP_STRING([--with-xorg-module-dir=DIR],
[Default xorg module directory [[default=$libdir/xorg/modules]]]), [Default xorg module directory [[default=$libdir/xorg/modules]]]),
[moduledir="$withval"], [moduledir="$withval"],
[moduledir="$libdir/xorg/modules"]) [moduledir="$libdir/xorg/modules"])
AC_ARG_ENABLE(dri, AC_HELP_STRING([--disable-dri], AC_ARG_ENABLE(dri, AS_HELP_STRING([--disable-dri],
[Disable DRI support [[default=auto]]]), [Disable DRI support [[default=auto]]]),
[DRI="$enableval"], [DRI="$enableval"],
[DRI=auto]) [DRI=auto])
# Checks for extensions # Store the list of server defined optional extensions in REQUIRED_MODULES
XORG_DRIVER_CHECK_EXT(RANDR, randrproto) XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
XORG_DRIVER_CHECK_EXT(RENDER, renderproto) XORG_DRIVER_CHECK_EXT(RENDER, renderproto)
XORG_DRIVER_CHECK_EXT(XV, videoproto) XORG_DRIVER_CHECK_EXT(XV, videoproto)
XORG_DRIVER_CHECK_EXT(DPMSExtension, xextproto) XORG_DRIVER_CHECK_EXT(DPMSExtension, xextproto)
# Checks for pkg-config packages # Obtain compiler/linker options for the driver dependencies
PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES]) PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES])
sdkdir=$(pkg-config --variable=sdkdir xorg-server) sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
# Checks for libraries. # Checks for libraries.
SAVE_CPPFLAGS="$CPPFLAGS" SAVE_CPPFLAGS="$CPPFLAGS"
@ -70,9 +76,6 @@ AC_CHECK_DECL(XSERVER_LIBPCIACCESS,
[#include "xorg-server.h"]) [#include "xorg-server.h"])
CPPFLAGS="$SAVE_CPPFLAGS" CPPFLAGS="$SAVE_CPPFLAGS"
# Checks for header files.
AC_HEADER_STDC
if test "$DRI" != no; then if test "$DRI" != no; then
AC_CHECK_FILE([${sdkdir}/dri.h], AC_CHECK_FILE([${sdkdir}/dri.h],
[have_dri_h="yes"], [have_dri_h="no"]) [have_dri_h="yes"], [have_dri_h="no"])
@ -97,8 +100,8 @@ AC_MSG_RESULT([$DRI])
AM_CONDITIONAL(DRI, test x$DRI = xyes) AM_CONDITIONAL(DRI, test x$DRI = xyes)
if test "$DRI" = yes; then if test "$DRI" = yes; then
PKG_CHECK_MODULES(DRI, [libdrm >= 2.0 xf86driproto]) PKG_CHECK_MODULES(DRI, [libdrm >= 2.0 xf86driproto])
AC_DEFINE(XF86DRI,1,[Enable DRI driver support]) AC_DEFINE(TDFXDRI,1,[Enable DRI driver support])
AC_DEFINE(XF86DRI_DEVEL,1,[Enable developmental DRI driver support]) AC_DEFINE(TDFXDRI_DEVEL,1,[Enable developmental DRI driver support])
fi fi
if test "x$XSERVER_LIBPCIACCESS" = xyes; then if test "x$XSERVER_LIBPCIACCESS" = xyes; then
@ -107,18 +110,14 @@ if test "x$XSERVER_LIBPCIACCESS" = xyes; then
fi fi
AM_CONDITIONAL(XSERVER_LIBPCIACCESS, test "x$XSERVER_LIBPCIACCESS" = xyes) AM_CONDITIONAL(XSERVER_LIBPCIACCESS, test "x$XSERVER_LIBPCIACCESS" = xyes)
AC_SUBST([DRI_CFLAGS])
AC_SUBST([XORG_CFLAGS])
AC_SUBST([moduledir]) AC_SUBST([moduledir])
DRIVER_NAME=tdfx DRIVER_NAME=tdfx
AC_SUBST([DRIVER_NAME]) AC_SUBST([DRIVER_NAME])
XORG_MANPAGE_SECTIONS AC_CONFIG_FILES([
XORG_RELEASE_VERSION Makefile
src/Makefile
AC_OUTPUT([ man/Makefile
Makefile
src/Makefile
man/Makefile
]) ])
AC_OUTPUT

File diff suppressed because it is too large Load Diff

View File

@ -1,27 +1,24 @@
# #
# Copyright 2005 Sun Microsystems, Inc. All rights reserved. # Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# #
# Permission to use, copy, modify, distribute, and sell this software and its # Permission is hereby granted, free of charge, to any person obtaining a
# documentation for any purpose is hereby granted without fee, provided that # copy of this software and associated documentation files (the "Software"),
# the above copyright notice appear in all copies and that both that # to deal in the Software without restriction, including without limitation
# copyright notice and this permission notice appear in supporting # the rights to use, copy, modify, merge, publish, distribute, sublicense,
# documentation. # 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 shall be included #
# in all copies or substantial portions of the Software. # The above copyright notice and this permission notice (including the next
# # paragraph) shall be included in all copies or substantial portions of the
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS # Software.
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF #
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# OTHER DEALINGS IN THE SOFTWARE. # 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
# Except as contained in this notice, the name of the copyright holders shall # DEALINGS IN THE SOFTWARE.
# 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.
# #
drivermandir = $(DRIVER_MAN_DIR) drivermandir = $(DRIVER_MAN_DIR)
@ -34,25 +31,11 @@ EXTRA_DIST = @DRIVER_NAME@.man
CLEANFILES = $(driverman_DATA) CLEANFILES = $(driverman_DATA)
SED = sed
# Strings to replace in man pages # String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
XORGRELSTRING = @PACKAGE_STRING@
XORGMANNAME = X Version 11
MAN_SUBSTS = \
-e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
-e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
-e 's|__xservername__|Xorg|g' \
-e 's|__xconfigfile__|xorg.conf|g' \
-e 's|__projectroot__|$(prefix)|g' \
-e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \
-e 's|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g' \
-e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \
-e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \
-e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'
SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
.man.$(DRIVER_MAN_SUFFIX): .man.$(DRIVER_MAN_SUFFIX):
sed $(MAN_SUBSTS) < $< > $@ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@

View File

@ -16,28 +16,25 @@
# #
# Copyright 2005 Sun Microsystems, Inc. All rights reserved. # Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# #
# Permission to use, copy, modify, distribute, and sell this software and its # Permission is hereby granted, free of charge, to any person obtaining a
# documentation for any purpose is hereby granted without fee, provided that # copy of this software and associated documentation files (the "Software"),
# the above copyright notice appear in all copies and that both that # to deal in the Software without restriction, including without limitation
# copyright notice and this permission notice appear in supporting # the rights to use, copy, modify, merge, publish, distribute, sublicense,
# documentation. # 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 shall be included #
# in all copies or substantial portions of the Software. # The above copyright notice and this permission notice (including the next
# # paragraph) shall be included in all copies or substantial portions of the
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS # Software.
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF #
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# OTHER DEALINGS IN THE SOFTWARE. # 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
# Except as contained in this notice, the name of the copyright holders shall # DEALINGS IN THE SOFTWARE.
# 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.
# #
srcdir = @srcdir@ srcdir = @srcdir@
@ -49,9 +46,9 @@ pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .. top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@ INSTALL = @INSTALL@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = ${SHELL} $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c install_sh_SCRIPT = ${SHELL} $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name) transform = $(program_transform_name)
NORMAL_INSTALL = : NORMAL_INSTALL = :
@ -89,6 +86,7 @@ ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@ AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@ AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
APP_MAN_DIR = @APP_MAN_DIR@ APP_MAN_DIR = @APP_MAN_DIR@
APP_MAN_SUFFIX = @APP_MAN_SUFFIX@ APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
AR = @AR@ AR = @AR@
@ -96,18 +94,18 @@ AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@ AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@ AUTOMAKE = @AUTOMAKE@
AWK = @AWK@ AWK = @AWK@
BASE_CFLAGS = @BASE_CFLAGS@
CC = @CC@ CC = @CC@
CCDEPMODE = @CCDEPMODE@ CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@ CFLAGS = @CFLAGS@
CHANGELOG_CMD = @CHANGELOG_CMD@
CPP = @CPP@ CPP = @CPP@
CPPFLAGS = @CPPFLAGS@ CPPFLAGS = @CPPFLAGS@
CXX = @CXX@ CWARNFLAGS = @CWARNFLAGS@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@ CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@ DEFS = @DEFS@
DEPDIR = @DEPDIR@ DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DRIVER_MAN_DIR = @DRIVER_MAN_DIR@ DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@ DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
DRIVER_NAME = @DRIVER_NAME@ DRIVER_NAME = @DRIVER_NAME@
@ -116,37 +114,45 @@ DRI_FALSE = @DRI_FALSE@
DRI_LIBS = @DRI_LIBS@ DRI_LIBS = @DRI_LIBS@
DRI_TRUE = @DRI_TRUE@ DRI_TRUE = @DRI_TRUE@
DSYMUTIL = @DSYMUTIL@ DSYMUTIL = @DSYMUTIL@
ECHO = @ECHO@ DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@ ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@ ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@ ECHO_T = @ECHO_T@
EGREP = @EGREP@ EGREP = @EGREP@
EXEEXT = @EXEEXT@ EXEEXT = @EXEEXT@
F77 = @F77@ FGREP = @FGREP@
FFLAGS = @FFLAGS@
FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_DIR = @FILE_MAN_DIR@
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
GREP = @GREP@ GREP = @GREP@
INSTALL_CMD = @INSTALL_CMD@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@ LIBOBJS = @LIBOBJS@
LIBS = @LIBS@ LIBS = @LIBS@
LIBTOOL = @LIBTOOL@ LIBTOOL = @LIBTOOL@
LIB_MAN_DIR = @LIB_MAN_DIR@ LIB_MAN_DIR = @LIB_MAN_DIR@
LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
LIPO = @LIPO@
LN_S = @LN_S@ LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@ LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@ MAINT = @MAINT@
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
MAKEINFO = @MAKEINFO@ MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MAN_SUBSTS = @MAN_SUBSTS@
MISC_MAN_DIR = @MISC_MAN_DIR@ MISC_MAN_DIR = @MISC_MAN_DIR@
MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@ MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
NM = @NM@
NMEDIT = @NMEDIT@ NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@ OBJEXT = @OBJEXT@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@ PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_NAME = @PACKAGE_NAME@
@ -158,22 +164,22 @@ PCIACCESS_CFLAGS = @PCIACCESS_CFLAGS@
PCIACCESS_LIBS = @PCIACCESS_LIBS@ PCIACCESS_LIBS = @PCIACCESS_LIBS@
PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG = @PKG_CONFIG@
RANLIB = @RANLIB@ RANLIB = @RANLIB@
SED = sed SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRICT_CFLAGS = @STRICT_CFLAGS@
STRIP = @STRIP@ STRIP = @STRIP@
VERSION = @VERSION@ VERSION = @VERSION@
XORG_CFLAGS = @XORG_CFLAGS@ XORG_CFLAGS = @XORG_CFLAGS@
XORG_LIBS = @XORG_LIBS@ XORG_LIBS = @XORG_LIBS@
XORG_MAN_PAGE = @XORG_MAN_PAGE@
XSERVER_LIBPCIACCESS_FALSE = @XSERVER_LIBPCIACCESS_FALSE@ XSERVER_LIBPCIACCESS_FALSE = @XSERVER_LIBPCIACCESS_FALSE@
XSERVER_LIBPCIACCESS_TRUE = @XSERVER_LIBPCIACCESS_TRUE@ XSERVER_LIBPCIACCESS_TRUE = @XSERVER_LIBPCIACCESS_TRUE@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@ ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
ac_ct_F77 = @ac_ct_F77@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
am__include = @am__include@ am__include = @am__include@
am__leading_dot = @am__leading_dot@ am__leading_dot = @am__leading_dot@
am__quote = @am__quote@ am__quote = @am__quote@
@ -221,21 +227,7 @@ driverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
EXTRA_DIST = @DRIVER_NAME@.man EXTRA_DIST = @DRIVER_NAME@.man
CLEANFILES = $(driverman_DATA) CLEANFILES = $(driverman_DATA)
# Strings to replace in man pages # String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
XORGRELSTRING = @PACKAGE_STRING@
XORGMANNAME = X Version 11
MAN_SUBSTS = \
-e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
-e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
-e 's|__xservername__|Xorg|g' \
-e 's|__xconfigfile__|xorg.conf|g' \
-e 's|__projectroot__|$(prefix)|g' \
-e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \
-e 's|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g' \
-e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \
-e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \
-e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'
SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
all: all-am all: all-am
@ -250,9 +242,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
exit 1;; \ exit 1;; \
esac; \ esac; \
done; \ done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign man/Makefile'; \
cd $(top_srcdir) && \ cd $(top_srcdir) && \
$(AUTOMAKE) --gnu man/Makefile $(AUTOMAKE) --foreign man/Makefile
.PRECIOUS: Makefile .PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \ @case '$?' in \
@ -422,7 +414,7 @@ uninstall-am: uninstall-drivermanDATA uninstall-info-am
.man.$(DRIVER_MAN_SUFFIX): .man.$(DRIVER_MAN_SUFFIX):
sed $(MAN_SUBSTS) < $< > $@ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
# Tell versions [3.59,3.63) of GNU make to not export all variables. # Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded. # Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: .NOEXPORT:

View File

@ -1,4 +1,3 @@
.\" $XFree86: xc/programs/Xserver/hw/xfree86/drivers/tdfx/tdfx.man,v 1.2 2001/01/27 18:20:55 dawes Exp $
.\" shorthand for double quote that works everywhere. .\" shorthand for double quote that works everywhere.
.ds q \N'34' .ds q \N'34'
.TH TDFX __drivermansuffix__ __vendorversion__ .TH TDFX __drivermansuffix__ __vendorversion__

View File

@ -43,9 +43,9 @@ pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .. top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@ INSTALL = @INSTALL@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = ${SHELL} $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c install_sh_SCRIPT = ${SHELL} $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name) transform = $(program_transform_name)
NORMAL_INSTALL = : NORMAL_INSTALL = :
@ -111,6 +111,7 @@ ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@ AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@ AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
APP_MAN_DIR = @APP_MAN_DIR@ APP_MAN_DIR = @APP_MAN_DIR@
APP_MAN_SUFFIX = @APP_MAN_SUFFIX@ APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
AR = @AR@ AR = @AR@
@ -118,18 +119,18 @@ AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@ AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@ AUTOMAKE = @AUTOMAKE@
AWK = @AWK@ AWK = @AWK@
BASE_CFLAGS = @BASE_CFLAGS@
CC = @CC@ CC = @CC@
CCDEPMODE = @CCDEPMODE@ CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@ CFLAGS = @CFLAGS@
CHANGELOG_CMD = @CHANGELOG_CMD@
CPP = @CPP@ CPP = @CPP@
CPPFLAGS = @CPPFLAGS@ CPPFLAGS = @CPPFLAGS@
CXX = @CXX@ CWARNFLAGS = @CWARNFLAGS@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@ CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@ DEFS = @DEFS@
DEPDIR = @DEPDIR@ DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DRIVER_MAN_DIR = @DRIVER_MAN_DIR@ DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@ DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
DRIVER_NAME = @DRIVER_NAME@ DRIVER_NAME = @DRIVER_NAME@
@ -138,37 +139,45 @@ DRI_FALSE = @DRI_FALSE@
DRI_LIBS = @DRI_LIBS@ DRI_LIBS = @DRI_LIBS@
DRI_TRUE = @DRI_TRUE@ DRI_TRUE = @DRI_TRUE@
DSYMUTIL = @DSYMUTIL@ DSYMUTIL = @DSYMUTIL@
ECHO = @ECHO@ DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@ ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@ ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@ ECHO_T = @ECHO_T@
EGREP = @EGREP@ EGREP = @EGREP@
EXEEXT = @EXEEXT@ EXEEXT = @EXEEXT@
F77 = @F77@ FGREP = @FGREP@
FFLAGS = @FFLAGS@
FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_DIR = @FILE_MAN_DIR@
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
GREP = @GREP@ GREP = @GREP@
INSTALL_CMD = @INSTALL_CMD@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@ LIBOBJS = @LIBOBJS@
LIBS = @LIBS@ LIBS = @LIBS@
LIBTOOL = @LIBTOOL@ LIBTOOL = @LIBTOOL@
LIB_MAN_DIR = @LIB_MAN_DIR@ LIB_MAN_DIR = @LIB_MAN_DIR@
LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
LIPO = @LIPO@
LN_S = @LN_S@ LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@ LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@ MAINT = @MAINT@
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
MAKEINFO = @MAKEINFO@ MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MAN_SUBSTS = @MAN_SUBSTS@
MISC_MAN_DIR = @MISC_MAN_DIR@ MISC_MAN_DIR = @MISC_MAN_DIR@
MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@ MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
NM = @NM@
NMEDIT = @NMEDIT@ NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@ OBJEXT = @OBJEXT@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@ PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_NAME = @PACKAGE_NAME@
@ -183,19 +192,19 @@ RANLIB = @RANLIB@
SED = @SED@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRICT_CFLAGS = @STRICT_CFLAGS@
STRIP = @STRIP@ STRIP = @STRIP@
VERSION = @VERSION@ VERSION = @VERSION@
XORG_CFLAGS = @XORG_CFLAGS@ XORG_CFLAGS = @XORG_CFLAGS@
XORG_LIBS = @XORG_LIBS@ XORG_LIBS = @XORG_LIBS@
XORG_MAN_PAGE = @XORG_MAN_PAGE@
XSERVER_LIBPCIACCESS_FALSE = @XSERVER_LIBPCIACCESS_FALSE@ XSERVER_LIBPCIACCESS_FALSE = @XSERVER_LIBPCIACCESS_FALSE@
XSERVER_LIBPCIACCESS_TRUE = @XSERVER_LIBPCIACCESS_TRUE@ XSERVER_LIBPCIACCESS_TRUE = @XSERVER_LIBPCIACCESS_TRUE@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@ ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
ac_ct_F77 = @ac_ct_F77@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
am__include = @am__include@ am__include = @am__include@
am__leading_dot = @am__leading_dot@ am__leading_dot = @am__leading_dot@
am__quote = @am__quote@ am__quote = @am__quote@
@ -263,9 +272,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
exit 1;; \ exit 1;; \
esac; \ esac; \
done; \ done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
cd $(top_srcdir) && \ cd $(top_srcdir) && \
$(AUTOMAKE) --gnu src/Makefile $(AUTOMAKE) --foreign src/Makefile
.PRECIOUS: Makefile .PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \ @case '$?' in \

View File

@ -18,7 +18,11 @@
#include "xf86xv.h" #include "xf86xv.h"
#include "tdfxdefs.h" #include "tdfxdefs.h"
#ifdef XF86DRI #ifndef XF86DRI
#undef TDFXDRI
#endif
#ifdef TDFXDRI
#include "xf86drm.h" #include "xf86drm.h"
#include "sarea.h" #include "sarea.h"
#define _XF86DRI_SERVER_ #define _XF86DRI_SERVER_
@ -78,7 +82,7 @@ extern void TDFXLostContext(ScreenPtr pScreen);
extern Bool TDFXSetupSLI(ScrnInfoPtr pScrn, Bool sliEnable, int aaSamples); extern Bool TDFXSetupSLI(ScrnInfoPtr pScrn, Bool sliEnable, int aaSamples);
extern Bool TDFXDisableSLI(TDFXPtr pTDFX); extern Bool TDFXDisableSLI(TDFXPtr pTDFX);
#ifdef XF86DRI #ifdef TDFXDRI
extern void FillPrivateDRI(TDFXPtr pTDFX, TDFXDRIPtr pTDFXDRI); extern void FillPrivateDRI(TDFXPtr pTDFX, TDFXDRIPtr pTDFXDRI);
#endif #endif
@ -191,7 +195,7 @@ typedef struct _TDFXRec {
unsigned char *FbBase; unsigned char *FbBase;
unsigned char *myFbBase; unsigned char *myFbBase;
#endif #endif
IOADDRESS PIOBase[MAXCHIPS]; unsigned long PIOBase[MAXCHIPS];
long FbMapSize; long FbMapSize;
int pixelFormat; int pixelFormat;
int stride; int stride;
@ -250,7 +254,7 @@ typedef struct _TDFXRec {
int scanlineWidth; int scanlineWidth;
unsigned char *scanlineColorExpandBuffers[2]; unsigned char *scanlineColorExpandBuffers[2];
PROPDATA PROPDATA
#ifdef XF86DRI #ifdef TDFXDRI
Bool directRenderingEnabled; Bool directRenderingEnabled;
DRIInfoPtr pDRIInfo; DRIInfoPtr pDRIInfo;
int drmSubFD; int drmSubFD;

View File

@ -89,7 +89,7 @@ TDFXFirstSync(ScrnInfoPtr pScrn) {
TDFXPtr pTDFX = TDFXPTR(pScrn); TDFXPtr pTDFX = TDFXPTR(pScrn);
if (!pTDFX->syncDone) { if (!pTDFX->syncDone) {
#ifdef XF86DRI #ifdef TDFXDRI
if (pTDFX->directRenderingEnabled) { if (pTDFX->directRenderingEnabled) {
DRILock(screenInfo.screens[pScrn->scrnIndex], 0); DRILock(screenInfo.screens[pScrn->scrnIndex], 0);
TDFXSwapContextFifo(screenInfo.screens[pScrn->scrnIndex]); TDFXSwapContextFifo(screenInfo.screens[pScrn->scrnIndex]);
@ -107,7 +107,7 @@ TDFXCheckSync(ScrnInfoPtr pScrn) {
if (pTDFX->syncDone) { if (pTDFX->syncDone) {
pTDFX->sync(pScrn); pTDFX->sync(pScrn);
pTDFX->syncDone=FALSE; pTDFX->syncDone=FALSE;
#ifdef XF86DRI #ifdef TDFXDRI
if (pTDFX->directRenderingEnabled) { if (pTDFX->directRenderingEnabled) {
DRIUnlock(screenInfo.screens[pScrn->scrnIndex]); DRIUnlock(screenInfo.screens[pScrn->scrnIndex]);
} }
@ -254,8 +254,8 @@ TDFXAccelInit(ScreenPtr pScreen)
infoPtr->ScreenToScreenCopyFlags = commonFlags; infoPtr->ScreenToScreenCopyFlags = commonFlags;
/* When we're using the fifo we have to use indirect expansion */ /* When we're using the fifo we have to use indirect expansion */
pTDFX->scanlineColorExpandBuffers[0] = xalloc((pScrn->virtualX+62)/32*4); pTDFX->scanlineColorExpandBuffers[0] = malloc((pScrn->virtualX+62)/32*4);
pTDFX->scanlineColorExpandBuffers[1] = xalloc((pScrn->virtualX+62)/32*4); pTDFX->scanlineColorExpandBuffers[1] = malloc((pScrn->virtualX+62)/32*4);
infoPtr->NumScanlineColorExpandBuffers=2; infoPtr->NumScanlineColorExpandBuffers=2;
infoPtr->ScanlineColorExpandBuffers=pTDFX->scanlineColorExpandBuffers; infoPtr->ScanlineColorExpandBuffers=pTDFX->scanlineColorExpandBuffers;
infoPtr->SetupForScanlineCPUToScreenColorExpandFill = infoPtr->SetupForScanlineCPUToScreenColorExpandFill =

View File

@ -48,10 +48,10 @@ TDFXDGAInit(ScreenPtr pScreen)
pMode = firstMode = pScrn->modes; pMode = firstMode = pScrn->modes;
while (pMode) { while (pMode) {
newmodes = xrealloc(modes, (num+1)*sizeof(DGAModeRec)); newmodes = realloc(modes, (num+1)*sizeof(DGAModeRec));
if (!newmodes) { if (!newmodes) {
xfree(modes); free(modes);
return FALSE; return FALSE;
} }
modes = newmodes; modes = newmodes;

View File

@ -5,7 +5,6 @@
#include "xf86.h" #include "xf86.h"
#include "xf86_OSproc.h" #include "xf86_OSproc.h"
#include "xf86Priv.h"
#include "xf86PciInfo.h" #include "xf86PciInfo.h"
#include "xf86Pci.h" #include "xf86Pci.h"
#include "fb.h" #include "fb.h"
@ -53,19 +52,19 @@ TDFXInitVisualConfigs(ScreenPtr pScreen)
case 16: case 16:
numConfigs = 16; numConfigs = 16;
if (!(pConfigs = (__GLXvisualConfig*)xcalloc(sizeof(__GLXvisualConfig), if (!(pConfigs = (__GLXvisualConfig*)calloc(sizeof(__GLXvisualConfig),
numConfigs))) { numConfigs))) {
return FALSE; return FALSE;
} }
if (!(pTDFXConfigs = (TDFXConfigPrivPtr)xcalloc(sizeof(TDFXConfigPrivRec), if (!(pTDFXConfigs = (TDFXConfigPrivPtr)calloc(sizeof(TDFXConfigPrivRec),
numConfigs))) { numConfigs))) {
xfree(pConfigs); free(pConfigs);
return FALSE; return FALSE;
} }
if (!(pTDFXConfigPtrs = (TDFXConfigPrivPtr*)xcalloc(sizeof(TDFXConfigPrivPtr), if (!(pTDFXConfigPtrs = (TDFXConfigPrivPtr*)calloc(sizeof(TDFXConfigPrivPtr),
numConfigs))) { numConfigs))) {
xfree(pConfigs); free(pConfigs);
xfree(pTDFXConfigs); free(pTDFXConfigs);
return FALSE; return FALSE;
} }
for (i=0; i<numConfigs; i++) for (i=0; i<numConfigs; i++)
@ -144,20 +143,20 @@ TDFXInitVisualConfigs(ScreenPtr pScreen)
case 32: case 32:
numConfigs = 8; numConfigs = 8;
pConfigs = (__GLXvisualConfig*) xcalloc(sizeof(__GLXvisualConfig), numConfigs); pConfigs = (__GLXvisualConfig*) calloc(sizeof(__GLXvisualConfig), numConfigs);
if (!pConfigs) if (!pConfigs)
return FALSE; return FALSE;
pTDFXConfigs = (TDFXConfigPrivPtr) xcalloc(sizeof(TDFXConfigPrivRec), numConfigs); pTDFXConfigs = (TDFXConfigPrivPtr) calloc(sizeof(TDFXConfigPrivRec), numConfigs);
if (!pTDFXConfigs) { if (!pTDFXConfigs) {
xfree(pConfigs); free(pConfigs);
return FALSE; return FALSE;
} }
pTDFXConfigPtrs = (TDFXConfigPrivPtr *) xcalloc(sizeof(TDFXConfigPrivPtr), numConfigs); pTDFXConfigPtrs = (TDFXConfigPrivPtr *) calloc(sizeof(TDFXConfigPrivPtr), numConfigs);
if (!pTDFXConfigPtrs) { if (!pTDFXConfigPtrs) {
xfree(pConfigs); free(pConfigs);
xfree(pTDFXConfigs); free(pTDFXConfigs);
return FALSE; return FALSE;
} }
@ -350,7 +349,7 @@ Bool TDFXDRIScreenInit(ScreenPtr pScreen)
if (xf86LoaderCheckSymbol("DRICreatePCIBusID")) { if (xf86LoaderCheckSymbol("DRICreatePCIBusID")) {
pDRIInfo->busIdString = DRICreatePCIBusID(pTDFX->PciInfo); pDRIInfo->busIdString = DRICreatePCIBusID(pTDFX->PciInfo);
} else { } else {
pDRIInfo->busIdString = xalloc(64); pDRIInfo->busIdString = malloc(64);
sprintf(pDRIInfo->busIdString, "PCI:%d:%d:%d", sprintf(pDRIInfo->busIdString, "PCI:%d:%d:%d",
((pciConfigPtr)pTDFX->PciInfo->thisCard)->busnum, ((pciConfigPtr)pTDFX->PciInfo->thisCard)->busnum,
((pciConfigPtr)pTDFX->PciInfo->thisCard)->devnum, ((pciConfigPtr)pTDFX->PciInfo->thisCard)->devnum,
@ -360,7 +359,7 @@ Bool TDFXDRIScreenInit(ScreenPtr pScreen)
pDRIInfo->ddxDriverMajorVersion = TDFX_MAJOR_VERSION; pDRIInfo->ddxDriverMajorVersion = TDFX_MAJOR_VERSION;
pDRIInfo->ddxDriverMinorVersion = TDFX_MINOR_VERSION; pDRIInfo->ddxDriverMinorVersion = TDFX_MINOR_VERSION;
pDRIInfo->ddxDriverPatchVersion = TDFX_PATCHLEVEL; pDRIInfo->ddxDriverPatchVersion = TDFX_PATCHLEVEL;
pDRIInfo->frameBufferPhysicalAddress = pTDFX->LinearAddr[0]; pDRIInfo->frameBufferPhysicalAddress = (pointer) pTDFX->LinearAddr[0];
pDRIInfo->frameBufferSize = pTDFX->FbMapSize; pDRIInfo->frameBufferSize = pTDFX->FbMapSize;
pDRIInfo->frameBufferStride = pTDFX->stride; pDRIInfo->frameBufferStride = pTDFX->stride;
pDRIInfo->ddxDrawableTableEntry = TDFX_MAX_DRAWABLES; pDRIInfo->ddxDrawableTableEntry = TDFX_MAX_DRAWABLES;
@ -395,7 +394,7 @@ Bool TDFXDRIScreenInit(ScreenPtr pScreen)
pDRIInfo->SAREASize = SAREA_MAX; pDRIInfo->SAREASize = SAREA_MAX;
#endif #endif
if (!(pTDFXDRI = (TDFXDRIPtr)xcalloc(sizeof(TDFXDRIRec),1))) { if (!(pTDFXDRI = (TDFXDRIPtr)calloc(sizeof(TDFXDRIRec),1))) {
xf86DrvMsg(pScreen->myNum, X_ERROR, xf86DrvMsg(pScreen->myNum, X_ERROR,
"[dri] DRI memory allocation failed, disabling DRI.\n"); "[dri] DRI memory allocation failed, disabling DRI.\n");
DRIDestroyInfoRec(pTDFX->pDRIInfo); DRIDestroyInfoRec(pTDFX->pDRIInfo);
@ -421,7 +420,7 @@ Bool TDFXDRIScreenInit(ScreenPtr pScreen)
pDRIInfo->createDummyCtxPriv = FALSE; pDRIInfo->createDummyCtxPriv = FALSE;
if (!DRIScreenInit(pScreen, pDRIInfo, &pTDFX->drmSubFD)) { if (!DRIScreenInit(pScreen, pDRIInfo, &pTDFX->drmSubFD)) {
xfree(pDRIInfo->devPrivate); free(pDRIInfo->devPrivate);
pDRIInfo->devPrivate=0; pDRIInfo->devPrivate=0;
DRIDestroyInfoRec(pTDFX->pDRIInfo); DRIDestroyInfoRec(pTDFX->pDRIInfo);
pTDFX->pDRIInfo=0; pTDFX->pDRIInfo=0;
@ -483,14 +482,14 @@ TDFXDRICloseScreen(ScreenPtr pScreen)
if (pTDFX->pDRIInfo) { if (pTDFX->pDRIInfo) {
if (pTDFX->pDRIInfo->devPrivate) { if (pTDFX->pDRIInfo->devPrivate) {
xfree(pTDFX->pDRIInfo->devPrivate); free(pTDFX->pDRIInfo->devPrivate);
pTDFX->pDRIInfo->devPrivate=0; pTDFX->pDRIInfo->devPrivate=0;
} }
DRIDestroyInfoRec(pTDFX->pDRIInfo); DRIDestroyInfoRec(pTDFX->pDRIInfo);
pTDFX->pDRIInfo=0; pTDFX->pDRIInfo=0;
} }
if (pTDFX->pVisualConfigs) xfree(pTDFX->pVisualConfigs); if (pTDFX->pVisualConfigs) free(pTDFX->pVisualConfigs);
if (pTDFX->pVisualConfigsPriv) xfree(pTDFX->pVisualConfigsPriv); if (pTDFX->pVisualConfigsPriv) free(pTDFX->pVisualConfigsPriv);
} }
static Bool static Bool

View File

@ -6,9 +6,6 @@
#include <inttypes.h> #include <inttypes.h>
#endif #endif
#define USE_INT10 1
#define USE_PCIVGAIO 1
/************************************************************************** /**************************************************************************
Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas. Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
@ -102,10 +99,13 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "xf86xv.h" #include "xf86xv.h"
#include <X11/extensions/Xv.h> #include <X11/extensions/Xv.h>
#ifdef XF86DRI #ifdef TDFXDRI
#include "dri.h" #include "dri.h"
#endif #endif
#define USE_INT10 1
#define USE_PCIVGAIO (GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12)
/* Required Functions: */ /* Required Functions: */
static const OptionInfoRec * TDFXAvailableOptions(int chipid, int busid); static const OptionInfoRec * TDFXAvailableOptions(int chipid, int busid);
@ -306,7 +306,7 @@ static void
TDFXFreeRec(ScrnInfoPtr pScrn) { TDFXFreeRec(ScrnInfoPtr pScrn) {
if (!pScrn) return; if (!pScrn) return;
if (!pScrn->driverPrivate) return; if (!pScrn->driverPrivate) return;
xfree(pScrn->driverPrivate); free(pScrn->driverPrivate);
pScrn->driverPrivate=0; pScrn->driverPrivate=0;
} }
@ -429,7 +429,7 @@ TDFXProbe(DriverPtr drv, int flags)
devSections, numDevSections, devSections, numDevSections,
drv, &usedChips); drv, &usedChips);
xfree(devSections); free(devSections);
if (numUsed<=0) return FALSE; if (numUsed<=0) return FALSE;
if (flags & PROBE_DETECT) if (flags & PROBE_DETECT)
@ -457,7 +457,7 @@ TDFXProbe(DriverPtr drv, int flags)
foundScreen = TRUE; foundScreen = TRUE;
} }
} }
xfree(usedChips); free(usedChips);
return foundScreen; return foundScreen;
} }
@ -824,6 +824,7 @@ TDFXPreInit(ScrnInfoPtr pScrn, int flags)
/* Allocate a vgaHWRec */ /* Allocate a vgaHWRec */
if (!vgaHWGetHWRec(pScrn)) return FALSE; if (!vgaHWGetHWRec(pScrn)) return FALSE;
vgaHWSetStdFuncs(VGAHWPTR(pScrn));
#if USE_INT10 #if USE_INT10
#if !defined(__powerpc__) #if !defined(__powerpc__)
@ -927,7 +928,7 @@ TDFXPreInit(ScrnInfoPtr pScrn, int flags)
/* Process the options */ /* Process the options */
xf86CollectOptions(pScrn, NULL); xf86CollectOptions(pScrn, NULL);
if (!(pTDFX->Options = xalloc(sizeof(TDFXOptions)))) if (!(pTDFX->Options = malloc(sizeof(TDFXOptions))))
return FALSE; return FALSE;
memcpy(pTDFX->Options, TDFXOptions, sizeof(TDFXOptions)); memcpy(pTDFX->Options, TDFXOptions, sizeof(TDFXOptions));
xf86ProcessOptions(pScrn->scrnIndex, pScrn->options, pTDFX->Options); xf86ProcessOptions(pScrn->scrnIndex, pScrn->options, pTDFX->Options);
@ -1103,10 +1104,11 @@ TDFXPreInit(ScrnInfoPtr pScrn, int flags)
return FALSE; return FALSE;
} }
if (!xf86ReturnOptValBool(pTDFX->Options, OPTION_NOACCEL, FALSE)) { pTDFX->NoAccel = xf86ReturnOptValBool(pTDFX->Options, OPTION_NOACCEL, FALSE);
if (!pTDFX->NoAccel) {
if (!xf86LoadSubModule(pScrn, "xaa")) { if (!xf86LoadSubModule(pScrn, "xaa")) {
TDFXFreeRec(pScrn); xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "No acceleration available\n");
return FALSE; pTDFX->NoAccel = TRUE;
} }
} }
@ -1228,7 +1230,7 @@ TDFXPreInit(ScrnInfoPtr pScrn, int flags)
pTDFX->writeLong(pTDFX, MISCINIT0, pTDFX->ModeReg.miscinit0); pTDFX->writeLong(pTDFX, MISCINIT0, pTDFX->ModeReg.miscinit0);
#endif #endif
#ifdef XF86DRI #ifdef TDFXDRI
/* Load the dri module if requested. */ /* Load the dri module if requested. */
if (xf86ReturnOptValBool(pTDFX->Options, OPTION_DRI, FALSE)) { if (xf86ReturnOptValBool(pTDFX->Options, OPTION_DRI, FALSE)) {
xf86LoadSubModule(pScrn, "dri"); xf86LoadSubModule(pScrn, "dri");
@ -1682,7 +1684,7 @@ TDFXInitWithBIOSData(ScrnInfoPtr pScrn)
} }
#define T_B_SIZE (64 * 1024) #define T_B_SIZE (64 * 1024)
bios = xcalloc(T_B_SIZE, 1); bios = calloc(T_B_SIZE, 1);
if (!bios) if (!bios)
return FALSE; return FALSE;
@ -1692,7 +1694,7 @@ TDFXInitWithBIOSData(ScrnInfoPtr pScrn)
if (!xf86ReadPciBIOS(0, pTDFX->PciTag[0], 1, bios, T_B_SIZE)) { if (!xf86ReadPciBIOS(0, pTDFX->PciTag[0], 1, bios, T_B_SIZE)) {
#if 0 #if 0
xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "Bad BIOS read.\n"); xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "Bad BIOS read.\n");
xfree(bios); free(bios);
return FALSE; return FALSE;
#endif #endif
} }
@ -1700,7 +1702,7 @@ TDFXInitWithBIOSData(ScrnInfoPtr pScrn)
if (bios[0] != 0x55 || bios[1] != 0xAA) { if (bios[0] != 0x55 || bios[1] != 0xAA) {
xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "Bad BIOS signature.\n"); xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "Bad BIOS signature.\n");
xfree(bios); free(bios);
return FALSE; return FALSE;
} }
@ -1744,7 +1746,7 @@ TDFXInitWithBIOSData(ScrnInfoPtr pScrn)
pTDFX->writeLong(pTDFX, MISCINIT0, 0xF3); pTDFX->writeLong(pTDFX, MISCINIT0, 0xF3);
pTDFX->writeLong(pTDFX, MISCINIT0, uint[1]); pTDFX->writeLong(pTDFX, MISCINIT0, uint[1]);
xfree(bios); free(bios);
return TRUE; return TRUE;
} }
#endif #endif
@ -1906,14 +1908,14 @@ TDFXModeInit(ScrnInfoPtr pScrn, DisplayModePtr mode)
mode->CrtcHSkew=hskew; mode->CrtcHSkew=hskew;
} }
#ifdef XF86DRI #ifdef TDFXDRI
if (pTDFX->directRenderingEnabled) { if (pTDFX->directRenderingEnabled) {
DRILock(screenInfo.screens[pScrn->scrnIndex], 0); DRILock(screenInfo.screens[pScrn->scrnIndex], 0);
TDFXSwapContextFifo(screenInfo.screens[pScrn->scrnIndex]); TDFXSwapContextFifo(screenInfo.screens[pScrn->scrnIndex]);
} }
#endif #endif
DoRestore(pScrn, &hwp->ModeReg, &pTDFX->ModeReg, FALSE); DoRestore(pScrn, &hwp->ModeReg, &pTDFX->ModeReg, FALSE);
#ifdef XF86DRI #ifdef TDFXDRI
if (pTDFX->directRenderingEnabled) { if (pTDFX->directRenderingEnabled) {
DRIUnlock(screenInfo.screens[pScrn->scrnIndex]); DRIUnlock(screenInfo.screens[pScrn->scrnIndex]);
} }
@ -2199,7 +2201,7 @@ TDFXScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) {
TDFXPtr pTDFX; TDFXPtr pTDFX;
VisualPtr visual; VisualPtr visual;
BoxRec MemBox; BoxRec MemBox;
#ifdef XF86DRI #ifdef TDFXDRI
MessageType driFrom = X_DEFAULT; MessageType driFrom = X_DEFAULT;
#endif #endif
int scanlines; int scanlines;
@ -2306,8 +2308,7 @@ TDFXScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) {
miSetPixmapDepths (); miSetPixmapDepths ();
pTDFX->NoAccel=xf86ReturnOptValBool(pTDFX->Options, OPTION_NOACCEL, FALSE); #ifdef TDFXDRI
#ifdef XF86DRI
/* /*
* Setup DRI after visuals have been established, but before fbScreenInit * Setup DRI after visuals have been established, but before fbScreenInit
* is called. fbScreenInit will eventually call into the drivers * is called. fbScreenInit will eventually call into the drivers
@ -2416,7 +2417,7 @@ TDFXScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) {
* in of TDFXCloseScreen() before the rest is unwrapped * in of TDFXCloseScreen() before the rest is unwrapped
*/ */
#ifdef XF86DRI #ifdef TDFXDRI
if (pTDFX->directRenderingEnabled) { if (pTDFX->directRenderingEnabled) {
/* Now that mi, fb, drm and others have done their thing, /* Now that mi, fb, drm and others have done their thing,
* complete the DRI setup. * complete the DRI setup.
@ -2470,7 +2471,7 @@ static Bool
TDFXEnterVT(int scrnIndex, int flags) { TDFXEnterVT(int scrnIndex, int flags) {
ScrnInfoPtr pScrn; ScrnInfoPtr pScrn;
ScreenPtr pScreen; ScreenPtr pScreen;
#ifdef XF86DRI #ifdef TDFXDRI
TDFXPtr pTDFX; TDFXPtr pTDFX;
#endif #endif
@ -2478,7 +2479,7 @@ TDFXEnterVT(int scrnIndex, int flags) {
pScrn = xf86Screens[scrnIndex]; pScrn = xf86Screens[scrnIndex];
pScreen = screenInfo.screens[scrnIndex]; pScreen = screenInfo.screens[scrnIndex];
TDFXInitFifo(pScreen); TDFXInitFifo(pScreen);
#ifdef XF86DRI #ifdef TDFXDRI
pTDFX = TDFXPTR(pScrn); pTDFX = TDFXPTR(pScrn);
if (pTDFX->directRenderingEnabled) { if (pTDFX->directRenderingEnabled) {
DRIUnlock(pScreen); DRIUnlock(pScreen);
@ -2505,7 +2506,7 @@ TDFXLeaveVT(int scrnIndex, int flags) {
pTDFX = TDFXPTR(pScrn); pTDFX = TDFXPTR(pScrn);
pTDFX->sync(pScrn); pTDFX->sync(pScrn);
TDFXShutdownFifo(pScreen); TDFXShutdownFifo(pScreen);
#ifdef XF86DRI #ifdef TDFXDRI
if (pTDFX->directRenderingEnabled) { if (pTDFX->directRenderingEnabled) {
DRILock(pScreen, 0); DRILock(pScreen, 0);
} }
@ -2524,7 +2525,7 @@ TDFXCloseScreen(int scrnIndex, ScreenPtr pScreen)
hwp = VGAHWPTR(pScrn); hwp = VGAHWPTR(pScrn);
pTDFX = TDFXPTR(pScrn); pTDFX = TDFXPTR(pScrn);
#ifdef XF86DRI #ifdef TDFXDRI
if (pTDFX->directRenderingEnabled) { if (pTDFX->directRenderingEnabled) {
TDFXDRICloseScreen(pScreen); TDFXDRICloseScreen(pScreen);
pTDFX->directRenderingEnabled=FALSE; pTDFX->directRenderingEnabled=FALSE;
@ -2542,19 +2543,19 @@ TDFXCloseScreen(int scrnIndex, ScreenPtr pScreen)
if (pTDFX->AccelInfoRec) XAADestroyInfoRec(pTDFX->AccelInfoRec); if (pTDFX->AccelInfoRec) XAADestroyInfoRec(pTDFX->AccelInfoRec);
pTDFX->AccelInfoRec=0; pTDFX->AccelInfoRec=0;
if (pTDFX->DGAModes) xfree(pTDFX->DGAModes); if (pTDFX->DGAModes) free(pTDFX->DGAModes);
pTDFX->DGAModes=0; pTDFX->DGAModes=0;
if (pTDFX->scanlineColorExpandBuffers[0]) if (pTDFX->scanlineColorExpandBuffers[0])
xfree(pTDFX->scanlineColorExpandBuffers[0]); free(pTDFX->scanlineColorExpandBuffers[0]);
pTDFX->scanlineColorExpandBuffers[0]=0; pTDFX->scanlineColorExpandBuffers[0]=0;
if (pTDFX->scanlineColorExpandBuffers[1]) if (pTDFX->scanlineColorExpandBuffers[1])
xfree(pTDFX->scanlineColorExpandBuffers[1]); free(pTDFX->scanlineColorExpandBuffers[1]);
pTDFX->scanlineColorExpandBuffers[1]=0; pTDFX->scanlineColorExpandBuffers[1]=0;
if (pTDFX->overlayAdaptor) if (pTDFX->overlayAdaptor)
xfree(pTDFX->overlayAdaptor); free(pTDFX->overlayAdaptor);
pTDFX->overlayAdaptor=0; pTDFX->overlayAdaptor=0;
if (pTDFX->textureAdaptor) if (pTDFX->textureAdaptor)
xfree(pTDFX->textureAdaptor); free(pTDFX->textureAdaptor);
pTDFX->textureAdaptor=0; pTDFX->textureAdaptor=0;
pScrn->vtSema=FALSE; pScrn->vtSema=FALSE;

View File

@ -3,6 +3,8 @@
#include "config.h" #include "config.h"
#endif #endif
#include <sys/time.h>
#include "xf86.h" #include "xf86.h"
#include "xf86_OSproc.h" #include "xf86_OSproc.h"
#include "xf86fbman.h" #include "xf86fbman.h"
@ -197,7 +199,7 @@ Bool TDFXInitFifo(ScreenPtr pScreen)
#endif #endif
pTDFX->fifoBase = (uint32*)(pTDFX->FbBase+pTDFX->fifoOffset); pTDFX->fifoBase = (uint32*)(pTDFX->FbBase+pTDFX->fifoOffset);
#ifdef DEBUG_FIFO #ifdef DEBUG_FIFO
pTDFX->fifoMirrorBase = xalloc(pTDFX->fifoSize); pTDFX->fifoMirrorBase = malloc(pTDFX->fifoSize);
pTDFX->fifoMirrorPtr = pTDFX->fifoMirrorBase; pTDFX->fifoMirrorPtr = pTDFX->fifoMirrorBase;
#endif #endif
pTDFX->sync=TDFXSyncFifo; pTDFX->sync=TDFXSyncFifo;
@ -215,7 +217,7 @@ void TDFXShutdownFifo(ScreenPtr pScreen)
TDFXWriteLongMMIO(pTDFX, SST_FIFO_BASESIZE0, 0); TDFXWriteLongMMIO(pTDFX, SST_FIFO_BASESIZE0, 0);
pTDFX->sync=TDFXSync; pTDFX->sync=TDFXSync;
#ifdef DEBUG_FIFO #ifdef DEBUG_FIFO
if (pTDFX->fifoMirrorBase) xfree(pTDFX->fifoMirrorBase); if (pTDFX->fifoMirrorBase) free(pTDFX->fifoMirrorBase);
pTDFX->fifoMirrorBase=0; pTDFX->fifoMirrorBase=0;
#endif #endif
} }
@ -232,7 +234,7 @@ GetReadPtr(TDFXPtr pTDFX)
return read_ptr; return read_ptr;
} }
#ifdef XF86DRI #ifdef TDFXDRI
void TDFXSwapContextFifo(ScreenPtr pScreen) void TDFXSwapContextFifo(ScreenPtr pScreen)
{ {
ScrnInfoPtr pScrn; ScrnInfoPtr pScrn;

View File

@ -17,7 +17,7 @@
Bool TDFXDisableSLI(TDFXPtr pTDFX) Bool TDFXDisableSLI(TDFXPtr pTDFX)
{ {
int i; int i;
int v; uint32_t v;
for (i=0; i<pTDFX->numChips; i++) { for (i=0; i<pTDFX->numChips; i++) {
PCI_READ_LONG(v, CFG_INIT_ENABLE, i); PCI_READ_LONG(v, CFG_INIT_ENABLE, i);
@ -83,7 +83,8 @@ Bool TDFXDisableSLI(TDFXPtr pTDFX)
Bool TDFXSetupSLI(ScrnInfoPtr pScrn, Bool sliEnable, int aaSamples) Bool TDFXSetupSLI(ScrnInfoPtr pScrn, Bool sliEnable, int aaSamples)
{ {
TDFXPtr pTDFX; TDFXPtr pTDFX;
int i, sliLines, sliLinesLog2, nChipsLog2, v; uint32_t v;
int i, sliLines, sliLinesLog2, nChipsLog2;
int sli_renderMask, sli_compareMask, sli_scanMask; int sli_renderMask, sli_compareMask, sli_scanMask;
int sliAnalog, dwFormat; int sliAnalog, dwFormat;

View File

@ -151,7 +151,7 @@ void TDFXInitVideo(ScreenPtr pScreen)
adaptors = &newAdaptor; adaptors = &newAdaptor;
} else { } else {
newAdaptors = newAdaptors =
xalloc((num_adaptors + 1) * sizeof(XF86VideoAdaptorPtr*)); malloc((num_adaptors + 1) * sizeof(XF86VideoAdaptorPtr*));
if(newAdaptors) { if(newAdaptors) {
memcpy(newAdaptors, adaptors, num_adaptors * memcpy(newAdaptors, adaptors, num_adaptors *
sizeof(XF86VideoAdaptorPtr)); sizeof(XF86VideoAdaptorPtr));
@ -166,7 +166,7 @@ void TDFXInitVideo(ScreenPtr pScreen)
xf86XVScreenInit(pScreen, adaptors, num_adaptors); xf86XVScreenInit(pScreen, adaptors, num_adaptors);
if(newAdaptors) if(newAdaptors)
xfree(newAdaptors); free(newAdaptors);
} }
@ -185,9 +185,9 @@ TDFXAllocAdaptor(ScrnInfoPtr pScrn, int numberPorts)
if(!(adapt = xf86XVAllocateVideoAdaptorRec(pScrn))) if(!(adapt = xf86XVAllocateVideoAdaptorRec(pScrn)))
return NULL; return NULL;
if(!(pPriv = xcalloc(1, sizeof(TDFXPortPrivRec) + (numberPorts * sizeof(DevUnion))))) if(!(pPriv = calloc(1, sizeof(TDFXPortPrivRec) + (numberPorts * sizeof(DevUnion)))))
{ {
xfree(adapt); free(adapt);
return NULL; return NULL;
} }
@ -1185,18 +1185,18 @@ TDFXAllocateSurface(
surface->width = w; surface->width = w;
surface->height = h; surface->height = h;
if(!(surface->pitches = xalloc(sizeof(int)))) { if(!(surface->pitches = malloc(sizeof(int)))) {
xf86FreeOffscreenLinear(linear); xf86FreeOffscreenLinear(linear);
return BadAlloc; return BadAlloc;
} }
if(!(surface->offsets = xalloc(sizeof(int)))) { if(!(surface->offsets = malloc(sizeof(int)))) {
xfree(surface->pitches); free(surface->pitches);
xf86FreeOffscreenLinear(linear); xf86FreeOffscreenLinear(linear);
return BadAlloc; return BadAlloc;
} }
if(!(pPriv = xalloc(sizeof(OffscreenPrivRec)))) { if(!(pPriv = malloc(sizeof(OffscreenPrivRec)))) {
xfree(surface->pitches); free(surface->pitches);
xfree(surface->offsets); free(surface->offsets);
xf86FreeOffscreenLinear(linear); xf86FreeOffscreenLinear(linear);
return BadAlloc; return BadAlloc;
} }
@ -1239,9 +1239,9 @@ TDFXFreeSurface(
if(pPriv->isOn) if(pPriv->isOn)
TDFXStopSurface(surface); TDFXStopSurface(surface);
xf86FreeOffscreenLinear(pPriv->linear); xf86FreeOffscreenLinear(pPriv->linear);
xfree(surface->pitches); free(surface->pitches);
xfree(surface->offsets); free(surface->offsets);
xfree(surface->devPrivate.ptr); free(surface->devPrivate.ptr);
return Success; return Success;
} }
@ -1332,7 +1332,7 @@ TDFXInitOffscreenImages(ScreenPtr pScreen)
XF86OffscreenImagePtr offscreenImages; XF86OffscreenImagePtr offscreenImages;
/* need to free this someplace */ /* need to free this someplace */
if(!(offscreenImages = xalloc(sizeof(XF86OffscreenImageRec)))) if(!(offscreenImages = malloc(sizeof(XF86OffscreenImageRec))))
return; return;
offscreenImages[0].image = &OverlayImages[0]; offscreenImages[0].image = &OverlayImages[0];