summaryrefslogtreecommitdiff
path: root/src/apm_driver.c
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-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>
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>
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-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>
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-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>
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-11-23Make ISA optionalAdam Jackson
2008-08-15Actually use the DDC results we get.Adam 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
2006-04-08Bump to 1.1.1 for Xv changes.xf86-video-impact-0_2_0apm-1_1_1XORG-7_1Adam Jackson
2006-04-07Fix a missed VERSION -> APM_VERSION.apm-1_1_0Adam Jackson
2006-04-07Unlibcwrap. Bump server version requirement. Bump to 1.1.0.Adam Jackson
2005-12-26Bug #5356: Don't redefine VERSION. (Tilman Sauerbeck)Adam Jackson
2005-10-19lib/Xcomposite/Xcomposite.hXORG-6_8_99_903XORG-6_8_99_902XORG-6_8_99_901accelerated_indirect-0-0-1Kevin E Martin
lib/Xft/Imakefile lib/Xft/Xft.h Update library version numbers to match updated package versions. Update driver version numbers for RC1.
2005-07-11Prep for modular builds by adding guarded #include "config.h" everywhere.XORG-6_8_99_900XORG-6_8_99_16XORG-6_8_99_15Adam Jackson
2005-06-25Bug #3626: _X_EXPORT tags for video and input drivers.XORG-6_8_99_13Adam Jackson
2005-04-20Fix includes right throughout the Xserver tree:sco_port_update-baseXORG-6_8_99_9XORG-6_8_99_8XORG-6_8_99_7XORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4XORG-6_8_99_12XORG-6_8_99_11XORG-6_8_99_10sco_port_updateDaniel Stone
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.
2004-12-04Encoding of numerous files changed to UTF-8xprint_packagertest_20041217_baseXORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_1xprint_packagertest_20041217Markus Kuhn
2004-06-16DRI XFree86-4_3_99_12-merge importDRI-trunk-20040721DRI-trunk-20040613DRI-XFree86-4_3_99_12-mergeEric Anholt
2004-04-23Merging XORG-CURRENT into trunkXACE-SELINUX-MERGECOMPOSITEWRAPEgbert Eich
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0STSF-CURRENTEgbert Eich
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich