Update to xf86-video-trident 1.3.5
This commit is contained in:
parent
35340223d1
commit
0558529b78
@ -1,3 +1,196 @@
|
||||
commit 16816e99bacbd8dfc51a2deba541a72fb27f156a
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Fri Mar 23 20:02:50 2012 -0700
|
||||
|
||||
xf86-video-trident 1.3.5
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
|
||||
commit 2267e83d794b916132db0411c642f7b212615f07
|
||||
Author: Adam Jackson <ajax@redhat.com>
|
||||
Date: Mon Dec 19 17:36:57 2011 -0500
|
||||
|
||||
Fix for new vgaHW ABI
|
||||
|
||||
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||||
|
||||
commit 2f87fa6ddebacb03bbd3a8ca3177ce16912d0f2c
|
||||
Author: Adam Jackson <ajax@redhat.com>
|
||||
Date: Mon Dec 19 17:36:36 2011 -0500
|
||||
|
||||
Fall back to shadowfb if XAA is unavailable
|
||||
|
||||
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||||
|
||||
commit 6afbfaf62a2d049fcf289b1dbf32018fd7fdea1c
|
||||
Author: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
Date: Tue Nov 1 20:33:48 2011 -0700
|
||||
|
||||
Dead code removal
|
||||
|
||||
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
|
||||
commit 343fc2a2b98ca9e93c031b7f7c3378563699b394
|
||||
Author: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
Date: Sat Oct 29 20:07:56 2011 -0700
|
||||
|
||||
Disable PC98 code on newer servers
|
||||
|
||||
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
|
||||
commit b20007d04b9198188fd214d3ed7d850dd613bc97
|
||||
Author: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
Date: Wed Oct 19 00:56:32 2011 -0700
|
||||
|
||||
Use uint32_t instead of deprecated PCITAG
|
||||
|
||||
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
|
||||
commit da09f04b6d7da1ca10ce9d20a00d8ac9f2c0adb7
|
||||
Author: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
Date: Wed Oct 19 00:55:17 2011 -0700
|
||||
|
||||
Build fix for ABI Version 12
|
||||
|
||||
ABI Version 12 removes support for multiple PCI domains. If you need to
|
||||
use this driver on a system with more than one PCI domain, you should
|
||||
either port this driver to using libpciaccess directly or stick with an
|
||||
older server.
|
||||
|
||||
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
|
||||
commit 0bd545e1301d55c5874484f2a4a7952b6eca48c0
|
||||
Author: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
Date: Wed Oct 19 00:52:09 2011 -0700
|
||||
|
||||
Use unsigned long rather than deprecated IOADDRESS
|
||||
|
||||
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
|
||||
commit de79bbea800f75b3c9ff13cd38450d32a24da5b7
|
||||
Author: Trevor Woerner <twoerner@gmail.com>
|
||||
Date: Fri Oct 22 21:05:08 2010 -0400
|
||||
|
||||
Update xf86dgastr.h include.
|
||||
|
||||
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
|
||||
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit ea4552f158f6f8f30045b934feffd303260f3197
|
||||
Author: Trevor Woerner <twoerner@gmail.com>
|
||||
Date: Fri Oct 22 21:04:53 2010 -0400
|
||||
|
||||
Convert x+m/calloc/free to m/calloc/free.
|
||||
|
||||
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
|
||||
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit 4334153785449d4c0c1e7daca6030c9847f7343f
|
||||
Author: Jesse Adkins <jesserayadkins@gmail.com>
|
||||
Date: Tue Sep 28 13:29:52 2010 -0700
|
||||
|
||||
Purge cvs tags.
|
||||
|
||||
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
|
||||
commit 30a00b13dc0dd2f6f07269b0e9116b78b290c109
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Wed Jul 21 16:49:04 2010 -0400
|
||||
|
||||
config: add comments for main statements
|
||||
|
||||
commit 842b0be89bf466a7d8fb20aff3f72cb213ba7f7e
|
||||
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 f782f14b2a8952e9b314662bd749237f96fcb677
|
||||
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 9efe436169c158f8ba8bc81ba59edd9d17beedf8
|
||||
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 644e1b0dd2e40f59125aab506cd07aa0cb1e5235
|
||||
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 e7b6fa53fc713d0966810afce530897b65456a4c
|
||||
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 8b8c3e5731b3347ebc7af6bf7016de884f6b21cb
|
||||
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 54d16a46f2381deb05c73a5356f5e77f008ad91e
|
||||
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 9a48f395cde9551ee231171436a6eda82575ae56
|
||||
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 13be9ab4c85dc2a8b2dc7c93df65d50413073041
|
||||
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 b5d17329ae1746bc95ac211c1325df86982e0eb1
|
||||
Author: Dave Airlie <airlied@redhat.com>
|
||||
Date: Mon Jul 5 14:32:39 2010 +1000
|
||||
|
291
driver/xf86-video-trident/INSTALL
Normal file
291
driver/xf86-video-trident/INSTALL
Normal 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.
|
||||
|
@ -42,9 +42,9 @@ pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = .
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = ${SHELL} $(install_sh) -c
|
||||
install_sh_SCRIPT = ${SHELL} $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
@ -105,6 +105,7 @@ AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
BASE_CFLAGS = @BASE_CFLAGS@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
@ -112,25 +113,21 @@ CHANGELOG_CMD = @CHANGELOG_CMD@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CWARNFLAGS = @CWARNFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
|
||||
DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
|
||||
DRIVER_NAME = @DRIVER_NAME@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
ECHO = @ECHO@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
F77 = @F77@
|
||||
FFLAGS = @FFLAGS@
|
||||
FGREP = @FGREP@
|
||||
FILE_MAN_DIR = @FILE_MAN_DIR@
|
||||
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
|
||||
GREP = @GREP@
|
||||
@ -141,23 +138,30 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIB_MAN_DIR = @LIB_MAN_DIR@
|
||||
LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
||||
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MAN_SUBSTS = @MAN_SUBSTS@
|
||||
MISC_MAN_DIR = @MISC_MAN_DIR@
|
||||
MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
@ -172,6 +176,7 @@ RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRICT_CFLAGS = @STRICT_CFLAGS@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
XEXT_CFLAGS = @XEXT_CFLAGS@
|
||||
@ -181,13 +186,11 @@ XORG_LIBS = @XORG_LIBS@
|
||||
XORG_MAN_PAGE = @XORG_MAN_PAGE@
|
||||
XSERVER_LIBPCIACCESS_FALSE = @XSERVER_LIBPCIACCESS_FALSE@
|
||||
XSERVER_LIBPCIACCESS_TRUE = @XSERVER_LIBPCIACCESS_TRUE@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
|
10807
driver/xf86-video-trident/aclocal.m4
vendored
10807
driver/xf86-video-trident/aclocal.m4
vendored
File diff suppressed because it is too large
Load Diff
@ -38,6 +38,10 @@
|
||||
/* xextproto 7.1 available */
|
||||
#undef HAVE_XEXTPROTO_71
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
#undef LT_OBJDIR
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
|
28089
driver/xf86-video-trident/configure
vendored
28089
driver/xf86-video-trident/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -20,47 +20,47 @@
|
||||
#
|
||||
# Process this file with autoconf to produce a configure script
|
||||
|
||||
AC_PREREQ(2.57)
|
||||
# Initialize Autoconf
|
||||
AC_PREREQ([2.60])
|
||||
AC_INIT([xf86-video-trident],
|
||||
1.3.4,
|
||||
[1.3.5],
|
||||
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
|
||||
xf86-video-trident)
|
||||
|
||||
[xf86-video-trident])
|
||||
AC_CONFIG_SRCDIR([Makefile.am])
|
||||
AM_CONFIG_HEADER([config.h])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_AUX_DIR(.)
|
||||
|
||||
# Initialize Automake
|
||||
AM_INIT_AUTOMAKE([foreign dist-bzip2])
|
||||
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
# Require xorg-macros: XORG_DEFAULT_OPTIONS
|
||||
# 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.3 or later before running autoconf/autogen])])
|
||||
XORG_MACROS_VERSION(1.3)
|
||||
[m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
|
||||
XORG_MACROS_VERSION(1.8)
|
||||
XORG_DEFAULT_OPTIONS
|
||||
|
||||
# Checks for programs.
|
||||
# Initialize libtool
|
||||
AC_DISABLE_STATIC
|
||||
AC_PROG_LIBTOOL
|
||||
AC_PROG_CC
|
||||
|
||||
AH_TOP([#include "xorg-server.h"])
|
||||
|
||||
# Define a configure option for an alternate module directory
|
||||
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]]]),
|
||||
[moduledir="$withval"],
|
||||
[moduledir="$libdir/xorg/modules"])
|
||||
|
||||
# Checks for extensions
|
||||
# Store the list of server defined optional extensions in REQUIRED_MODULES
|
||||
XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
|
||||
XORG_DRIVER_CHECK_EXT(RENDER, renderproto)
|
||||
XORG_DRIVER_CHECK_EXT(XV, videoproto)
|
||||
XORG_DRIVER_CHECK_EXT(DPMSExtension, xextproto)
|
||||
XORG_DRIVER_CHECK_EXT(XFreeXDGA, xf86dgaproto)
|
||||
|
||||
# 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(XEXT, [xextproto >= 7.0.99.1],
|
||||
HAVE_XEXTPROTO_71="yes"; AC_DEFINE(HAVE_XEXTPROTO_71, 1, [xextproto 7.1 available]),
|
||||
@ -90,17 +90,14 @@ AM_CONDITIONAL(XSERVER_LIBPCIACCESS, test "x$XSERVER_LIBPCIACCESS" = xyes)
|
||||
|
||||
# Checks for libraries.
|
||||
|
||||
# Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
|
||||
AC_SUBST([XORG_CFLAGS])
|
||||
AC_SUBST([moduledir])
|
||||
|
||||
DRIVER_NAME=trident
|
||||
AC_SUBST([DRIVER_NAME])
|
||||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
src/Makefile
|
||||
man/Makefile
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
src/Makefile
|
||||
man/Makefile
|
||||
])
|
||||
AC_OUTPUT
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -31,25 +31,11 @@ EXTRA_DIST = @DRIVER_NAME@.man
|
||||
|
||||
CLEANFILES = $(driverman_DATA)
|
||||
|
||||
SED = sed
|
||||
|
||||
# Strings to replace in man pages
|
||||
XORGRELSTRING = @PACKAGE_STRING@
|
||||
XORGMANNAME = X Version 11
|
||||
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
|
||||
|
||||
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
|
||||
|
||||
.man.$(DRIVER_MAN_SUFFIX):
|
||||
sed $(MAN_SUBSTS) < $< > $@
|
||||
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
|
||||
|
@ -46,9 +46,9 @@ pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = ..
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = ${SHELL} $(install_sh) -c
|
||||
install_sh_SCRIPT = ${SHELL} $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
@ -94,6 +94,7 @@ AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
BASE_CFLAGS = @BASE_CFLAGS@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
@ -101,25 +102,21 @@ CHANGELOG_CMD = @CHANGELOG_CMD@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CWARNFLAGS = @CWARNFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
|
||||
DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
|
||||
DRIVER_NAME = @DRIVER_NAME@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
ECHO = @ECHO@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
F77 = @F77@
|
||||
FFLAGS = @FFLAGS@
|
||||
FGREP = @FGREP@
|
||||
FILE_MAN_DIR = @FILE_MAN_DIR@
|
||||
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
|
||||
GREP = @GREP@
|
||||
@ -130,34 +127,30 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIB_MAN_DIR = @LIB_MAN_DIR@
|
||||
LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
||||
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
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'
|
||||
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MAN_SUBSTS = @MAN_SUBSTS@
|
||||
MISC_MAN_DIR = @MISC_MAN_DIR@
|
||||
MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
@ -169,9 +162,10 @@ PCIACCESS_CFLAGS = @PCIACCESS_CFLAGS@
|
||||
PCIACCESS_LIBS = @PCIACCESS_LIBS@
|
||||
PKG_CONFIG = @PKG_CONFIG@
|
||||
RANLIB = @RANLIB@
|
||||
SED = sed
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRICT_CFLAGS = @STRICT_CFLAGS@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
XEXT_CFLAGS = @XEXT_CFLAGS@
|
||||
@ -181,13 +175,11 @@ XORG_LIBS = @XORG_LIBS@
|
||||
XORG_MAN_PAGE = @XORG_MAN_PAGE@
|
||||
XSERVER_LIBPCIACCESS_FALSE = @XSERVER_LIBPCIACCESS_FALSE@
|
||||
XSERVER_LIBPCIACCESS_TRUE = @XSERVER_LIBPCIACCESS_TRUE@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
@ -235,9 +227,7 @@ driverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
|
||||
EXTRA_DIST = @DRIVER_NAME@.man
|
||||
CLEANFILES = $(driverman_DATA)
|
||||
|
||||
# Strings to replace in man pages
|
||||
XORGRELSTRING = @PACKAGE_STRING@
|
||||
XORGMANNAME = X Version 11
|
||||
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
|
||||
SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
|
||||
all: all-am
|
||||
|
||||
@ -424,7 +414,7 @@ uninstall-am: uninstall-drivermanDATA uninstall-info-am
|
||||
|
||||
|
||||
.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.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
@ -1,4 +1,3 @@
|
||||
.\" $XFree86: xc/programs/Xserver/hw/xfree86/drivers/trident/trident.man,v 1.14 2003/05/29 21:48:09 herrb Exp $
|
||||
.\" shorthand for double quote that works everywhere.
|
||||
.ds q \N'34'
|
||||
.TH TRIDENT __drivermansuffix__ __vendorversion__
|
||||
|
@ -43,9 +43,9 @@ pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = ..
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = ${SHELL} $(install_sh) -c
|
||||
install_sh_SCRIPT = ${SHELL} $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
@ -112,6 +112,7 @@ AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
BASE_CFLAGS = @BASE_CFLAGS@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
@ -119,25 +120,21 @@ CHANGELOG_CMD = @CHANGELOG_CMD@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CWARNFLAGS = @CWARNFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
|
||||
DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
|
||||
DRIVER_NAME = @DRIVER_NAME@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
ECHO = @ECHO@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
F77 = @F77@
|
||||
FFLAGS = @FFLAGS@
|
||||
FGREP = @FGREP@
|
||||
FILE_MAN_DIR = @FILE_MAN_DIR@
|
||||
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
|
||||
GREP = @GREP@
|
||||
@ -148,23 +145,30 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIB_MAN_DIR = @LIB_MAN_DIR@
|
||||
LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
||||
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MAN_SUBSTS = @MAN_SUBSTS@
|
||||
MISC_MAN_DIR = @MISC_MAN_DIR@
|
||||
MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
@ -179,6 +183,7 @@ RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRICT_CFLAGS = @STRICT_CFLAGS@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
XEXT_CFLAGS = @XEXT_CFLAGS@
|
||||
@ -188,13 +193,11 @@ XORG_LIBS = @XORG_LIBS@
|
||||
XORG_MAN_PAGE = @XORG_MAN_PAGE@
|
||||
XSERVER_LIBPCIACCESS_FALSE = @XSERVER_LIBPCIACCESS_FALSE@
|
||||
XSERVER_LIBPCIACCESS_TRUE = @XSERVER_LIBPCIACCESS_TRUE@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
|
@ -251,14 +251,6 @@ static void WaitMarker(ScreenPtr pScreen, int marker)
|
||||
}
|
||||
}
|
||||
|
||||
static Bool PrepareAccess(PixmapPtr pPix, int index)
|
||||
{
|
||||
}
|
||||
|
||||
static void FinishAccess(PixmapPtr pPix, int index)
|
||||
{
|
||||
}
|
||||
|
||||
static void BladeInitializeAccelerator(ScrnInfoPtr pScrn)
|
||||
{
|
||||
TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
|
||||
|
@ -70,7 +70,7 @@ typedef struct {
|
||||
typedef struct {
|
||||
ScrnInfoPtr pScrn;
|
||||
pciVideoPtr PciInfo;
|
||||
PCITAG PciTag;
|
||||
uint32_t PciTag;
|
||||
EntityInfoPtr pEnt;
|
||||
ExaDriverPtr EXADriverPtr;
|
||||
int useEXA;
|
||||
@ -85,7 +85,7 @@ typedef struct {
|
||||
unsigned char * IOBase;
|
||||
unsigned char * FbBase;
|
||||
long FbMapSize;
|
||||
IOADDRESS PIOBase;
|
||||
unsigned long PIOBase;
|
||||
Bool NoAccel;
|
||||
Bool HWCursor;
|
||||
Bool UsePCIRetry;
|
||||
|
@ -83,15 +83,15 @@ TRIDENTDGAInit(ScreenPtr pScreen)
|
||||
while(pMode) {
|
||||
|
||||
if(0 /*pScrn->displayWidth != pMode->HDisplay*/) {
|
||||
newmodes = xrealloc(modes, (num + 2) * sizeof(DGAModeRec));
|
||||
newmodes = realloc(modes, (num + 2) * sizeof(DGAModeRec));
|
||||
oneMore = TRUE;
|
||||
} else {
|
||||
newmodes = xrealloc(modes, (num + 1) * sizeof(DGAModeRec));
|
||||
newmodes = realloc(modes, (num + 1) * sizeof(DGAModeRec));
|
||||
oneMore = FALSE;
|
||||
}
|
||||
|
||||
if(!newmodes) {
|
||||
xfree(modes);
|
||||
free(modes);
|
||||
return FALSE;
|
||||
}
|
||||
modes = newmodes;
|
||||
|
@ -63,7 +63,7 @@
|
||||
|
||||
#ifdef XFreeXDGA
|
||||
#define _XF86DGA_SERVER_
|
||||
#include <X11/extensions/xf86dgastr.h>
|
||||
#include <X11/extensions/xf86dgaproto.h>
|
||||
#endif
|
||||
|
||||
#include "globals.h"
|
||||
@ -560,7 +560,7 @@ TRIDENTFreeRec(ScrnInfoPtr pScrn)
|
||||
{
|
||||
if (pScrn->driverPrivate == NULL)
|
||||
return;
|
||||
xfree(pScrn->driverPrivate);
|
||||
free(pScrn->driverPrivate);
|
||||
pScrn->driverPrivate = NULL;
|
||||
}
|
||||
|
||||
@ -900,7 +900,7 @@ TRIDENTProbe(DriverPtr drv, int flags)
|
||||
foundScreen = TRUE;
|
||||
}
|
||||
}
|
||||
xfree(usedChips);
|
||||
free(usedChips);
|
||||
}
|
||||
}
|
||||
|
||||
@ -933,11 +933,11 @@ TRIDENTProbe(DriverPtr drv, int flags)
|
||||
foundScreen = TRUE;
|
||||
}
|
||||
}
|
||||
xfree(usedChips);
|
||||
free(usedChips);
|
||||
}
|
||||
#endif
|
||||
|
||||
xfree(devSections);
|
||||
free(devSections);
|
||||
return foundScreen;
|
||||
}
|
||||
|
||||
@ -1107,9 +1107,15 @@ TRIDENTPreInit(ScrnInfoPtr pScrn, int flags)
|
||||
return FALSE;
|
||||
|
||||
hwp = VGAHWPTR(pScrn);
|
||||
vgaHWSetStdFuncs(hwp);
|
||||
vgaHWGetIOBase(hwp);
|
||||
vgaIOBase = hwp->IOBase;
|
||||
|
||||
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
|
||||
pTrident->PIOBase = hwp->PIOOffset;
|
||||
#else
|
||||
pTrident->PIOBase = 0;
|
||||
#endif
|
||||
|
||||
#ifndef XSERVER_LIBPCIACCESS
|
||||
xf86SetOperatingState(resVga, pTrident->pEnt->index, ResUnusedOpr);
|
||||
@ -1163,7 +1169,7 @@ TRIDENTPreInit(ScrnInfoPtr pScrn, int flags)
|
||||
xf86CollectOptions(pScrn, NULL);
|
||||
|
||||
/* Process the options */
|
||||
if (!(pTrident->Options = xalloc(sizeof(TRIDENTOptions))))
|
||||
if (!(pTrident->Options = malloc(sizeof(TRIDENTOptions))))
|
||||
return FALSE;
|
||||
memcpy(pTrident->Options, TRIDENTOptions, sizeof(TRIDENTOptions));
|
||||
xf86ProcessOptions(pScrn->scrnIndex, pScrn->options, pTrident->Options);
|
||||
@ -2365,24 +2371,14 @@ TRIDENTPreInit(ScrnInfoPtr pScrn, int flags)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* Load shadow if needed */
|
||||
if (pTrident->ShadowFB) {
|
||||
if (!xf86LoadSubModule(pScrn, "shadow")) {
|
||||
TRIDENTFreeRec(pScrn);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
/* Load XAA if needed */
|
||||
if (!pTrident->NoAccel) {
|
||||
if (!pTrident->useEXA) {
|
||||
if (!xf86LoadSubModule(pScrn, "xaa")) {
|
||||
if (IsPciCard && UseMMIO) {
|
||||
TRIDENTDisableMMIO(pScrn);
|
||||
TRIDENTUnmapMem(pScrn);
|
||||
}
|
||||
TRIDENTFreeRec(pScrn);
|
||||
return FALSE;
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
|
||||
"Falling back to shadowfb\n");
|
||||
pTrident->NoAccel = 1;
|
||||
pTrident->ShadowFB = 1;
|
||||
}
|
||||
}
|
||||
|
||||
@ -2423,6 +2419,14 @@ TRIDENTPreInit(ScrnInfoPtr pScrn, int flags)
|
||||
}
|
||||
}
|
||||
|
||||
/* Load shadow if needed */
|
||||
if (pTrident->ShadowFB) {
|
||||
if (!xf86LoadSubModule(pScrn, "shadow")) {
|
||||
TRIDENTFreeRec(pScrn);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
/* Load DDC if needed */
|
||||
/* This gives us DDC1 - we should be able to get DDC2B using i2c */
|
||||
|
||||
@ -2617,7 +2621,10 @@ TRIDENTModeInit(ScrnInfoPtr pScrn, DisplayModePtr mode)
|
||||
TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
|
||||
TRIDENTRegPtr tridentReg;
|
||||
|
||||
if (!xf86IsPc98()) WAITFORVSYNC;
|
||||
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
|
||||
if (!xf86IsPc98())
|
||||
#endif
|
||||
WAITFORVSYNC;
|
||||
|
||||
TridentFindClock(pScrn,mode->Clock);
|
||||
|
||||
@ -2709,8 +2716,10 @@ TRIDENTModeInit(ScrnInfoPtr pScrn, DisplayModePtr mode)
|
||||
|
||||
vgaHWProtect(pScrn, FALSE);
|
||||
|
||||
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
|
||||
if (xf86IsPc98())
|
||||
PC98TRIDENTEnable(pScrn);
|
||||
#endif
|
||||
|
||||
if (pTrident->TVChipset != 0)
|
||||
VIA_TVInit(pScrn);
|
||||
@ -2782,7 +2791,10 @@ TRIDENTScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
|
||||
if (!TRIDENTMapMem(pScrn))
|
||||
return FALSE;
|
||||
|
||||
if (!xf86IsPc98()) {
|
||||
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
|
||||
if (!xf86IsPc98())
|
||||
#endif
|
||||
{
|
||||
#ifdef VBE_INFO
|
||||
if (pTrident->vbeModes) {
|
||||
pTrident->pVbe = VBEInit(NULL,pTrident->pEnt->index);
|
||||
@ -2796,7 +2808,7 @@ TRIDENTScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
hwp = VGAHWPTR(pScrn);
|
||||
|
||||
if (IsPciCard && UseMMIO) {
|
||||
@ -2813,9 +2825,12 @@ TRIDENTScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
|
||||
* Some Trident chip on PC-9821 needs setup,
|
||||
* because VGA chip is not initialized by VGA BIOS.
|
||||
*/
|
||||
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
|
||||
if (IsPciCard && xf86IsPc98()) {
|
||||
PC98TRIDENTInit(pScrn);
|
||||
} else tridentSetModeBIOS(pScrn,pScrn->currentMode);
|
||||
} else
|
||||
#endif
|
||||
tridentSetModeBIOS(pScrn,pScrn->currentMode);
|
||||
|
||||
/* Initialise the first mode */
|
||||
if (!TRIDENTModeInit(pScrn, pScrn->currentMode))
|
||||
@ -2868,7 +2883,7 @@ TRIDENTScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
|
||||
|
||||
if(pTrident->ShadowFB) {
|
||||
pTrident->ShadowPitch = BitmapBytePad(pScrn->bitsPerPixel * width);
|
||||
pTrident->ShadowPtr = xalloc(pTrident->ShadowPitch * height);
|
||||
pTrident->ShadowPtr = malloc(pTrident->ShadowPitch * height);
|
||||
displayWidth = pTrident->ShadowPitch / (pScrn->bitsPerPixel >> 3);
|
||||
FBStart = pTrident->ShadowPtr;
|
||||
} else {
|
||||
@ -2958,7 +2973,7 @@ TRIDENTScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
|
||||
(miBankProcPtr)TVGA8900SetReadWrite;
|
||||
if (!miInitializeBanking(pScreen, pScrn->virtualX, pScrn->virtualY,
|
||||
pScrn->displayWidth, pBankInfo)) {
|
||||
xfree(pBankInfo);
|
||||
free(pBankInfo);
|
||||
pBankInfo = NULL;
|
||||
if (pTrident->pVbe)
|
||||
vbeFree(pTrident->pVbe);
|
||||
@ -3200,8 +3215,10 @@ TRIDENTLeaveVT(int scrnIndex, int flags)
|
||||
TRIDENTRestore(pScrn);
|
||||
vgaHWLock(hwp);
|
||||
|
||||
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
|
||||
if (xf86IsPc98())
|
||||
PC98TRIDENTDisable(pScrn);
|
||||
#endif
|
||||
|
||||
if (IsPciCard && UseMMIO) TRIDENTDisableMMIO(pScrn);
|
||||
}
|
||||
@ -3225,28 +3242,31 @@ TRIDENTCloseScreen(int scrnIndex, ScreenPtr pScreen)
|
||||
pTrident->AccelInfoRec->Sync(pScrn);
|
||||
else if (!pTrident->NoAccel && pTrident->useEXA)
|
||||
pTrident->EXADriverPtr->WaitMarker(pScreen, 0);
|
||||
|
||||
|
||||
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
|
||||
if (xf86IsPc98())
|
||||
PC98TRIDENTDisable(pScrn);
|
||||
#endif
|
||||
|
||||
TRIDENTRestore(pScrn);
|
||||
vgaHWLock(hwp);
|
||||
if (IsPciCard && UseMMIO) TRIDENTDisableMMIO(pScrn);
|
||||
TRIDENTUnmapMem(pScrn);
|
||||
}
|
||||
|
||||
if (pTrident->AccelInfoRec)
|
||||
XAADestroyInfoRec(pTrident->AccelInfoRec);
|
||||
if (pTrident->EXADriverPtr) {
|
||||
exaDriverFini(pScreen);
|
||||
xfree(pTrident->EXADriverPtr);
|
||||
free(pTrident->EXADriverPtr);
|
||||
pTrident->EXADriverPtr = NULL;
|
||||
}
|
||||
if (pTrident->CursorInfoRec)
|
||||
xf86DestroyCursorInfoRec(pTrident->CursorInfoRec);
|
||||
if (pTrident->ShadowPtr)
|
||||
xfree(pTrident->ShadowPtr);
|
||||
free(pTrident->ShadowPtr);
|
||||
if (pTrident->DGAModes)
|
||||
xfree(pTrident->DGAModes);
|
||||
free(pTrident->DGAModes);
|
||||
pScrn->vtSema = FALSE;
|
||||
|
||||
if(pTrident->BlockHandler)
|
||||
@ -3317,15 +3337,17 @@ static void
|
||||
TRIDENTEnableMMIO(ScrnInfoPtr pScrn)
|
||||
{
|
||||
TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
|
||||
IOADDRESS vgaIOBase = pTrident->PIOBase + VGAHWPTR(pScrn)->IOBase;
|
||||
unsigned long vgaIOBase = pTrident->PIOBase + VGAHWPTR(pScrn)->IOBase;
|
||||
CARD8 temp = 0, protect = 0;
|
||||
|
||||
/*
|
||||
* Skip MMIO Enable in PC-9821 PCI Trident Card!!
|
||||
* Because of lack of non PCI VGA port
|
||||
*/
|
||||
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
|
||||
if (IsPciCard && xf86IsPc98())
|
||||
return;
|
||||
#endif
|
||||
|
||||
/* Goto New Mode */
|
||||
outb(pTrident->PIOBase + 0x3C4, 0x0B);
|
||||
@ -3366,8 +3388,10 @@ TRIDENTDisableMMIO(ScrnInfoPtr pScrn)
|
||||
* Skip MMIO Disable in PC-9821 PCI Trident Card!!
|
||||
* Because of lack of non PCI VGA port
|
||||
*/
|
||||
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
|
||||
if (IsPciCard && xf86IsPc98())
|
||||
return;
|
||||
#endif
|
||||
|
||||
/* Goto New Mode */
|
||||
OUTB(0x3C4, 0x0B); temp = INB(0x3C5);
|
||||
@ -3395,6 +3419,7 @@ TRIDENTDisableMMIO(ScrnInfoPtr pScrn)
|
||||
outb(pTrident->PIOBase + 0x3C5, temp);
|
||||
}
|
||||
|
||||
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
|
||||
/* Initialize VGA Block for Trident Chip on PC-98x1 */
|
||||
static void
|
||||
PC98TRIDENTInit(ScrnInfoPtr pScrn)
|
||||
@ -3637,7 +3662,7 @@ PC98TRIDENT96xxDisable(ScrnInfoPtr pScrn)
|
||||
outb(0x6A, 0x06);
|
||||
outb(0x68, 0x0F);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* This is a terrible hack! If we are on a notebook in a stretched
|
||||
|
@ -125,7 +125,7 @@ void TRIDENTInitVideo(ScreenPtr pScreen)
|
||||
adaptors = &newAdaptor;
|
||||
} else {
|
||||
newAdaptors = /* need to free this someplace */
|
||||
xalloc((num_adaptors + 1) * sizeof(XF86VideoAdaptorPtr*));
|
||||
malloc((num_adaptors + 1) * sizeof(XF86VideoAdaptorPtr*));
|
||||
if(newAdaptors) {
|
||||
memcpy(newAdaptors, adaptors, num_adaptors *
|
||||
sizeof(XF86VideoAdaptorPtr));
|
||||
@ -140,7 +140,7 @@ void TRIDENTInitVideo(ScreenPtr pScreen)
|
||||
xf86XVScreenInit(pScreen, adaptors, num_adaptors);
|
||||
|
||||
if(newAdaptors)
|
||||
xfree(newAdaptors);
|
||||
free(newAdaptors);
|
||||
|
||||
if (pTrident->videoFlags)
|
||||
xf86DrvMsgVerb(pScrn->scrnIndex,X_INFO,3,
|
||||
@ -321,7 +321,7 @@ TRIDENTSetupImageVideo(ScreenPtr pScreen)
|
||||
XF86VideoAdaptorPtr adapt;
|
||||
TRIDENTPortPrivPtr pPriv;
|
||||
|
||||
if(!(adapt = xcalloc(1, sizeof(XF86VideoAdaptorRec) +
|
||||
if(!(adapt = calloc(1, sizeof(XF86VideoAdaptorRec) +
|
||||
sizeof(TRIDENTPortPrivRec) +
|
||||
sizeof(DevUnion))))
|
||||
return NULL;
|
||||
@ -978,18 +978,18 @@ TRIDENTAllocateSurface(
|
||||
surface->width = w;
|
||||
surface->height = h;
|
||||
|
||||
if(!(surface->pitches = xalloc(sizeof(int)))) {
|
||||
if(!(surface->pitches = malloc(sizeof(int)))) {
|
||||
xf86FreeOffscreenLinear(linear);
|
||||
return BadAlloc;
|
||||
}
|
||||
if(!(surface->offsets = xalloc(sizeof(int)))) {
|
||||
xfree(surface->pitches);
|
||||
if(!(surface->offsets = malloc(sizeof(int)))) {
|
||||
free(surface->pitches);
|
||||
xf86FreeOffscreenLinear(linear);
|
||||
return BadAlloc;
|
||||
}
|
||||
if(!(pPriv = xalloc(sizeof(OffscreenPrivRec)))) {
|
||||
xfree(surface->pitches);
|
||||
xfree(surface->offsets);
|
||||
if(!(pPriv = malloc(sizeof(OffscreenPrivRec)))) {
|
||||
free(surface->pitches);
|
||||
free(surface->offsets);
|
||||
xf86FreeOffscreenLinear(linear);
|
||||
return BadAlloc;
|
||||
}
|
||||
@ -1034,9 +1034,9 @@ TRIDENTFreeSurface(
|
||||
if(pPriv->isOn)
|
||||
TRIDENTStopSurface(surface);
|
||||
xf86FreeOffscreenLinear(pPriv->linear);
|
||||
xfree(surface->pitches);
|
||||
xfree(surface->offsets);
|
||||
xfree(surface->devPrivate.ptr);
|
||||
free(surface->pitches);
|
||||
free(surface->offsets);
|
||||
free(surface->devPrivate.ptr);
|
||||
|
||||
return Success;
|
||||
}
|
||||
@ -1128,7 +1128,7 @@ TRIDENTInitOffscreenImages(ScreenPtr pScreen)
|
||||
XF86OffscreenImagePtr offscreenImages;
|
||||
|
||||
/* need to free this someplace */
|
||||
if(!(offscreenImages = xalloc(sizeof(XF86OffscreenImageRec))))
|
||||
if(!(offscreenImages = malloc(sizeof(XF86OffscreenImageRec))))
|
||||
return;
|
||||
|
||||
offscreenImages[0].image = &Images[0];
|
||||
@ -1342,7 +1342,10 @@ WaitForVBlank(ScrnInfoPtr pScrn)
|
||||
* full vblank has passed.
|
||||
* - Alan.
|
||||
*/
|
||||
if (!xf86IsPc98()) {
|
||||
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
|
||||
if (!xf86IsPc98())
|
||||
#endif
|
||||
{
|
||||
WAITFORVSYNC;
|
||||
WAITFORVSYNC;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user