summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-05-28drop compat with ancient xserver versionsHEADmasterEnrico Weigelt, metux IT consult
We're relying on at least 1.18, so compat with older ones isn't needed anymore. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-apm/-/merge_requests/10>
2024-05-19drop obsolete XV_NEW_REPUTEnrico Weigelt, metux IT consult
Since we're relying on new enought Xserver that always has ScrnInfoRec.ModeSet, no need to support old legacy anymore. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-apm/-/merge_requests/8>
2024-05-19Remove XAA supportAlan Coopersmith
Mostly done via unifdef -UHAVE_XAA_H, followed by minor manual editing Since recent commits require xserver-1.18.0 or later to build against, there's no reason leaving behind big chunks of code that can only build against the XAA support removed in xserver-1.13.0 (released in 2012). Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-apm/-/merge_requests/7>
2024-05-12Raise minimum supported Xserver version to 1.18 (ABI_VIDEODRV_VERSION 20.0)Alan Coopersmith
Already effectively required by use of XNFcallocarray() introduced in xorg/xserver@b96dc999 - xserver-1.18.0, released in Nov. 2015. Allows dropping remnants of code for PC98 and pre-pciaccess X servers Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-apm/-/merge_requests/7>
2024-05-08use XNFcallocarray() instead of xnfcalloc macroEnrico Weigelt, metux IT consult
xnfcalloc is just an alias for XNFcallocarray() that doesn't seem to serve any practical purpose, so it can go away once all drivers stopped using it. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-apm/-/merge_requests/6>
2024-05-08use XNFalloc() instead of xnfallocEnrico Weigelt, metux IT consult
xnfalloc is just an alias for XNFalloc() that doesn't seem to serve any practical purpose, so it can go away once all drivers stopped using it. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-apm/-/merge_requests/6>
2024-01-05Add X.Org's standard C warning flags to AM_CFLAGSAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-05-07Make order of arguments in function prototypes match definitionsAlan Coopersmith
Found by cppcheck: apm_funcs.c:1026:45: warning: Function 'ApmSubsequentSolidBresenhamLine' argument order different: declaration 'pScrn, x1, y1, octant, err, e1, e2, length' definition 'pScrn, x1, y1, e1, e2, err, length, octant' [funcArgOrderDifferent] apm_funcs.c:1087:49: warning: Function 'ApmSubsequentSolidBresenhamLine6422' argument order different: declaration 'pScrn, x1, y1, octant, err, e1, e2, length' definition 'pScrn, x1, y1, e1, e2, err, length, octant' [funcArgOrderDifferent] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-01-27Use libpciaccess for newer X Servers when unmapping video RAMKevin Brace
Commit d1e29902483a82e86b07cd30d41d411e71b776ea missed using XSERVER_LIBPCIACCESS conditional compilation keyword when unmapping video RAM. This meant that the code was not getting compiled correctly for newer X Servers due to the missing xf86UnMapVidMem. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-01-27Eliminate unused variable compilation warningsKevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-01-27Use const char for xf86GetOptValString return typeKevin Brace
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-01-27Remove miInitializeBackingStoreKevin Brace
Apparently, it is no longer available. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2013-01-09Remove #include "mibstore.h"Adam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-07-17apm: fix make dist.Dave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17apm: convert to new screen conversion apis.Dave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-13apm: handle xaa removalDave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-13apm: initial compat apiDave Airlie
Port to new server compat API. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-12xv: disable reputimage hook on newer apiLuc Verhaegen
This change makes Xv support slightly less nice, but should, in itself, not deteriorate things too much, as most drivers function acceptably without reputimage. Signed-off-by: Luc Verhaegen <luc.verhaegen@basyskom.de> Signed-off-by: Julien Cristau <jcristau@debian.org>
2012-05-01Disable PC98 code on newer serversJulien Cristau
It was removed in xserver commit 6ad7bb69eebd5e5b4068bd9aa0b9a7168f075006, and keeping API compatibility would have been too hard. Or something.
2012-05-01Stop including xf86PciInfo.hJulien Cristau
Deprecated in xserver commit 1f5baa924a5907978f564372265d9830ac72a077
2012-05-01Replace x{{,re,c}alloc,free} with malloc/realloc/calloc/freeJulien Cristau
2011-12-19Fix for new vgaHW ABIAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-12-19Fall back to shadowfb if XAA fails to loadAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-12-19Merge branch 'master' of ↵Adam Jackson
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-video-apm
2011-11-17Check ABI major not encoded ABIAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-11-16Adapt to vgahw changes in videoabi 12Adam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-11-16s/IOADDRESS/unsigned long/Adam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-06-04Remove non-linear framebuffer mappingAdam Jackson
It hasn't worked since the pciaccess conversion anyway. Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-05-18Remove mibank.h referenceAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-04-07config: remove MFB usage as it is no longer in xserverGaetan Nadon
As of commit f31bd087e8a7f65cd588bd1d022bb18e72b2a60c dated August 2007, xfree86 xf1bpp and xf4bpp have been removed in the xserver. Acked-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Rémi Cardona <remi@gentoo.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-04-07config: remove ISA bus code, support removed in xserverGaetan Nadon
Remove declaration check and AM conditional HAVE_ISA along with the code conditionnaly included. Acked-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Rémi Cardona <remi@gentoo.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-04-07config: remove support for obsolete xf86rush extensionGaetan Nadon
The Alliance ProMotion video card driver has an option to build with the xf86rush extension which is no longer available since X11R7.3. Acked-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Rémi Cardona <remi@gentoo.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-08config: move compiler flags from configure.ac to Makefile.amGaetan Nadon
CFLAGS is an automake defined variable that should not be set by the module. It should not be AC_SUBST either, it already is. Use AM_CFLAGS in Makefile.am. This will allow the user to override the flags as they will be in the right order. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-09-08xf86-video-apm: Remove unused .cvsignore file #23776Gaetan Nadon
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-30apm: fix up ABI properlyDave Airlie
2009-07-28apm: update for resources/RAC API removalDave Airlie
2009-07-16Update to xextproto 7.1 support.Peter Hutterer
DPMS header was split into dpms.h (client) and dpmsconst.h (server). Drivers need to include dpmsconst.h if xextproto 7.1 is available. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-28Remove useless loader symbol lists.Adam Jackson
2009-01-25Typo fixJulien Cristau
This was introduced in "xf1/4 bpp conversion" (commit 5e0510dd0144c8ee85b2bd8bde58ae212f0d8453)
2008-12-19Stop using XVCALL macroAdam Jackson
2008-11-23Make ISA optionalAdam Jackson
2008-08-15Actually use the DDC results we get.Adam Jackson
2008-08-15Uninclude xf86Version.hAdam Jackson
2008-07-28Protect xf86rush dependent code around #ifdef XF86RUSHPaulo Cesar Pereira de Andrade
Also correct an incorrect #ifndef -> #ifdef, so that the driver now doesn't have any calls to non existent symbols. Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
2008-03-19Death to RCS tags.Adam Jackson
2008-03-11further build fixesDave Airlie
2008-03-11xf1/4 bpp conversionDave Airlie
2008-03-11pcirename conversionDave Airlie
2007-08-07Define APM_*_VERSION using PACKAGE_VERSION_*Brice Goglin
2007-03-01Remove useless mfb.h include.Adam Jackson