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-s3virge/-/merge_requests/6>
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-10Fix warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]Alan Coopersmith1-19/+20
s3v_driver.c: In function ‘S3VModeInit’: s3v_driver.c:3103:12: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow] 3103 | int tmp = vganew->CRTC[4] + ((i&0x10)<<4) + ps3v->HorizScaleFactor; | ^~~ s3v_driver.c:2577:17: note: shadowed declaration is here 2577 | unsigned char tmp = 0; | ^~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-10Fix -Wmisleading-indentation warnings in regs3v.hAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-10Fix warning: no previous prototype for ‘S3VNopAllCmdSets’Alan Coopersmith1-2/+2
s3v_accel.c:248:1: warning: no previous prototype for ‘S3VNopAllCmdSets’ [-Wmissing-prototypes] 248 | S3VNopAllCmdSets(ScrnInfoPtr pScrn) | ^~~~~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-10Add X.Org's standard C warning flags to AM_CFLAGSAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-10configure: 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-06gitlab CI: ensure libtool is installed in build containerAlan Coopersmith1-3/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-13xf86-video-s3virge 1.11.1xf86-video-s3virge-1.11.1Alan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-08S3VSetCursorColors: quiet -Wimplicit-fallthrough warningsAlan Coopersmith1-1/+2
gcc doesn't accept the existing comments because they have additional text after the "else fall through" magic words Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-08S3VSetupImageVideoOverlay: Fix 44 -Wnull-dereference warnings from gccAlan Coopersmith1-0/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-08constify some argument declarationsAlan Coopersmith3-3/+5
Clears 16 of 17 -Wdiscarded-qualifiers warnings from gcc Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-08gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-30Move [HV]Total checks into S3VValidModeAlan Coopersmith1-12/+9
Needed to build against Xorg 1.20 and later due to xorg/xserver@5a945f54 Based on ajax's commit xf86-video-rendition@70dd6c22 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-27gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-27Fix spelling/wording issuesAlan Coopersmith2-9/+9
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-27Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-02-07Version bumped to 1.11.0xf86-video-s3virge-1.11.0Kevin Brace1-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-18Eliminate unused function compilation warningsKevin Brace1-2/+1
It is an XAA related issue. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-18Eliminate unused variable compilation warningsKevin Brace1-2/+0
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-18Use const char for xf86GetOptValString return typeKevin Brace1-1/+1
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 Coopersmith1-5/+5
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.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>
2015-10-20Add cast to remove a warning on 32-bit machines.Thomas Klausner1-1/+1
PCI_REGION_BASE returns a 64-bit value, which needs to be converted down to 32-bit before it can be put into a 32-bit pointer.
2015-10-20Increase BIOS_BSIZE.Nick Hudson1-1/+1
libpciaccess expects a much bigger buffer when reading ROM. Bump it to the (normal) IO space size. Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2015-09-26xf86-video-s3virge 0.10.7xf86-video-s3virge-1.10.7Matt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2014-09-30Remove call to miInitializeBackingStoreAdam Jackson1-1/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-09-30Fix build against xserver 1.17Adam Jackson1-2/+2
Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-05-21Use own thunk function instead of vgaHW*WeakAdam Jackson1-1/+7
I plan to remove the Weak functions from a future server. Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-07-17xf86-video-s3virge: bump to version 1.10.6xf86-video-s3virge-1.10.6Dave Airlie1-1/+1
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17s3virge: port to new X server compat API.Dave Airlie9-56/+150
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17s3v: adjust to removal of XAA from server.Dave Airlie5-7/+44
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-13xf86-video-s3virge 1.10.5xf86-video-s3virge-1.10.5Julien Cristau1-1/+1
Signed-off-by: Julien Cristau <jcristau@debian.org>
2012-05-13Fix distcheckJulien Cristau1-0/+1
Signed-off-by: Julien Cristau <jcristau@debian.org>
2012-05-13Avoid compiler warning for deprecated PCITAGJulien Cristau1-0/+2
It's only used in non-pciaccess builds. Signed-off-by: Julien Cristau <jcristau@debian.org>
2012-03-24Do not use deprecated xf86PciInfo.hTormod Volden9-10/+26
Signed-off-by: Tormod Volden <debian.tormod@gmail.com> Reviewed-by: Cyril Brulebois <kibi@debian.org>
2011-12-30Replace deprecated x(c/re)alloc/xfree with m/c/realloc/freeTormod Volden4-15/+16
sed -i 's/xalloc/malloc/g; s/xcalloc/calloc/g; s/xrealloc/realloc/g; s/xfree(/free(/g' Also added a missing unistd.h include for usleep(). Signed-off-by: Tormod Volden <debian.tormod@gmail.com> Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2011-12-29Add missing VERBLEV argument to xf86DrvMsgVerb()Tormod Volden1-1/+1
Signed-off-by: Tormod Volden <debian.tormod@gmail.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2011-12-19Fix for new vgahw ABIAdam Jackson1-1/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-12-19Fall back to shadowfb if XAA is unavailableAdam Jackson1-2/+5
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-11-17Check ABI major not encoded ABIAdam Jackson1-2/+2
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-11-16Adapt to missing PIOOffset in videoabi 12Adam Jackson1-8/+17
Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-07-22config: add comments for main statementsGaetan Nadon1-6/+6
2010-07-21config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILESGaetan Nadon1-4/+5
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>