Commit Graph

22070 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
fb740b9aee xfree86: drivers: geode: add the driver to the build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:46 +01:00
Enrico Weigelt, metux IT consult
d485295be6 xfree86: drivers: geode: call GXRandRSetConfig() directly
No need to do funny linker tricks to call GXRandRSetConfig() via
dynamically resolved symbols. We can call it directly.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:46 +01:00
Enrico Weigelt, metux IT consult
929f396b0d xfree86: drivers: geode: define versions directly
Since we're in-tree now, we don't have the autoconf-generated symbols
PACKAGE_VERSION_* anymore, so define them directly. The driver's version
number became pretty meaningless now anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:46 +01:00
Enrico Weigelt, metux IT consult
47e8a430ca xfree86: drivers: geode: drop XFree86Loader
Since we're in-tree now, we always have the xf86 loader.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:46 +01:00
Enrico Weigelt, metux IT consult
43c9d40c61 xfree86: drivers: geode: use void* instead pointer
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:46 +01:00
Enrico Weigelt, metux IT consult
c02113b066 xfree86: drivers: geode: drop guard on HAVE_XEXTPROTO_71
We always have xorg-proto >= 7.1

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:46 +01:00
Enrico Weigelt, metux IT consult
4e7e3fcce9 xfree86: drivers: geode: use xorg-config.h
Since we're in-tree now, we have to use dix-config.h instead of config.h

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:46 +01:00
Enrico Weigelt, metux IT consult
12a868817c xfree86: drivers: dummy: copy over xf86-video-geode tree
Since this driver doesn't receive much functional changes, except fixups
for server ABI changes, it's a good candidate to move it back into the
main Xserver tree.

As the first step to move back this driver into the Xserver tree,
copy over the source from last release tag. Skipped files we don't need
here (eg. gitlab pipeline, automake files, ...)

repo: git@github.com:X11Libre/xf86-video-geode.git
git tag: xlibre-xf86-video-geode-2.18.1.1

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:46 +01:00
Enrico Weigelt, metux IT consult
1c09dbff36 xfree86: drivers: fbdev: add the driver to the build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:46 +01:00
Enrico Weigelt, metux IT consult
2ac4d5e003 xfree86: drivers: fbdev: copy over xf86-video-fbdev tree
Since this driver doesn't receive much functional changes, except fixups
for server ABI changes, it's a good candidate to move it back into the
main Xserver tree.

As the first step to move back this driver into the Xserver tree,
copy over the source from last release tag. Skipped files we don't need
here (eg. gitlab pipeline, automake files, ...)

repo: git@github.com:X11Libre/xf86-video-fbdev.git
git tag: xlibre-xf86-video-fbdev-0.5.1.1

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:46 +01:00
Enrico Weigelt, metux IT consult
2b086341d9 xfree86: drivers: dummy: add the driver to the build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:46 +01:00
Enrico Weigelt, metux IT consult
e84c16cd30 xfree86: drivers: dummy: copy over xf86-video-dummy tree
Since this driver doesn't receive much functional changes, except fixups
for server ABI changes, it's a good candidate to move it back into the
main Xserver tree.

As the first step to move back this driver into the Xserver tree,
copy over the source from last release tag. Skipped files we don't need
here (eg. gitlab pipeline, automake files, ...)

repo: git@github.com:X11Libre/xf86-video-dummy.git
git tag: xlibre-xf86-video-dummy-0.4.1.1

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:46 +01:00
Enrico Weigelt, metux IT consult
9489b3f133 xfree86: drivers: cirrus: add the driver to the build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:46 +01:00
Enrico Weigelt, metux IT consult
f8a7c34953 xfree86: drivers: cirrus: copy over xf86-video-cirrus tree
Since this driver doesn't receive much functional changes, except fixups
for server ABI changes, it's a good candidate to move it back into the
main Xserver tree.

As the first step to move back this driver into the Xserver tree,
copy over the source from last release tag. Skipped files we don't need
here (eg. gitlab pipeline, automake files, ...)

