summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
6 daysuse XNFcallocarray() instead of xnfcalloc macroHEADmasterEnrico Weigelt, metux IT consult1-2/+2
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-tdfx/-/merge_requests/6>
2024-01-17Fix 3 -Wmissing-prototypes warnings in tdfx_driver.cAlan Coopersmith1-3/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17Quiet -Wredundant-decls from xorg/os.h fallbacks for new libc functionsAlan Coopersmith1-0/+5
The Xorg headers provide their own versions of strlcat, strlcpy, and timingsafe_memcmp for platforms that don't have them in libc yet, but rely on configure to set HAVE_* defines to determine if they should be defined in the headers. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-15Add X.Org's standard C warning flags to AM_CFLAGSAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-15configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOLAlan Coopersmith1-2/+1
AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, so it's time to rely on it. Clears autoconf warnings: configure.ac:44: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:44: You should run autoupdate. aclocal.m4:3515: AC_PROG_LIBTOOL is expanded from... configure.ac:44: the top level Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-07gitlab CI: ensure libtool is installed in build containerAlan Coopersmith1-3/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-15TDFXDRIScreenInit: Use snprintf instead of sprintfAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-15TDFXDRIScreenInit: fix -Wformat warningAlan Coopersmith1-2/+2
v2: Add cast to work with both Linux (unsigned int) and non-Linux (unsigned long) typedefs of drm_handle_t Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09allocateMemory: fix -Wdiscarded-qualifiers warningsAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29Fix spelling/wording issuesAlan Coopersmith5-5/+5
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-05-04configure.ac: fix cross-compilationFabrice Fontaine1-7/+13
AC_CHECK_FILE can't be used when cross-compiling [Retrieved (and slightly updated) from: https://git.buildroot.net/buildroot/tree/package/x11r7/xdriver_xf86-video-tdfx/0001-cross.patch] Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2019-02-15Version bumped to 1.5.0xf86-video-tdfx-1.5.0Kevin Brace1-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-02-01Eliminate log message parameter type compilation warningsKevin Brace1-5/+5
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-02-01Changing result parameter type for ScreenWakeupHandlerProcPtrKevin Brace1-1/+1
For ABI_VIDEODRV_VERSION >= 23, it was changed to int from unsigned long. Signed-off-by: Kevin Brace <kevinbrace@gmx.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
2018-12-25Eliminate set but not used variable compilation warningsKevin Brace2-5/+4
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-25Eliminate unused variable compilation warningKevin Brace1-1/+0
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-07Update configure.ac bug URL for gitlab migrationAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18Update README for gitlab migrationAlan Coopersmith3-20/+20
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-07-17xf86-video-tdfx: remove the GlxSetVisualConfigs stub and friendsEmil Velikov4-233/+2
The function was an empty since 2008 at least. Remove it alongside the unused GLX visuals code. With this all the GL/GLX dependencies in the driver are gone. Cc: Guillem Jover <guillem@hadrons.org> Cc: Adam Jackson <ajax@redhat.com> Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2017-01-26autogen: add default patch prefixMihail Konev1-0/+3
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov1-4/+4
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer1-1/+1
Syncs the invocation of configure with the one from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2017-01-26autogen.sh: Honor NOCONFIGURE=1Alan Coopersmith1-2/+3
See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26configure: Drop AM_MAINTAINER_MODEAlan Coopersmith2-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-17xf86-video-tdfx 1.4.7xf86-video-tdfx-1.4.7Matt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2016-07-19Adapt Block/WakeupHandler signature for ABI 23Adam Jackson1-0/+8
Signed-off-by: Adam Jackson <ajax@redhat.com>
2015-02-22xf86-video-tdfx 1.4.6xf86-video-tdfx-1.4.6Matt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2014-07-29dri: Stop (uselessly) initializing the ValidateTree hooksAdam Jackson1-2/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-10-22Add more PCI IDs for supported chipsGuillem Jover2-1/+16
Add support for Velocity and Voodoo4 chips. Signed-off-by: Guillem Jover <guillem@hadrons.org> Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-10-22Unmap MMIO ranges for all chipsGuillem Jover1-3/+6
This is relevant on SLI setups, where each chip has their own MMIO range. Signed-off-by: Guillem Jover <guillem@hadrons.org> Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-10-22Use the PCI ID macros instead of hardcoded valuesGuillem Jover1-3/+3
Signed-off-by: Guillem Jover <guillem@hadrons.org> Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-10-22Remove unreachable breaks after return statementsGuillem Jover1-3/+0
Signed-off-by: Guillem Jover <guillem@hadrons.org> Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-10-22Use new pci_device_(un)map_range functions instead of deprecated onesGuillem Jover1-12/+16
Signed-off-by: Guillem Jover <guillem@hadrons.org> Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-10-22Rename XSERVER_PCIACCESS to XSERVER_LIBPCIACCESSGuillem Jover1-1/+1
Using the wrong macro name means that the code uses an obsolete typedef that issues warnings. Signed-off-by: Guillem Jover <guillem@hadrons.org> Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-10-22Define local PCI IDs instead of using xf86PciInfo.hGuillem Jover3-5/+11
The header file is deprecated and issues a warning now. Stop using it, and move the definitions to the local tree as recommended by the warning. Signed-off-by: Guillem Jover <guillem@hadrons.org> Reviewed-by: Adam Jackson <ajax@redhat.com>
2012-09-25Remove mibstore.hAdam Jackson1-5/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-07-17xf86-video-tdfx: bump to version 1.4.5xf86-video-tdfx-1.4.5Dave Airlie1-1/+1
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-16tdfx: fix build against XAA-less server.Dave Airlie6-1/+56
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-06tdfx: port to new compat APIDave Airlie10-85/+186
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-03-23xf86-video-tdfx 1.4.4xf86-video-tdfx-1.4.4Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-01-27Untangle XF86DRI from the driver-specific DRI definePeter Hutterer5-19/+23
XF86DRI is defined by xorg-server.h, so --disable-dri in the driver itself does exactly nothing other than not fill in the CFLAGS and thus stop the driver from compiling. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-01-13Fix RPMLINT warning "64bit-portability-issue".Stefan Dirsch1-1/+1
Signed-off-by: Johannes Obermayr <johannesobermayr@gmx.de> Reviewed-by: Tormod Volden <debian.tormod@gmail.com>
2011-12-19Stop uselessly including xf86Priv.hAdam Jackson1-1/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-12-19Fix for new vgaHW ABIAdam Jackson1-0/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-12-19Make failure to XAA non-fatalAdam Jackson1-4/+4
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-11-17Check ABI major not encoded ABIAdam Jackson1-1/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-11-16Adapt to missing PIOOffset in vgahwAdam Jackson1-3/+3
This is actually pretty lame, and I should probably extend vgahw to make it easier to do this kind of trick. Signed-off-by: Adam Jackson <ajax@redhat.com>