summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
5 daysuse XNFrealloc() instead of xnfreallocHEADmasterEnrico Weigelt, metux IT consult1-2/+2
xnfrealloc is just an alias for XNFrealloc() 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-trident/-/merge_requests/7>
7 daysuse XNFcallocarray() instead of xnfcalloc macroEnrico Weigelt, metux IT consult1-3/+3
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-trident/-/merge_requests/7>
7 daysuse XNFalloc() instead of xnfallocEnrico Weigelt, metux IT consult3-4/+4
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-trident/-/merge_requests/7>
2024-01-17Quiet -Wmisleading-indentation warning in trident_dac.cAlan Coopersmith1-4/+6
trident_dac.c: In function ‘Tridentddc1Read’: trident_dac.c:1238:5: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] 1238 | while (!(INB(vgaIOBase + 0xA) & 0x08)); | ^~~~~ In file included from trident_dac.c:36: trident_regs.h:303:1: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 303 | { \ | ^ trident_dac.c:1241:5: note: in expansion of macro ‘OUTB’ 1241 | OUTB(vgaIOBase + 4, I2C); | ^~~~ Compiled code does not change due to this change 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>
2023-02-13xf86-video-trident 1.4.0xf86-video-trident-1.4.0Alan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09Fix 96 out of 102 -Wdiscarded-qualifiers warningsAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-09blade_exa: Fix -Wimplicit-fallthrough warningAlan Coopersmith1-0/+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-29Update trident_pci_rename.h to pci_rename.h in src/Makefile.amAlan Coopersmith1-1/+1
Makefile was missed when header was renamed. Fixes "make distcheck". Fixes: cc33df89bcdcec83da5b8eface1b191802d694b2 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-9/+9
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>
2021-12-07Remove ramdacFabrice Fontaine1-3/+0
ramdac drivers have been removed from xserver since version 21.0.99.1 and https://gitlab.freedesktop.org/xorg/xserver/-/commit/f0385fb420158ac3bc1c4c325431ffc5c62344bb resulting in the following build failure: In file included from trident_bank.c:37: trident.h:41:10: fatal error: xf86RamDac.h: No such file or directory 41 | #include "xf86RamDac.h" | ^~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/c81ac8075af257e8626d9d097270be7a7b4a1496 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2019-05-10Rename trident_pci_rename.h to pci_rename.hKevin Brace2-4/+4
PCI rename header file appears to be generic, so trident_ prefix should be dropped. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-05-10Rename tridentpcirename.h to trident_pci_rename.hKevin Brace3-5/+5
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-05-10A minor adjustment to src/Makefile.amKevin Brace1-2/+2
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-05-10Move IsClearTV function location inside trident_pll.cKevin Brace1-18/+17
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-05-10Add braces to two for loops that lack themKevin Brace1-2/+4
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-05-10Rename tridenthelper.c to trident_pll.cKevin Brace2-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-05-10Fix indentation of tridenthelper.cKevin Brace1-79/+77
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-05-10Tab to spaces conversion for tridenthelper.cKevin Brace1-199/+199
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-05-10Add braces to for loops inside tridenthelper.cKevin Brace1-6/+7
Newer versions of gcc give warnings, so this fix suppresses the warnings. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-05Rename xp4_accel_exa.c to xp4_exa.cKevin Brace2-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-05Fix indentation of xp4_accel_exa.cKevin Brace1-55/+84
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-05Tab to spaces conversion for xp4_accel_exa.cKevin Brace1-80/+71
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-05Rename xp4_accel.c to xp4_xaa.cKevin Brace2-2/+2
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-05Suppress unused function compilation warnings for XP4 XAA functionsKevin Brace1-6/+6
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-05Fix indentation of xp4_accel.cKevin Brace1-155/+213
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-05Tab to spaces conversion for xp4_accel.cKevin Brace1-218/+214
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-05Rename xp_accel.c to xp_xaa.cKevin Brace2-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-05Fix indentation of xp_accel.cKevin Brace1-144/+202
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-05Tab to spaces conversion for xp_accel.cKevin Brace1-227/+224
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-05Fix indentation of src/Makefile.amKevin Brace1-21/+21
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-04Rename blade_accel_exa.c to blade_exa.cKevin Brace2-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-04Fix indentation of blade_accel_exa.cKevin Brace1-57/+100
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-04Tab to spaces conversion for blade_accel_exa.cKevin Brace1-108/+99
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-04Rename blade_accel.c to blade_xaa.cKevin Brace2-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-04Fix indentation for blade_accel.cKevin Brace1-230/+385
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-04Tab to spaces conversion for blade_accel.cKevin Brace1-247/+244
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-04Rename image_accel.c to image_xaa.cKevin Brace2-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-04Fix indentation for image_accel.cKevin Brace1-210/+351
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-04Tab to spaces conversion for image_accel.cKevin Brace1-228/+228
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-04Rename trident_accel.c to tgui_xaa.cKevin Brace2-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-04Fix indentation for trident_accel.cKevin Brace1-203/+274
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-03-04Tab to spaces conversion for trident_accel.cKevin Brace1-272/+268
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2019-02-25Compilation fix for NEC PC-98x1 specific code inside trident_driver.cKevin Brace1-61/+61
Unfortunately, commit 122747b2317fa6f82add70701efa8f853989ca3d broke the order of various NEC PC-98x1 specific initialization functions that was compiled for X Servers up to ABI_VIDEODRV_VERSION < 12. This commit fixes the issue. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>