repo: git@github.com:X11Libre/xf86-video-cirrus.git
git tag: xlibre-xf86-video-cirrus-1.6.0.1

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:46 +01:00
Enrico Weigelt, metux IT consult
9f03501c8f xfree86: drivers: fix uninitialized variables
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:46 +01:00
Enrico Weigelt, metux IT consult
1051dd341b xfree86: drivers: chips: drop some unused variables
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:45 +01:00
Enrico Weigelt, metux IT consult
bb7879d031 xfree86: drivers: chips: add the driver to the build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:45 +01:00
Enrico Weigelt, metux IT consult
fd8b7b6afc xfree86: drivers: chips: copy over xf86-video-chips tree
Since this driver doesn't receive much functional changes, except fixups
for server ABI changes, it's a good candidate to move it back into the
main Xserver tree.

As the first step to move back this driver into the Xserver tree,
copy over the source from last release tag. Skipped files we don't need
here (eg. gitlab pipeline, automake files, ...)

repo: git@github.com:X11Libre/xf86-video-chips.git
git tag: xlibre-xf86-video-chips-1.5.0.1

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:45 +01:00
Enrico Weigelt, metux IT consult
172c273f79 xfree86: drivers: ast: drop unused variables
Fix some warnings about unused variables.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:45 +01:00
Enrico Weigelt, metux IT consult
e55823bab4 xfree86: drivers: ast: drop unused MMCTestSingle2_AST2150()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:45 +01:00
Enrico Weigelt, metux IT consult
9fbe3df07b xfree86: drivers: ast: drop some unused variables
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:45 +01:00
Enrico Weigelt, metux IT consult
5f461657d5 xfree86: drivers: ast: fix missing struct initialization
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:45 +01:00
Enrico Weigelt, metux IT consult
7cf750de44 xfree86: drivers: ast: add the driver to the build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:45 +01:00
Enrico Weigelt, metux IT consult
b582e614f0 xfree86: drivers: ast: copy over xf86-video-ast tree
Since this driver doesn't receive much functional changes, except fixups
for server ABI changes, it's a good candidate to move it back into the
main Xserver tree.

As the first step to move back this driver into the Xserver tree,
copy over the source from last release tag. Skipped files we don't need
here (eg. gitlab pipeline, automake files, ...)

repo: git@github.com:X11Libre/xf86-video-ast.git
git tag: xlibre-xf86-video-ast-1.2.0

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:45 +01:00
Enrico Weigelt, metux IT consult
a361f6cfa8 xfree86: drivers: ark: add the driver to the build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:45 +01:00
Enrico Weigelt, metux IT consult
8f656b4f68 xfree86: drivers: ark: copy over xf86-video-ark tree
Since this driver doesn't receive much functional changes, except fixups
for server ABI changes, it's a good candidate to move it back into the
main Xserver tree.

As the first step to move back this driver into the Xserver tree,
copy over the source from last release tag. Skipped files we don't need
here (eg. gitlab pipeline, automake files, ...)

repo: git@github.com:X11Libre/xf86-video-ark.git
git tag: xfree-xf86-video-ark-0.7.6.1

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:45 +01:00
Enrico Weigelt, metux IT consult
235c04e0fc xfree86: drivers: apm: fix const warning
The `mod` field is only assigned a literal (readonly data), so needs
to be const.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:45 +01:00
Enrico Weigelt, metux IT consult
1eaa6556ec xfree86: drivers: apm: add the driver to the build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:45 +01:00
Enrico Weigelt, metux IT consult
0a5c649bbe xfree86: drivers: apm: copy over xf86-video-apm tree
Since this driver doesn't receive much functional changes, except fixups
for server ABI changes, it's a good candidate to move it back into the
main Xserver tree.

As the first step to move back this driver into the Xserver tree,
copy over the source from last release tag. Skipped files we don't need
here (eg. gitlab pipeline, automake files, ...). apm_video.c and apm_funcs.c
also have been left out, since they were never compiled in the original.

repo: git@github.com:X11Libre/xf86-video-apm.git
git tag: xfree-xf86-video-ark-0.7.6.1

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:45 +01:00
Enrico Weigelt, metux IT consult
805dec1661 include: drop obsolete hotplug.h
Nobody's including it anymore, so no need to keep it around any longer.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:37:03 +01:00
Enrico Weigelt, metux IT consult
bde7f54a40 xkb: drop special generation magic on atom initialization
dixAddAtom() is safe to call multiple times with same name,
always return the corresponding XID, no matter whether the
atom just been newly created or already existed.

