470 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
1a86b96630 drop obsolete compat-api.h
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-31 13:49:47 +01:00
Enrico Weigelt, metux IT consult
b92a6f6344 replace BLOCKHANDLER_ARGS and BLOCKHANDLER_ARGS_DECL
no need for compat with ancient Xserver versions anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-31 13:48:43 +01:00
Enrico Weigelt, metux IT consult
9bda8e557c configure.ac: drop obsolete AM_MAINTAINER_MODE
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-30 15:57:43 +01:00
Enrico Weigelt, metux IT consult
18673ceaa2 .github: add NetBSD build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-29 17:25:01 +01:00
Enrico Weigelt, metux IT consult
379f8335fd .github: add freebsd build
It won't compile on Dragonfly (64-bit only), because this driver is
32-bit only.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-28 15:15:49 +01:00
Enrico Weigelt, metux IT consult
7201cc61a4 .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-23 21:45:56 +01:00
Enrico Weigelt, metux IT consult
59e6af63cb 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:06:15 +01:00
Enrico Weigelt, metux IT consult
00fa8e0b98 release 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-geode-25.0.0
2025-12-18 19:10:46 +01:00
Enrico Weigelt, metux IT consult
4ac38d9d0c ddc: drop unused defines
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 16:26:02 +01:00
Enrico Weigelt, metux IT consult
b634a216e9 drop obsolete #ifdef XFree86LOADER
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 13:43:49 +01:00
Enrico Weigelt, metux IT consult
f3280fde1e drop obsolete #ifdef HAVE_CONFIG_H
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-17 19:43:23 +01:00
Enrico Weigelt, metux IT consult
49d0eb1801 README: fix URLs
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 13:59:02 +01:00
Enrico Weigelt, metux IT consult
4002351d36 release 2.18.2
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-geode-2.18.2
2025-12-15 16:27:03 +01:00
Enrico Weigelt, metux IT consult
f099bf71df drop obsolete .gitlab-ci.yml
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 16:19:23 +01:00
Enrico Weigelt, metux IT consult
f446228740 update README 2025-12-15 16:18:13 +01:00
Enrico Weigelt, metux IT consult
504694f675 drop support for ancient pre-pciaccess xservers
The Xserver's PCI handling as long moved to libpciaccess decades ago.
Cleanup up those code pathes which were only meant for really ancient
xserver versions that we really don't support anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 16:03:11 +01:00
Enrico Weigelt, metux IT consult
57fd3be83f configure.ac: drop hacks for xextproto <= 7.1
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 15:55:27 +01:00
Enrico Weigelt, metux IT consult
34924a58de configure.ac: little formatting cleanup
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 15:53:33 +01:00
Enrico Weigelt, metux IT consult
e5ad71db48 configure.ac: fix package name and issue tracker URL
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 15:49:55 +01:00
Enrico Weigelt, metux IT consult
6824679ba1 drop including <opaque.h>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-geode-2.18.1.3
2025-11-20 15:00:12 +01:00
b-aaz
e7bf065a45 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-geode-2.18.1.2
2025-07-25 19:21:06 +02:00
Enrico Weigelt, metux IT consult
9937fb3d63 .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-25 19:20:47 +02:00
callmetango
4cc1774bc1 .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:05:24 +02:00
Martin-Éric Racine
e81b88abf4 README: fix typo for the Debian dependency command line. xlibre-xf86-video-geode-2.18.1.1 2025-06-20 17:46:08 +02:00
Enrico Weigelt, metux IT consult
7d06dc4328 gitlab CI: add pipeline for building against various Xserver releases
Adding a gitlab pipeline building this driver against Xserver major releases
since 1.18, including current master branch, on Debian as well as FreeBSD.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-03-07 15:07:17 +01:00
Enrico Weigelt, metux IT consult
e5ae123156 gitlab CI: common scripts for driver builds
Adding a bunch of common scripts for building xorg drivers on different
platforms (for now Debian and FreeBSD) against different server versions.

Also designed to be executed locally (eg. within a VM), so one doesn't
always have to employ f.d.o gitlab.

For now, these are synced manually across various driver repos, until we've
found a viable solution for a central place.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-03-07 15:07:14 +01:00
Martin-Éric Racine
a409dc6572 Geode 2.18.1
This release is the result of an extensive code cleanup by
Connor Behan and Enrico Weigelt. Most noticable changes:

* The supported Xserver version is bumped to 1.18.x minimum.
* The GX component no longer supports XAA. Only EXA remains.
* The LX component now uses the default Xserver pixel depth.

VALIDATION PLATFORMS
 * Debian (Xserver 1.18.4) on ARTEC DBE61 (Geode LX700).
 * Debian (Xserver 1.18.4) on FIC ION603A (Geode LX800).
 * Debian (Xserver 21.1.7) on FIC ION603A (Geode LX800).

Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
xf86-video-geode-2.18.1
2025-03-01 17:07:43 +02:00
Martin-Éric Racine
dd5f7fb2a4 Revert configure.ac bump for a minute.
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2025-03-01 17:05:00 +02:00
Martin-Éric Racine
6b2938ddfd Finalize NEWS and README for release.
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2025-03-01 16:47:45 +02:00
Martin-Éric Racine
187aadd26a NEWS: Fix release date for 2.18.1 to match the one in README.
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2025-02-19 20:31:28 +02:00
Martin-Éric Racine
ecd5bc4eae Update README to reflect XAA removal from GX component.
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2025-02-18 09:00:48 +02:00
Enrico Weigelt, metux IT consult
520cae6217 cim: cim_df: drop ununsed variable vsyncstart
Fix compiler warning:

