From 44244998c7b4171c33d78a0df3d86ba905b283a6 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sat, 12 Jun 2010 10:25:31 -0400 Subject: COPYING: replace stub file with Copyright notice Signed-off-by: Gaetan Nadon --- COPYING | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/COPYING b/COPYING index 7f33cbf..340a7ec 100644 --- a/COPYING +++ b/COPYING @@ -1,12 +1,21 @@ -This is a stub file. This package has not yet had its complete licensing -information compiled. Please see the individual source files for details on -your rights to use and modify this software. +Copyright 2007 George Sapountzis -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, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: -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 -Xorg mailing list: +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. -http://lists.freedesktop.org/mailman/listinfo/xorg -- cgit v1.2.3 From f27eacc529529f7a38728db389ce66fba33ef6a9 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sun, 13 Jun 2010 15:50:42 -0400 Subject: README: fix linuxdoc content defs.ent are located under X11 directory ident tag is not a Linuxdoc tag replace docbook email tag with linuxdoc email tag Signed-off-by: Gaetan Nadon --- README | 263 ++++++++++++++++++++++++++++++++++-------------------------- README.sgml | 9 +-- 2 files changed, 153 insertions(+), 119 deletions(-) diff --git a/README b/README index 31b7bcc..6fc84f1 100644 --- a/README +++ b/README @@ -1,113 +1,150 @@ -$XFree86: xc/programs/Xserver/hw/xfree86/drivers/apm/README,v 1.5 2000/02/11 22:35:55 dawes Exp $ - -Note 1: This driver is work in progress. It might not work at all. -Want to help? Docs are at -ftp://beta.xfree86.org/pub/xf86/devel/Documentation/apm - -This is the Alliance Promotion driver for XFree86 4.0+. It currently only -supports the AT3D, AT25 chipsets (found on various Voodoo-Rush cards) and AT24. -There is incomplete support for the 6422. The 6422 chips are supported in the -XFree86 3.3.x series. - -What has worked on my computer : - - XAA for 8/16/24/32 bpp - - DGA and DGA2 - - DPMS - - glide2x - - using as a module - - shadow framebuffer - - AT3D - - AT24 - - AP6422 (although with problems, including locks) - - multi card setup (with and without Xinerama) - - Xv images, even with (slightly modified) glide2x ; note that there is - still a little problem with vertical offset. - -There is some support for PC-98 with the help of Isao Ohishi -(ohishi@aero.rim.or.jp). It's still under development. I hope that 8bpp -works correctly. - -What has not worked : - - I2C (I'm not sure my card, Hercules 128/3D, has proper cabling) - -What is untested : - -What should be done : - - overlays (with the video engine, everything should be overlayable - with everything) - - (why not) 3210 support - - - Loïc Grenié - -Authors: ------------------------------------------------------------------------ -Kent Hamilton Initial creation. -Henrik Harmsen Lots of additions and fixes. -Loic Grenie Conversion to 4.0. - Additions and fixes. - - -History: ------------------------------------------------------------------------ -Created by Kent Hamilton for Xfree86 from source from Alliance - -Modified 1997-06 by Henrik Harmsen - - Added support for AT3D - - Acceleration added for 8,16,32bpp: (for AT3D and AT24) - - Filled rectangles - - Screen-screen bitblts - - Host-screen color expansion bitblts for text - - DPMS support - - Enabled hardware cursor code (also in 8bpp) - - Set to programmable VCLK clock - - Set MCLK to 57.3 MHz on AT3D. - - Various bugfixes and cleanups - -Modified 1997-07-06 by Henrik Harmsen - - Fixed bug that made the HW cursor screw up on VT switches - - Probably fixed bug that screwed up the screen when using - screen-screen bitblts. This forced me to put an ApmSync() at - the end of ApmSubsequentScreenToScreenCopy() which makes - me unhappy... But: Better it works than not... - -Modified 1997-10-19 by Henrik Harmsen - - HW line drawing. - - HW clipping. - - Added support for ROP's. - - Text acceleration now lots faster and support for accelerated - proportional text. (Uses SCANLINE_PAD_DWORD + clipping). - - Combined write for many register writes gives good - general speedup. (write x+y as a single 32 bit entity, rather - obvious, really...:-) - - Now waits for correct number of free slots in FIFO before - issuing writes to the card. - This seems to have eliminated the last instances of dropped - interrupts from serial IO and no more lost packets in PPP :-) - - Converted cursor support to use XAA interface. - - Fixed ApmSync(). Finally removed call to ApmSync at end of - ApmSubsequentScreenToScreenCopy() :-) - -Modified 1998-03-29 by Henrik Harmsen - - Added DGA support. - - Added accel support for AP6422. Fixed AT24 accel support. - - Fixed clock register calculation for AP6422 and AT24. - - DPMS support for AT24 & AP6422. - - 2% faster text accel for AT24/AT3D :-) - -Modified 1998-12-18 by Loic Grenie - - Converted to Xfree86 4.0 driver interface. (Only support for - AT25/AT3D chips). - -Modified 1999-03-14 by Henrik Harmsen - - Various fixes to bring it up to 3.9Pd. - - Added preliminary (completely untested) support for dynamic - loading. - -Modified 1999-07-07 by Loïc Grenié - - Converted to new RAC. Support for DGA and DGA2, I2C, Rush extension. - -Modified 2000-02-10 by Loïc Grenié - - Bug fixes - - AP6422 (bugged !) - - Xv driver + Information for Alliance Promotion chipset users + Loic Grenie ( ), Henrik + Harmsen ( ) + 6 March 2000 + ____________________________________________________________ + + Table of Contents + + + 1. Support chipsets + 2. Acceleration + 3. DGA + 4. Video + 5. Shadow framebuffer + 6. Configuration + 7. glide2x + 8. Questions + + + ______________________________________________________________________ + + 1. Support chipsets + + The apm driver in the SVGA server is for Alliance Promotion graphics + chipsets. The following chipsets are supported: + + + o 6422 + + Old chipset. The driver is still very unstable and has computer + crashes. You should use XFree86 3.3.x for this chipset. + + + o AT24 + + As found in Diamond Stealth Video 2500. Quite similar to AT3D. + + o AT25, AT3D + + AT3D is found in Hercules Stingray 128/3D. Most other Voodoo Rush + based cards use the AT25 which is identical except it doesn't have + the 3D stuff in it. + + + 2. Acceleration + + The apm driver uses the XAA in the SVGA server. It has support for the + following acceleration: + + + o Bitblts (rectangle copy operation) + + o Lines (solid, single pixel) + + o Filled rectangles + + o CPU->Screen image transfers. + + o CPU->Screen colour expansion (text accel). + + o Screen->Screen colour expansion (cached text accel). + + o Mono 8x8 pattern fill. Not for 6422. + + o Colour 8x8 pattern fill (in 8bpp). Not for 6422. + + o Hardware cursor. + + o Pixmap caching. + + All in 8, 16 and 32 bpp modes. In 24bpp mode only Bitblts and Filled + rectangles is supported. Also VESA DPMS power save mode is fully + supported with "standby", "suspend" and "off" modes (set with with the + "xset dpms" command). + + + 3. DGA + + Full DGA 2.0 support with framebuffer access and drawing acceleration. + + + 4. Video + + It has limited hardware support for video decoding on the AT24 and + AT25/3D. It can also display an image in YUV colours inside the + desktop. There are some more exotic formats such as YUV 4.1.1, YUV + 4.0.0 and RGB 8,16.32bpp. + + + 5. Shadow framebuffer + + There is a mode, called shadow framebuffer, where the graphics are + used to display the images. All rendering is done in memory in a so- + called shadow framebuffer. This mode is useful if you need lots of + reading in the video memory and to use it you will have to put + + Option "ShadowFB" + + + + in your xorg.conf file. + + + 6. Configuration + + First: Run the xorgconfig program to create a correct configuration. + + You can turn off hardware cursor by inserting the following line in + the Device section of the xorg.conf file: + + Option "SWcursor" + + + + Or turn off hardware acceleration: + + Option "noaccel" + + + + Or turn off MMIO + + + Option "nolinear" + + + + Do not specify either the amount of video RAM or which chipset in the + config file. It is better to let the driver probe for this. Also don't + put any "clocks" line in the device section since these chips have a + fully programmable clock that can almost take any modeline you throw + at it. It might though fail at some specific clock values but in that + case you should just try a slightly different clock and it should + work. + + + 7. glide2x + + There is support for the XF86Rush extension for use with the glide2x + library. + + + 8. Questions + + Any questions regarding this driver should be sent to Loic Grenie. It + should be possible to add support for the 3210 chipset if someone + needs it. + + + diff --git a/README.sgml b/README.sgml index d99a746..f8fadda 100644 --- a/README.sgml +++ b/README.sgml @@ -1,15 +1,12 @@ %defs; + %defs; ]>
Information for Alliance Promotion chipset users -<author> Loïc Grenié (<email>grenie@math.jussieu.fr</email>), - Henrik Harmsen (<email>Henrik.Harmsen@erv.ericsson.se</email>) +<author> Loïc Grenié (<url url="mailto:grenie@math.jussieu.fr">), + Henrik Harmsen (<url url="mailto:Henrik.Harmsen@erv.ericsson.se">) <date> 6 March 2000 -<ident> -$Id$ -</ident> <toc> <sect> Support chipsets -- cgit v1.2.3 From 0a7bb1b3655efcd15b9021d6e0753477d0e991db Mon Sep 17 00:00:00 2001 From: Gaetan Nadon <memsize@videotron.ca> Date: Sun, 13 Jun 2010 16:31:08 -0400 Subject: README: keep the text version of README, discard the sgml version The linuxdoc doc tool is deprecated. README files are exclusively text files. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> --- Makefile.am | 7 ---- README.sgml | 119 ----------------------------------------------------------- configure.ac | 2 - 3 files changed, 128 deletions(-) delete mode 100644 README.sgml diff --git a/Makefile.am b/Makefile.am index 16b2f96..4c278ba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,13 +21,6 @@ SUBDIRS = src man MAINTAINERCLEANFILES = ChangeLog INSTALL - -if BUILD_LINUXDOC -README: README.sgml - $(MAKE_TEXT) README.sgml && mv README.txt README -endif - -EXTRA_DIST = README.sgml .PHONY: ChangeLog INSTALL INSTALL: diff --git a/README.sgml b/README.sgml deleted file mode 100644 index f8fadda..0000000 --- a/README.sgml +++ /dev/null @@ -1,119 +0,0 @@ -<!DOCTYPE linuxdoc PUBLIC "-//Xorg//DTD linuxdoc//EN" [ -<!ENTITY % defs SYSTEM "X11/defs.ent"> %defs; -]> - -<article> -<title> Information for Alliance Promotion chipset users -<author> Loïc Grenié (<url url="mailto:grenie@math.jussieu.fr">), - Henrik Harmsen (<url url="mailto:Henrik.Harmsen@erv.ericsson.se">) -<date> 6 March 2000 -<toc> - -<sect> Support chipsets -<p> -The apm driver in the SVGA server is for Alliance Promotion -graphics chipsets. The following chipsets are supported: - -<itemize> -<item> 6422 - - Old chipset. The driver is still very unstable and has computer - crashes. You should use XFree86 3.3.x for this chipset. - - -<item> AT24 - - As found in Diamond Stealth Video 2500. Quite similar to AT3D. - -<item> AT25, AT3D - - AT3D is found in Hercules Stingray 128/3D. Most other Voodoo - Rush based cards use the AT25 which is identical except it - doesn't have the 3D stuff in it. -</itemize> - -<sect> Acceleration -<p> -The apm driver uses the XAA in the -SVGA server. It has support for the following acceleration: - -<itemize> -<item> Bitblts (rectangle copy operation) -<item> Lines (solid, single pixel) -<item> Filled rectangles -<item> CPU->Screen image transfers. -<item> CPU->Screen colour expansion (text accel). -<item> Screen->Screen colour expansion (cached text accel). -<item> Mono 8x8 pattern fill. Not for 6422. -<item> Colour 8x8 pattern fill (in 8bpp). Not for 6422. -<item> Hardware cursor. -<item> Pixmap caching. -</itemize> - -All in 8, 16 and 32 bpp modes. In 24bpp mode only Bitblts and Filled rectangles -is supported. Also VESA DPMS power save mode is fully supported with "standby", -"suspend" and "off" modes (set with with the "xset dpms" command). - -<sect> DGA -<p> -Full DGA 2.0 support with framebuffer access and drawing acceleration. - -<sect> Video -<p> -It has limited hardware support for video decoding on the AT24 and AT25/3D. It can -also display an image in YUV colours inside the desktop. There are some more exotic -formats such as YUV 4.1.1, YUV 4.0.0 and RGB 8,16.32bpp. - -<sect> Shadow framebuffer -<p> -There is a mode, called shadow framebuffer, where the graphics are used -to display the images. All rendering is done in memory in a so-called shadow -framebuffer. This mode is useful if you need lots of reading in the video -memory and to use it you will have to put -<verb> - Option "ShadowFB" -</verb> - -in your xorg.conf file. - -<sect> Configuration -<p> -First: Run the xorgconfig program to create a correct -configuration. - -You can turn off hardware cursor by inserting the following line in the -Device section of the xorg.conf file: -<verb> - Option "SWcursor" -</verb> - -Or turn off hardware acceleration: -<verb> - Option "noaccel" -</verb> - -Or turn off MMIO - -<verb> - Option "nolinear" -</verb> - -Do not specify either the amount of video RAM or which chipset -in the config file. It is better to let the driver probe for this. Also -don't put any "clocks" line in the device section since these chips have -a fully programmable clock that can almost take any modeline you throw -at it. It might though fail at some specific clock values but in that case -you should just try a slightly different clock and it should work. - -<sect> glide2x -<p> -There is support for the XF86Rush extension for use with the glide2x library. - -<sect> Questions -<p> -Any questions regarding this driver should be sent to Loïc -Grenié. It should be possible to add support for the 3210 chipset -if someone needs it. - - -</article> diff --git a/configure.ac b/configure.ac index cab6ca0..40b13f0 100644 --- a/configure.ac +++ b/configure.ac @@ -74,8 +74,6 @@ PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.8.0]) DRIVER_NAME=apm AC_SUBST([DRIVER_NAME]) -XORG_CHECK_LINUXDOC - AC_OUTPUT([ Makefile src/Makefile -- cgit v1.2.3 From 9d10ac3f487f0a94f250b38afced24e11a39d43a Mon Sep 17 00:00:00 2001 From: Gaetan Nadon <memsize@videotron.ca> Date: Tue, 20 Jul 2010 16:15:29 -0400 Subject: 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. --- configure.ac | 6 +++--- man/Makefile.am | 22 ++++------------------ 2 files changed, 7 insertions(+), 21 deletions(-) diff --git a/configure.ac b/configure.ac index 40b13f0..162a06c 100644 --- a/configure.ac +++ b/configure.ac @@ -34,10 +34,10 @@ 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. diff --git a/man/Makefile.am b/man/Makefile.am index 8f2454b..b3688ce 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -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 - -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' + +# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure + SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man .man.$(DRIVER_MAN_SUFFIX): - sed $(MAN_SUBSTS) < $< > $@ + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ -- cgit v1.2.3 From cce7f168f50a81b9fea97a93dd43fd1040236808 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon <memsize@videotron.ca> Date: Tue, 20 Jul 2010 18:45:18 -0400 Subject: 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> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 162a06c..773c68c 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ # # Process this file with autoconf to produce a configure script -AC_PREREQ(2.57) +AC_PREREQ([2.60]) AC_INIT([xf86-video-apm], 1.2.2, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], -- cgit v1.2.3 From 3971681ab2e4e2672da2824e2f4a5eb184a4728f Mon Sep 17 00:00:00 2001 From: Gaetan Nadon <memsize@videotron.ca> Date: Tue, 20 Jul 2010 19:41:30 -0400 Subject: 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> --- configure.ac | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.ac b/configure.ac index 773c68c..0030856 100644 --- a/configure.ac +++ b/configure.ac @@ -43,7 +43,6 @@ XORG_DEFAULT_OPTIONS # Checks for programs. AC_DISABLE_STATIC AC_PROG_LIBTOOL -AC_PROG_CC AH_TOP([#include "xorg-server.h"]) -- cgit v1.2.3 From a98fd5c4759031d6318fa1926773f8ac68e52379 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon <memsize@videotron.ca> Date: Tue, 20 Jul 2010 20:24:42 -0400 Subject: 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> --- configure.ac | 2 -- 1 file changed, 2 deletions(-) diff --git a/configure.ac b/configure.ac index 0030856..e4fe1d7 100644 --- a/configure.ac +++ b/configure.ac @@ -65,8 +65,6 @@ PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1], HAVE_XEXTPROTO_71="no") AM_CONDITIONAL(HAVE_XEXTPROTO_71, [ test "$HAVE_XEXTPROTO_71" = "yes" ]) -# Checks for header files. -AC_HEADER_STDC PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.8.0]) -- cgit v1.2.3 From 95598411c41871b05ae33f91491beda7ea34ef0a Mon Sep 17 00:00:00 2001 From: Gaetan Nadon <memsize@videotron.ca> Date: Wed, 21 Jul 2010 09:27:42 -0400 Subject: config: complete AC_INIT m4 quoting Signed-off-by: Gaetan Nadon <memsize@videotron.ca> --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index e4fe1d7..c6bf99a 100644 --- a/configure.ac +++ b/configure.ac @@ -22,9 +22,9 @@ AC_PREREQ([2.60]) AC_INIT([xf86-video-apm], - 1.2.2, + [1.2.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], - xf86-video-apm) + [xf86-video-apm]) AC_CONFIG_SRCDIR([Makefile.am]) AM_CONFIG_HEADER([config.h]) -- cgit v1.2.3 From 8843f296b9e6b786b28e10bc49ee85987ba7fe32 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon <memsize@videotron.ca> Date: Wed, 21 Jul 2010 14:05:22 -0400 Subject: config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS Signed-off-by: Gaetan Nadon <memsize@videotron.ca> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c6bf99a..fa92405 100644 --- a/configure.ac +++ b/configure.ac @@ -27,7 +27,7 @@ AC_INIT([xf86-video-apm], [xf86-video-apm]) AC_CONFIG_SRCDIR([Makefile.am]) -AM_CONFIG_HEADER([config.h]) +AC_CONFIG_HEADERS([config.h]) AC_CONFIG_AUX_DIR(.) AM_INIT_AUTOMAKE([foreign dist-bzip2]) -- cgit v1.2.3 From bf03417c2c40c9c59ab3d8f9384353f9697a3a01 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon <memsize@videotron.ca> Date: Wed, 21 Jul 2010 16:07:00 -0400 Subject: config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES Signed-off-by: Gaetan Nadon <memsize@videotron.ca> --- configure.ac | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index fa92405..f67d1e9 100644 --- a/configure.ac +++ b/configure.ac @@ -71,8 +71,9 @@ PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.8.0]) DRIVER_NAME=apm AC_SUBST([DRIVER_NAME]) -AC_OUTPUT([ - Makefile - src/Makefile - man/Makefile +AC_CONFIG_FILES([ + Makefile + src/Makefile + man/Makefile ]) +AC_OUTPUT -- cgit v1.2.3 From c78c6c81cb4cf88696010c3028bab68d7f027f8d Mon Sep 17 00:00:00 2001 From: Gaetan Nadon <memsize@videotron.ca> Date: Wed, 21 Jul 2010 16:49:04 -0400 Subject: config: add comments for main statements --- configure.ac | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index f67d1e9..00bfb32 100644 --- a/configure.ac +++ b/configure.ac @@ -20,18 +20,18 @@ # # Process this file with autoconf to produce a configure script +# Initialize Autoconf AC_PREREQ([2.60]) AC_INIT([xf86-video-apm], [1.2.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xf86-video-apm]) - AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_AUX_DIR(.) +# Initialize Automake AM_INIT_AUTOMAKE([foreign dist-bzip2]) - AM_MAINTAINER_MODE # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS @@ -40,25 +40,26 @@ m4_ifndef([XORG_MACROS_VERSION], XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS -# Checks for programs. +# Initialize libtool AC_DISABLE_STATIC AC_PROG_LIBTOOL AH_TOP([#include "xorg-server.h"]) +# Define a configure option for an alternate module directory AC_ARG_WITH(xorg-module-dir, [ --with-xorg-module-dir=DIR ], [ moduledir="$withval" ], [ moduledir="$libdir/xorg/modules" ]) AC_SUBST(moduledir) -# 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) -# 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]), -- cgit v1.2.3 From cf36c50f7994ed2c2bba7dc76aadbe03bf5ad84e Mon Sep 17 00:00:00 2001 From: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri, 23 Jul 2010 15:12:26 -0700 Subject: Remove xorgconfig reference from the README Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> --- README | 2 -- 1 file changed, 2 deletions(-) diff --git a/README b/README index 6fc84f1..9c0f330 100644 --- a/README +++ b/README @@ -103,8 +103,6 @@ 6. Configuration - First: Run the xorgconfig program to create a correct configuration. - You can turn off hardware cursor by inserting the following line in the Device section of the xorg.conf file: -- cgit v1.2.3 From 876d8aea6c4c442756c03dd6cd64e14e42658d0b Mon Sep 17 00:00:00 2001 From: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri, 23 Jul 2010 15:13:02 -0700 Subject: xf86-video-apm 1.2.3 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 00bfb32..780b0a5 100644 --- a/configure.ac +++ b/configure.ac @@ -23,7 +23,7 @@ # Initialize Autoconf AC_PREREQ([2.60]) AC_INIT([xf86-video-apm], - [1.2.2], + [1.2.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xf86-video-apm]) AC_CONFIG_SRCDIR([Makefile.am]) -- cgit v1.2.3 From 6f8a776f792c02779a34c911f803fde8c09b93f6 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Wed, 28 Jul 2010 07:42:30 -0700 Subject: Add XFree86 Copyright/License to COPYING for all code that came from XF86 4.4 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> --- COPYING | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/COPYING b/COPYING index 340a7ec..65af997 100644 --- a/COPYING +++ b/COPYING @@ -1,3 +1,27 @@ +Copyright (C) 1994-2003 The XFree86 Project, Inc. All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of the XFree86 Project shall +not be used in advertising or otherwise to promote the sale, use or other +dealings in this Software without prior written authorization from the +XFree86 Project. + Copyright 2007 George Sapountzis Permission is hereby granted, free of charge, to any person obtaining a -- cgit v1.2.3 From 9ce6499f013a5b6fdc9440fd3213dbb28b3bf1be Mon Sep 17 00:00:00 2001 From: Adam Jackson <ajax@redhat.com> Date: Wed, 16 Nov 2011 12:59:00 -0500 Subject: s/IOADDRESS/unsigned long/ Signed-off-by: Adam Jackson <ajax@redhat.com> --- src/apm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apm.h b/src/apm.h index bc66714..86c7663 100644 --- a/src/apm.h +++ b/src/apm.h @@ -109,7 +109,7 @@ typedef struct { char *MemMap; pointer BltMap; Bool UnlockCalled; - IOADDRESS iobase, xport, xbase; + unsigned long iobase, xport, xbase; unsigned char savedSR10; CARD8 MiscOut; CARD8 c9, d9, db, Rush; -- cgit v1.2.3 From 6b195cc0273650d01fc20c26433b929e9683aa5f Mon Sep 17 00:00:00 2001 From: Adam Jackson <ajax@redhat.com> Date: Wed, 16 Nov 2011 13:02:14 -0500 Subject: Adapt to vgahw changes in videoabi 12 Signed-off-by: Adam Jackson <ajax@redhat.com> --- src/apm_driver.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/apm_driver.c b/src/apm_driver.c index f172bab..f77bb2b 100644 --- a/src/apm_driver.c +++ b/src/apm_driver.c @@ -418,8 +418,14 @@ ApmPreInit(ScrnInfoPtr pScrn, int flags) hwp = VGAHWPTR(pScrn); vgaHWGetIOBase(hwp); - pApm->iobase = hwp->PIOOffset; - pApm->xport = hwp->PIOOffset + 0x3C4; +#if ABI_VIDEODRV_VERSION < 12 +#define PIOOFFSET hwp->PIOOffset +#else +/* FIXME reintroduce domain support */ +#define PIOOFFSET 0 +#endif + pApm->iobase = PIOOFFSET; + pApm->xport = PIOOFFSET + 0x3C4; /* Set pScrn->monitor */ pScrn->monitor = pScrn->confScreen->monitor; -- cgit v1.2.3 From 967f6f20670baa33506c3c1b107260a4f909f3d6 Mon Sep 17 00:00:00 2001 From: Adam Jackson <ajax@redhat.com> Date: Thu, 17 Nov 2011 15:50:02 -0500 Subject: Check ABI major not encoded ABI Signed-off-by: Adam Jackson <ajax@redhat.com> --- src/apm_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apm_driver.c b/src/apm_driver.c index f77bb2b..8d6f486 100644 --- a/src/apm_driver.c +++ b/src/apm_driver.c @@ -418,7 +418,7 @@ ApmPreInit(ScrnInfoPtr pScrn, int flags) hwp = VGAHWPTR(pScrn); vgaHWGetIOBase(hwp); -#if ABI_VIDEODRV_VERSION < 12 +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12 #define PIOOFFSET hwp->PIOOffset #else /* FIXME reintroduce domain support */ -- cgit v1.2.3