Thus, there's no need for special server generation treatment here.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:29 +01:00
Enrico Weigelt, metux IT consult
f161a014f1 os: xdmcp: drop server reset support
Not needed anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:36:04 +01:00
Enrico Weigelt, metux IT consult
062a930f3c kdrive: drop obsolete support for internal server reset
Not used anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:35:50 +01:00
Enrico Weigelt, metux IT consult
8c93d4e97e .github: build the xf86-video-geode driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:35:06 +01:00
Enrico Weigelt, metux IT consult
26cc922cd3 .github: build the xf86-video-apm driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 16:03:40 +01:00
Enrico Weigelt, metux IT consult
99a9a67788 .github: also build dummy driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 14:19:12 +01:00
Enrico Weigelt, metux IT consult
1749a8bdfd config: unexport config_init() and config_fini()
Those aren't used by any drivers, so no need to keep them public.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 14:11:27 +01:00
Enrico Weigelt, metux IT consult
064e5f2ddf os: drop OsCleanup()
Since we're always terminating now, everbody can call UnlockServer()
directly, so we don't need that extra function anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-20 11:19:02 +01:00
Enrico Weigelt, metux IT consult
1ae9646936 pseudoramiX: unexport noPseudoramiXExtension
Not used by any driver (not even by xf86 at all), so no need to
keep it exported. Also disposing the now empty nonsdk_extinit.h,
which also isn't used by any drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-19 13:32:31 +01:00
Enrico Weigelt, metux IT consult
25d99353ee xkb: unexport XkbGetCoreMap() and XkbSetRepeatKeys()
Not needed by external drivers, so no need to keep them public.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-19 13:32:12 +01:00
Enrico Weigelt, metux IT consult
c06805b93a include: move ScreenSaverStuffPtr into scrnintstr.h
ScreenSaverStuffRec is defined in scrnintstr.h, and users of
ScreenSaverStuffPtr already including it, so let's move also this
typedef there.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-19 13:30:48 +01:00
Enrico Weigelt, metux IT consult
a0dff9e681 render: replace ProcRenderVector[] by trivial switch/case
Not that the entries cannot change anymore, there's no need for having
a separate call table anymore - simply use switch/case.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-19 13:29:35 +01:00
Enrico Weigelt, metux IT consult
dda346463e fb: wfbrename: drop unused symbol fbGeneration
Just fallout from mfb removal back 17 years ago.

See: f31bd087e8
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-19 13:28:54 +01:00
Enrico Weigelt, metux IT consult
f27e12c918 dix: drop DE_RESET and associated cmdline args
Drop the -reset flag, so Xserver now either simply continues (w/o going
through internal reset) when last client disconnected or terminates
when -terminate is given.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-18 18:22:25 +01:00
Marc-Alexandre Espiaut
45ff802682 dix: _colormap_find_resource(): fix -Wunused-parameter warning
Signed-off-by: Marc-Alexandre Espiaut <76531574+malespiaut@users.noreply.github.com>
2025-11-18 13:30:32 +01:00
Marc-Alexandre Espiaut
0588be6d1e dix: FreeClientPixels(): fix -Wunused-parameter warning
Signed-off-by: Marc-Alexandre Espiaut <76531574+malespiaut@users.noreply.github.com>
2025-11-18 13:30:32 +01:00
Chase
fcbb2bafce treewide: replace __FUNCTION__ by __func__
prefer C99 standard over non-standard legacy symbols

Signed-off-by: Chase <chinkle3@illinois.edu>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-18 13:29:47 +01:00
stefan11111
434331e129 modesetting: Split chosing gbm format into drmmode_gbm_format_for_depth
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-11-17 18:55:20 +01:00
stefan11111
68e3e9fcb1 modesetting: rename drmmode_bo_has_bo to drmmode_bo_get_bo
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-11-17 18:55:20 +01:00
stefan11111
db77a579c6 modesetting: don't return a value from drmmode_bo_destroy
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-11-17 18:55:20 +01:00