summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-01-16configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOLHEADmasterAlan 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:47: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:47: You should run autoupdate. aclocal.m4:3551: AC_PROG_LIBTOOL is expanded from... configure.ac:47: 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-09Fix -Wimplicit-function-declaration warningAlan Coopersmith1-0/+2
xgi_setup.c:637:5: warning: implicit declaration of function ‘XGI_New_GetVBType’; did you mean ‘XGI_GetRegByte’? [-Wimplicit-function-declaration] XGI_New_GetVBType(pXGI->XGI_Pr, pHwDevInfo); //yilin ^~~~~~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09XGIErrorLog: add printf attributeAlan Coopersmith1-1/+1
xgi_driver.c: In function ‘XGIErrorLog’: xgi_driver.c:729:5: warning: function ‘XGIErrorLog’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] xf86VDrvMsgVerb(pScrn->scrnIndex, X_ERROR, 1, format, ap); ^~~~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09Fix -Wdiscarded-qualifiers warningsAlan Coopersmith3-9/+8
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09Stop including deprecated xf86PciInfo.hAlan Coopersmith16-16/+0
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-30Fix building with `-fno-common`Alan Coopersmith1-3/+3
This is the default in gcc 10 & later, and causes build failures with: /usr/sbin/ld: .libs/xgi_driver.o:/builds/alanc/xf86-video-xgi/_builddir/src/../../src/xgi_accel.h:125: multiple definition of `Alignment'; .libs/xgi_accel.o:/builds/alanc/xf86-video-xgi/_builddir/src/../../src/xgi_accel.h:125: first defined here /usr/sbin/ld: .libs/xgi_driver.o:/builds/alanc/xf86-video-xgi/_builddir/src/../../src/xgi_accel.h:124: multiple definition of `G2CmdQueLen'; .libs/xgi_accel.o:/builds/alanc/xf86-video-xgi/_builddir/src/../../src/xgi_accel.h:124: first defined here /usr/sbin/ld: .libs/xgi_driver.o:/builds/alanc/xf86-video-xgi/_builddir/src/../../src/xgi_accel.h:122: multiple definition of `w_port'; .libs/xgi_accel.o:/builds/alanc/xf86-video-xgi/_builddir/src/../../src/xgi_accel.h:122: first defined here /usr/sbin/ld: .libs/xgi_driver.o:/builds/alanc/xf86-video-xgi/_builddir/src/../../src/xgi_accel.h:122: multiple definition of `r_port'; .libs/xgi_accel.o:/builds/alanc/xf86-video-xgi/_builddir/src/../../src/xgi_accel.h:122: first defined here Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-30gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-30Fix spelling/wording issuesAlan Coopersmith14-30/+30
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-30Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.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/+19
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-07-17xf86-video-xgi: remove the GlxSetVisualConfigs stub and friendsEmil Velikov4-147/+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: Connor Behan <connor.behan@gmail.com> Cc: Adam Jackson <ajax@redhat.com> Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2016-07-19Adapt Block/WakeupHandler signature for ABI 23Adam Jackson1-0/+5
Signed-off-by: Adam Jackson <ajax@redhat.com>
2016-04-28Add check for libpciaccess on ARMTristan Plumb1-0/+4
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=30619 Reviewed-by: Connor Behan <connor.behan@gmail.com>
2016-04-28Fixed "Module xgi does not have a xgiModuleData"Alberto Bursi1-1/+1
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=95181 Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-09-14Fix invalid mode passed to openJakub Bogusz1-1/+1
Signed-off-by: Jakub Bogusz <qboosh@pld-linux.org>
2015-09-14Add missing includes to avoid implicit function declarationsJakub Bogusz1-0/+3
Signed-off-by: Jakub Bogusz <qboosh@pld-linux.org>
2015-08-21Bump to 1.6.1xf86-video-xgi-1.6.1Connor Behan1-1/+1
Signed-off-by: Connor Behan <connor.behan@gmail.com>
2015-08-17Remove execute permissions from source filesConnor Behan41-0/+0
This looks tacky if nothing else. Signed-off-by: Connor Behan <connor.behan@gmail.com> Reviewed-by: Matthieu Herrb <matthieu at herrb.eu>
2015-08-17Reduce custom type usageConnor Behan18-341/+335
Bring this more in line with the maintained drivers. Signed-off-by: Connor Behan <connor.behan@gmail.com> Reviewed-by: Matthieu Herrb <matthieu at herrb.eu>
2015-08-17Remove UploadToScreen and DownloadFromScreenConnor Behan1-107/+0
Fixing these broken EXA hooks would make them equal to a software fallback, so use that instead. Signed-off-by: Connor Behan <connor.behan@gmail.com>
2015-08-17Add missing check for libpciaccessConnor Behan1-0/+8
The code for finding the BIOS forgets to provide both map / unmap methods. Signed-off-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Remove const from variable.Thomas Klausner1-1/+1
Fixes. assignment discards ‘const’ qualifier from pointer target type Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Add unistd.h for usleep().Thomas Klausner2-0/+2
Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Make two unused Scaling variables static.Thomas Klausner1-2/+2
Avoids xgi_drv_pic.a(xgi_setup.pico):(.rodata+0x30): multiple definition of `XGIScalingP4Regs' Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Compare integer return values to integers.Thomas Klausner1-2/+2
Fixes: warning: comparison between pointer and integer Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Fix return value.Alan Barrett1-1/+1
In XGI_GetTVPtrIndex2(), return the correct value through *tempch by using (*tempch)++ instead of *tempch++. Found using clang -Wunused-value. Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Remove PACKAGE_* definitions from xgi_dri.c.Thomas Klausner2-9/+0
They are provided by configure (via config.h or command line). Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Make cast match target variable type.Thomas Klausner1-1/+1
Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Make PutImage implementation match prototype.Thomas Klausner1-2/+3
Fixes warning: assignment from incompatible pointer type Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Do not build in DEBUG mode by default.Thomas Klausner1-7/+0
Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Improve format strings in messages and errors.Thomas Klausner3-13/+14
Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Use better variable types.Thomas Klausner2-9/+9
Fixes a couple more warnings. Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Uncomment header includes.Thomas Klausner1-3/+0
Needed for open() and ioctl(). Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Consistently use Bool instead of BOOL.Thomas Klausner2-5/+5
Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Add prototype for bGetEDID.Thomas Klausner2-0/+2
Fixes warning: implicit declaration of function 'bGetEDID' Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Use correct variable type.Thomas Klausner1-2/+2
Fixes warning: passing argument 2 of 'pci_device_cfg_read_u32' from incompatible pointer type Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Remove const marker for some variables.Thomas Klausner1-8/+8
They are used in non-const context. Fixes a couple of warnings: warning: assignment discards 'const' qualifier from pointer target type Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Use correct type for variable.Thomas Klausner2-20/+20
Fixes many warnings of this type: xgi.h:1016:14: note: expected 'XGIIOADDRESS' but argument is of type 'PUCHAR' Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Stop using obsolete header file.Thomas Klausner2-2/+2
Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2015-08-10Avoid redefinitions of u8, uint8_t, and GETBITS.Thomas Klausner2-1/+7
Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
2014-09-11Remove call to miInitializeBackingStore to make the driver load againAdam Jackson1-1/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-08-14Remove mibstore.h to make driver build againEgbert Eich1-1/+0
Signed-off-by: Egbert Eich <eich@freedesktop.org>
2013-07-29Don't confuse editor and make function more readableEgbert Eich1-59/+55
Don't use #if ... #endif intermixed with bracketing. Signed-off-by: Egbert Eich <eich@freedesktop.org>
2013-01-18ddc: Fix uncredible fail in calling xf86UnloadSubModuleAdam Jackson1-1/+0
xf86UnloadSubModule() takes a ModuleDescPtr, though you wouldn't know it from the prototype; it most certainly does not take a string. Also, ddc has been a built-in module since RANDR 1.2 or so, so this call would have been a no-op even if it were correct. Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-18i2c: Don't scream on literally every single write to SCL or SDAAdam Jackson1-4/+4
Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-08Fix XGIValidMode for 1.13 APIAdam Jackson2-3/+3
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-08-07xgi: build against non-piooffset vgahwDave Airlie1-0/+8
Signed-off-by: Dave Airlie <airlied@redhat.com>