Enrico Weigelt, metux IT consult
27fdce92c4
replace obsolete "pointer" typedef by plain void*
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-07 18:50:30 +01:00
Enrico Weigelt, metux IT consult
6a8bd7febb
drop obsolete compat macros
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-02 16:59:48 +01:00
Enrico Weigelt, metux IT consult
0c62065e4f
.github: add NetBSD build
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-29 18:43:39 +01:00
Enrico Weigelt, metux IT consult
82c3695287
.github: add freebsd and dragonfly build
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-29 10:04:15 +01:00
Enrico Weigelt, metux IT consult
5cbc3f4db7
.github: use new common driver build actions
...
Using the new driver build actions in X11Libre/actions-build-driver repo,
instead of having lots of duplicated pipeline and script in all the
individual driver repos.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-27 14:51:56 +01:00
Enrico Weigelt, metux IT consult
cc99ab9396
configure.ac: increase minimum xserver version to 25.0.0
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-19 16:19:38 +01:00
Enrico Weigelt, metux IT consult
1451ee2717
release 25.0.0
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
xlibre-xf86-video-trident-25.0.0
2025-12-18 19:22:58 +01:00
Enrico Weigelt, metux IT consult
bbc7ce4721
drop obsolete #ifdef XFree86LOADER
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-18 13:50:18 +01:00
Enrico Weigelt, metux IT consult
fa27a1147d
drop ancient READOUT code pathes
...
The symbol isn't defined anymore for over two decades now, so
no need to keep these ancient and never compiled code pathes.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-17 14:12:03 +01:00
Enrico Weigelt, metux IT consult
086c5f9205
drop DEBUG_CODE_TRACE
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-17 14:07:03 +01:00
Enrico Weigelt, metux IT consult
4553e88fba
drop obsolte check for HAVE_CONFIG_H
...
config.h is always present, no need to check for it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-17 14:06:06 +01:00
Enrico Weigelt, metux IT consult
cbb1ed96f9
drop support for ancient pre-libpciaccess X servers
...
remove decades old cruft.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-17 14:03:05 +01:00
Enrico Weigelt, metux IT consult
3a55695025
drop hacks for ancient xextproto < 7.1
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-17 13:58:43 +01:00
Enrico Weigelt, metux IT consult
11f9e3dd66
drop obsolete .gitlab-ci.yml
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-17 13:57:28 +01:00
Enrico Weigelt, metux IT consult
aee3bc3b06
configure.ac: drop DRIVER_NAME symbol
...
trivial to hardcode in man/Makefile.am
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-17 13:56:53 +01:00
Enrico Weigelt, metux IT consult
427d573abf
configure.ac: minor formatting cleanups
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-17 13:56:04 +01:00
Enrico Weigelt, metux IT consult
925718722c
configure.ac: drop unnecessary libc function checks
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-17 13:55:05 +01:00
Enrico Weigelt, metux IT consult
da4202f3ad
README.md: fix URLs
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-16 13:30:04 +01:00
Alan Coopersmith
62fd2d0d3d
Improve man page formatting
...
More closely follow common style as described on
https://man7.org/linux/man-pages/man7/man-pages.7.html
and fix warnings raised by `mandoc -T lint` and `groff -rCHECKSTYLE=10`
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-trident/-/merge_requests/11 >
2025-12-16 10:50:09 +01:00
Enrico Weigelt, metux IT consult
29e488ef6f
configure.ac: fix package name and issue tracker URL
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-15 19:27:45 +01:00
b-aaz
e99b9d9180
configure: Automatically detect the default xorg-module-dir.
...
The module directory has changed to a per ABI folder in the xlibre-xserver.
Now the default value of `xorg-module-dir` will be detected from the `moduledir` variable in xorg-server.pc.
Signed-off-by: b-aaz <b-aazbsd.proton.me>
xlibre-xf86-video-trident-1.4.0.2
2025-07-29 18:36:18 +02:00
Enrico Weigelt, metux IT consult
50408be004
.github: add CI pipeline
...
This pipeline builds the driver against the latest Xserver stable
release as well as current master.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-07-29 18:33:34 +02:00
callmetango
a00e3be9a4
.github: Add issue forms
...
Add the following forms for issue creation:
* Bug report
* Feature request
* Code change
* Documentation update
* Organizational task
* add issue type selection page on "New Issue" call
* mention Github Discussions and the mailing list where appropriate
Part-of: X11Libre/misc#156
Signed-off-by: callmetango <callmetango@users.noreply.github.com >
2025-07-07 16:49:33 +02:00
Enrico Weigelt, metux IT consult
fddaa2084b
drop compat with ancient xservers
...
Relying on >= 1.18 now, so no need to keep compat with older ones.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-trident/-/merge_requests/10 >
xlibre-xf86-video-trident-1.4.0.1
2024-06-10 13:44:19 +02:00
Alan Coopersmith
4e392222bb
Remove XAA support
...
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-trident/-/merge_requests/9 >
2024-05-19 14:14:29 -07:00
Alan Coopersmith
a5f2dea496
Drop ifdefs for ABI_VIDEODRV_VERSION < 12
...
ABI_VIDEODRV_VERSION 12 shipped in Xserver 1.10, less than our new minimum
Mostly removes PC98 support
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-trident/-/merge_requests/9 >
2024-05-19 13:49:10 -07:00
Enrico Weigelt, metux IT consult
7edf093535
drop ancient ISA support
...
Xserver has dropped all ISA support over 15 years ago. Since our minimum
support version now is 1.8, no need to keep the disfunctional ISA support.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-trident/-/merge_requests/8 >
2024-05-15 17:21:41 +02:00
Enrico Weigelt, metux IT consult
c1e23391b1
bump minimal xorg version to 1.18
...
1.18 was released a decade ago, so it seems reasonable stop supporting
older ones.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-trident/-/merge_requests/8 >
2024-05-14 16:16:23 +02:00
Enrico Weigelt, metux IT consult
9af42a03df
use XNFrealloc() instead of xnfrealloc
...
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 >
2024-05-10 11:40:54 +02:00
Enrico Weigelt, metux IT consult
aea97a2758
use XNFcallocarray() instead of xnfcalloc macro
...
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 >
2024-05-08 17:01:19 +02:00
Enrico Weigelt, metux IT consult
1b03d9e1d1
use XNFalloc() instead of xnfalloc
...
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-05-08 13:18:04 +02:00
Alan Coopersmith
a1d33167b9
Quiet -Wmisleading-indentation warning in trident_dac.c
...
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-17 11:07:05 -08:00
Alan Coopersmith
19356956a1
Quiet -Wredundant-decls from xorg/os.h fallbacks for new libc functions
...
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-17 11:07:05 -08:00
Alan Coopersmith
957218632f
Add X.Org's standard C warning flags to AM_CFLAGS
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2024-01-15 15:01:12 -08:00
Alan Coopersmith
dc837b2075
configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
...
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 >
2024-01-15 14:58:29 -08:00
Alan Coopersmith
774fef5a26
gitlab CI: ensure libtool is installed in build container
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2023-10-07 08:55:17 -07:00
Alan Coopersmith
ec567fe86a
xf86-video-trident 1.4.0
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
xf86-video-trident-1.4.0
2023-02-13 14:59:29 -08:00
Alan Coopersmith
e993eebd1f
Fix 96 out of 102 -Wdiscarded-qualifiers warnings
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2022-12-09 11:34:53 -08:00
Alan Coopersmith
bf78cb5118
blade_exa: Fix -Wimplicit-fallthrough warning
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2022-12-09 11:32:24 -08:00
Alan Coopersmith
819ce9b5df
gitlab CI: stop requiring Signed-off-by in commits
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2022-12-09 11:27:01 -08:00
Alan Coopersmith
c2f3f85426
Update trident_pci_rename.h to pci_rename.h in src/Makefile.am
...
Makefile was missed when header was renamed. Fixes "make distcheck".
Fixes: cc33df89bc
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2022-01-29 15:25:10 -08:00
Alan Coopersmith
077335e9b1
gitlab CI: add a basic build test
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2022-01-29 15:18:10 -08:00
Alan Coopersmith
12dc7dac8d
Fix spelling/wording issues
...
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2022-01-29 15:17:16 -08:00
Alan Coopersmith
591dae19fb
Build xz tarballs instead of bzip2
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2022-01-29 15:15:43 -08:00
Fabrice Fontaine
07a5c4732f
Remove ramdac
...
ramdac drivers have been removed from xserver since version 21.0.99.1
and
f0385fb420
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 >
2021-12-07 22:36:18 +01:00
Kevin Brace
cc33df89bc
Rename trident_pci_rename.h to pci_rename.h
...
PCI rename header file appears to be generic, so trident_ prefix
should be dropped.
Signed-off-by: Kevin Brace <kevinbrace@gmx.com >
2019-05-10 20:02:11 -07:00
Kevin Brace
b0b1c79aa9
Rename tridentpcirename.h to trident_pci_rename.h
...
Signed-off-by: Kevin Brace <kevinbrace@gmx.com >
2019-05-10 19:44:54 -07:00
Kevin Brace
2da7345960
A minor adjustment to src/Makefile.am
...
Signed-off-by: Kevin Brace <kevinbrace@gmx.com >
2019-05-10 19:42:54 -07:00
Kevin Brace
5f110dc4c1
Move IsClearTV function location inside trident_pll.c
...
Signed-off-by: Kevin Brace <kevinbrace@gmx.com >
2019-05-10 19:39:45 -07:00
Kevin Brace
b34e8641c6
Add braces to two for loops that lack them
...
Signed-off-by: Kevin Brace <kevinbrace@gmx.com >
2019-05-10 19:30:56 -07:00