Enrico Weigelt, metux IT consult
04752db35c
drop #ifdef RANDR_12_INTERFACE
...
All (non-ancient) Xservers have it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-12 19:03:56 +01:00
Enrico Weigelt, metux IT consult
f49ccb20cb
replace obsolete "pointer" typedef by plain void*
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-05 20:07:45 +01:00
Enrico Weigelt, metux IT consult
f73503f839
drop obsolete compat macros
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-02 16:34:17 +01:00
Enrico Weigelt, metux IT consult
03f32cff93
.github: add NetBSD build
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-30 10:39:44 +01:00
Enrico Weigelt, metux IT consult
c736320d71
configure.ac: drop obsolete and broken byteswap macros / including bytesswap.h
...
These macros conflicting the Xserver SDK's inline functions, thus breaking
NetBSD build - and aren't needed, since Xserver SDK already providing them.
We actually only need byteswap_32().
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-30 10:39:44 +01:00
Enrico Weigelt, metux IT consult
a95edf3c0d
.github: add freebsd and dragonfly build
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-28 16:47:30 +01:00
Enrico Weigelt, metux IT consult
36a0fae672
.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:25:25 +01:00
Enrico Weigelt, metux IT consult
f14b9aefa1
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:14:51 +01:00
Enrico Weigelt, metux IT consult
400851e228
release 25.0.0
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
xlibre-xf86-video-r128-25.0.0
2025-12-18 18:57:30 +01:00
Enrico Weigelt, metux IT consult
1c1f95edf9
configure.ac: formatting cleanup
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-18 18:57:09 +01:00
Enrico Weigelt, metux IT consult
562c6899cd
configure.ac: tiny formatting cleanup
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-18 17:30:44 +01:00
Enrico Weigelt, metux IT consult
1b33cf906a
drop hacks for ancient pre-libpciaccess Xservers
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-18 15:51:46 +01:00
Enrico Weigelt, metux IT consult
55a648d744
configure.ac: replace DRIVER_NAME symbol by actual name
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-18 13:26:41 +01:00
Enrico Weigelt, metux IT consult
b75a79d6b3
drop support for ancient pre-7.1 xextproto
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-18 12:05:30 +01:00
Enrico Weigelt, metux IT consult
924457590d
drop obsolete .gitlab-ci.yml
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-18 11:54:47 +01:00
Enrico Weigelt, metux IT consult
39f4034536
drop obsolete #ifdef HAVE_CONFIG_H
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-17 20:38:54 +01:00
Enrico Weigelt, metux IT consult
1f4da46055
release 6.13.1
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
xlibre-xf86-video-r128-6.13.1
2025-12-16 15:25:56 +01:00
Enrico Weigelt, metux IT consult
7e4952a6c0
README: fix URLs
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-16 12:09:30 +01:00
Enrico Weigelt, metux IT consult
3104cb419b
configure.ac: fix package name and issue tracker URL
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-15 19:12:04 +01:00
Alan Coopersmith
a0db273639
R128SetupConnectors: avoid memory leak in error path
...
Reported by Oracle Parfait 16.2 static analyzer:
Error: Memory leak
Memory leak [memory-leak]:
Memory leak of pointer r128_output allocated with XNFcallocarray(1, 56)
at line 558 of driver/xf86-video-r128/src/r128_output.c in function 'R128SetupConnectors'.
calloc called at line 35 of xserver/os/alloc.c in function 'XNFcallocarray'
Allocated value returned to caller at line 39
r128_output allocated at line 543 of driver/xf86-video-r128/src/r128_output.c in function 'R128SetupConnectors' with XNFcallocarray(1, 56)
r128_output leaks when output == NULL at line 558
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/merge_requests/20 >
2025-12-15 17:46:38 +01:00
Alan Coopersmith
b7f5ef0c68
Strip trailing whitespace from source files
...
Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'`
`git diff -w` & `git diff -b` show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/merge_requests/19 >
2025-12-15 17:46:31 +01:00
q66
19edee8704
Fix segfault from trying to access nonexistent VGA BIOS ROM on non-x86 platforms
...
On non-x86 platforms such as PowerPC Macs with r128 chipsets, the VGA BIOS ROM doesn't exist, and the driver
segfaults when trying to access it. Fix this by only accessing the VGA BIOS on x86/x86_64.
Signed-off-by: Avraham Hollander <anhollander516@gmail.com >
xlibre-xf86-video-r128-6.13.0.3
2025-08-28 12:38:55 -04:00
b-aaz
71a1011ca6
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-r128-6.13.0.2
2025-07-29 18:47:15 +02:00
Enrico Weigelt, metux IT consult
ef11b52501
.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-28 20:30:45 +02:00
callmetango
fa3b86ced1
.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 17:04:52 +02:00
Alan Coopersmith
09c736ee70
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-r128/-/merge_requests/17 >
xlibre-xf86-video-r128-6.13.0.1
2025-06-01 14:43:27 -07:00
Enrico Weigelt, metux IT consult
bc21fcdffa
use dixDestroyPixmap() instead of direct driver call
...
Direct calls to ScreenRec->DestroyPixmap() blocks cleaning up the wrapping
jungle, so use the proper dix function instead.
See: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1754
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/merge_requests/15 >
2025-02-06 22:58:01 +00:00
Alan Coopersmith
6228d9a88c
xf86-video-r128 6.13.0
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
xf86-video-r128-6.13.0
2024-10-12 13:05:44 -07:00
Alan Coopersmith
1248506f18
configure: update link to use gitlab instead of anongit
...
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/merge_requests/14 >
2024-09-29 17:28:54 -07:00
Alan Coopersmith
0ee4ec6947
Move sizeof to second argument in calloc calls
...
Clears -Wcalloc-transposed-args warnings from gcc 14.1, such as:
r128_dri.c: In function ‘R128DRIScreenInit’:
r128_dri.c:822:48: warning: ‘calloc’ sizes specified with ‘sizeof’ in the
earlier argument and not in the later argument [-Wcalloc-transposed-args]
822 | if (!(pR128DRI = (R128DRIPtr)calloc(sizeof(R128DRIRec),1))) {
| ^~~~~~~~~~
r128_dri.c:822:48: note: earlier argument should specify number of elements,
later size of each element
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/merge_requests/13 >
2024-07-14 13:32:15 -07:00
Enrico Weigelt, metux IT consult
7713ca6730
drop support for ancient xserver versions
...
We're now relying on at least 1.18
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/merge_requests/11 >
2024-06-10 11:31:59 +02:00
Enrico Weigelt, metux IT consult
25c645b9e5
fix FTBS on debian: missing statement after label
...
Compilers on recent Debian (gcc as well as clang) break compilation if
there's no statement after a label:
> ../../src/r128_driver.c:571:1: error: expected statement
> }
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/merge_requests/12 >
2024-06-06 14:47:55 +02:00
Alan Coopersmith
38959ab716
Raise minimum supported Xserver version to 1.18 (ABI_VIDEODRV_VERSION 20.0)
...
Already effectively required by use of XNFcallocarray() introduced in
xorg/xserver@b96dc999 - xserver-1.18.0, released in Nov. 2015.
Allows dropping remnants of code for XAA and pre-pciaccess X servers
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/merge_requests/10 >
2024-05-14 18:51:13 -07:00
Alan Coopersmith
025a91ee0c
R128ScreenInit: fix indentation
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/merge_requests/10 >
2024-05-14 18:38:15 -07:00
Enrico Weigelt, metux IT consult
965d321ac7
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-r128/-/merge_requests/8 >
2024-05-12 17:03:49 +00:00
nia
f753d699fd
backlight control and console detection for wsdisplay systems
...
based on a patch by Michael Lorenz.
Signed-off-by: Nia Alarie <nia@NetBSD.org >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/merge_requests/7 >
2024-05-06 01:26:31 +02:00
nia
09ca76bf1d
don't assume VGA output on non-x86
...
Patch adapted from work by Michael Lorenz.
Signed-off-by: Nia Alarie <nia@NetBSD.org >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/merge_requests/7 >
2024-05-06 00:05:27 +02:00
nia
c0e1c348a9
Alternative non-BIOS method to determine the panel size for NetBSD
...
With this we no longer need to specify PanelWidth and PanelHeight in
xorg.conf on non-x86 platforms.
Patch adapted from work by Michael Lorenz.
Signed-off-by: Nia Alarie <nia@NetBSD.org >
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/merge_requests/7 >
2024-05-06 00:04:52 +02:00
Alan Coopersmith
abb15a335a
Fix 9 -Wmissing-prototypes warnings
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2024-01-08 15:11:00 -08:00
Alan Coopersmith
96a44413d2
Add X.Org's standard C warning flags to AM_CFLAGS
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2024-01-08 15:01:43 -08:00
Alan Coopersmith
d84143baf5
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-08 14:58:05 -08:00
Alan Coopersmith
9dc298ead7
gitlab CI: ensure libtool is installed in build container
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2023-10-01 11:09:47 -07:00
Alan Coopersmith
f0b2307d31
Remove "All rights reserved" from Oracle copyright notices
...
Oracle no longer includes this term in our copyright & license notices.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2023-02-25 09:13:47 -08:00
Alan Coopersmith
24cf717079
xf86-video-r128 6.12.1
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
xf86-video-r128-6.12.1
2022-12-04 13:05:03 -08:00
Niveditha Rau
01a5ffffd0
Mark DriverRec exported in r128_probe.h to match r128_probe.c
...
Fixes build failure when compiling with Solaris Studio compiler
using -xldscope=hidden:
"r128_probe.c", line 359: redeclaration must have the same or more
restrictive linker scoping: R128
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2022-11-07 17:22:00 -08:00
Alan Coopersmith
e9cf08f26c
R128RAMRec: constify name pointer
...
Clears 4 gcc warnings:
r128_driver.c:178:36: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
{ 4, 4, 3, 3, 1, 3, 1, 16, 12, "128-bit SDR SGRAM 1:1" },
^~~~~~~~~~~~~~~~~~~~~~~
r128_driver.c:179:36: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
{ 4, 8, 3, 3, 1, 3, 1, 17, 13, "64-bit SDR SGRAM 1:1" },
^~~~~~~~~~~~~~~~~~~~~~
r128_driver.c:180:36: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
{ 4, 4, 1, 2, 1, 2, 1, 16, 12, "64-bit SDR SGRAM 2:1" },
^~~~~~~~~~~~~~~~~~~~~~
r128_driver.c:181:36: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
{ 4, 4, 3, 3, 2, 3, 1, 16, 12, "64-bit DDR SGRAM" },
^~~~~~~~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2022-10-17 11:13:00 -07:00
Alan Coopersmith
3142544e8d
gitlab CI: stop requiring Signed-off-by in commits
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2022-10-17 11:00:43 -07:00
Alan Coopersmith
7b0941d121
gitlab CI: add a basic build test
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2022-01-27 17:12:07 -08:00
Alan Coopersmith
b5529f9602
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-27 17:09:09 -08:00
Alan Coopersmith
097c8e4f91
Build xz tarballs instead of bzip2
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2022-01-27 17:07:12 -08:00