> ../src/cim/cim_df.c:1708:37: warning: variable 'vsyncstart' set but not used [-Wunused-but-set-variable]
>  1708 |     unsigned long vsyncend, vtotal, vsyncstart;
>       |                                     ^~~~~~~~~~

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-02-12 05:51:03 +00:00
Enrico Weigelt, metux IT consult
89ecfe8cf4 ifdef-protecct duplicate FOURCC_RGB565 and XVIMAGE_RGB565
These are already defined in the xserver headers, but only in
newer versions.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-02-12 05:46:39 +00:00
Connor Behan
f33c0d07f3 Comment unused variable
A few other variables are unused but they are setting using register
reads so I am afraid to touch them.

Signed-off-by: Connor Behan <connor.behan@gmail.com>
2024-11-18 19:08:20 -03:00
Connor Behan
ca65baf6f0 Initialize MSR values
This is the result of a simple sed command.

Signed-off-by: Connor Behan <connor.behan@gmail.com>
2024-11-18 19:00:14 -03:00
Martin-Éric Racine
1a81b5e4e3 Run ../modular/x-indent-all.sh inside this driver's tree.
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2024-10-13 11:27:06 +03:00
Enrico Weigelt, metux IT consult
eb15e41211 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>
2024-10-11 22:22:11 +00:00
Enrico Weigelt, metux IT consult
8efe8313e4 fix FTBS on 64bit Linux
On 64bit the long int type is 64 bit, but the MSR operations still
are 32bit, thus we need to use uint32_t. Also need slighty modified
versions of the inline asm code, since on 64bit machines, the 32bit
(pseudo-)registers can't be used on push/pop.

This patch is mostly for CI purpose, since there isn't any known version
of this graphics device on a 64 bit machine.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2024-10-11 09:02:37 +00:00
Connor Behan
e006c8ca51 Avoid pitfalls from users who try to enable XAA
In addition to removing some more dead code, this warns the user that
OSMImageBuffers now does nothing. The similar option OSMColorExpBuffers
is still used by EXA so there is no warning for this.

Signed-off-by: Connor Behan <connor.behan@gmail.com>
2024-09-17 05:32:38 +00:00
Connor Behan
48db476dd2 Rename gx_accel.c to gx_exa.c
With XAA gone, we can rename this to match what is there for LX.

Signed-off-by: Connor Behan <connor.behan@gmail.com>
2024-09-17 05:32:38 +00:00
Connor Behan
9318797494 Add option to avoid building GX support
One of the checks for HAVE_GX appeared to be in the wrong place. Once it
is in the right place, a configure option can be used to not set HAVE_GX
and avoid compiling the associated files.

Signed-off-by: Connor Behan <connor.behan@gmail.com>
2024-09-17 05:32:38 +00:00
Connor Behan
72915687d3 Remove dead XAA code
When the minimum Xserver version was recently bumped to 1.18, the
ability to enable XAA was removed accordingly. But plenty of XAA hooks
were left in. Removing these will lighten the code and get rid of some
more compiler warnings.

Signed-off-by: Connor Behan <connor.behan@gmail.com>
2024-09-17 05:32:38 +00:00
Alan Coopersmith
069fb9cc1c README: update anongit URL to use gitlab instead
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-geode/-/merge_requests/11>
2024-09-07 12:58:40 -07:00
Connor Behan
7047b6da26 Remove deprecated function and includes
Long ago, xf86_reload_cursors() was turned into a noop. And we were not
using anything specific from xf86PciInfo.h.

Signed-off-by: Connor Behan <connor.behan@gmail.com>
2024-06-25 13:39:48 +03:00
Martin-Éric Racine
8d188104b7 Update NEWS to reflect the extensive GX component cleanup.
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2024-06-25 11:11:44 +03:00
Connor Behan
c1a96d05ef Fix exaOffscreenFree call 2024-06-24 21:06:16 +03:00
Martin-Éric Racine
fc81b029c9 [LX] Make xf86SetDepthBpp use the Xserver defaults.
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2024-06-24 19:44:50 +03:00
Connor Behan
224f565dec Suppress majority of compiler warnings
This applies some obvious changes to stop gcc from complaining about
dead code, shadow declarations, differing signedness and sections that
mix declarations with code.

The warning about discarding const qualifiers is more annoying because
we pass string literals to some functions which accept non-const
pointers. Currently, this takes the following approach. If the function
*needs* to accept non-const pointers, cast the string literal as char *.
Otherwise, change the function to only accept a const pointer. To
anticipate future use cases though, I could also leave function
definitions as they are and just always cast string literals.
Alternatively, if this is more trouble that it is worth, we could just
put up with the warnings.

Signed-off-by: Connor Behan <connor.behan@gmail.com>
2024-06-24 19:42:15 +03:00
Martin-Éric Racine
9fbd276f1d Remove all deprecated xf86PciInfo.h includes.
We have PCI_VENDOR_ID and PCI_CHIP defined in geode.h.

Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2024-06-24 10:43:22 +03:00
Martin-Éric Racine
eb79135ab2 [LX] Bump the default pixel depth up to 24-bit.
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2024-06-23 13:02:54 +03:00