Commit Graph

10135 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
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
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
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
stefan11111
49c9aaac82 modesetting: Move the compatibility GBM_BO_USE_FRONT_RENDERING define to the top of the file
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-11-17 18:55:20 +01:00
Chase
e0481acb79 xf86Crtc.c: fix formatting 2025-11-17 18:53:47 +01:00
Chase
ba33b36f7a xnest icons: const correctness 2025-11-17 12:53:09 +01:00
stefan11111
8bb2fc9d76 modesetting: Create the front buffer with GBM_BO_USE_FRONT_RENDERING
Also renamed `drmmode_create_bo` to `drmmode_create_front_bo`,
better reflecting how it is used.

According to the mesa docs: https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/gbm/main/gbm.h :
```
   /**
    * The buffer will be used for front buffer rendering.  On some
    * platforms this may (for example) disable framebuffer compression
    * to avoid problems with compression flags data being out of sync
    * with pixel data.
    */
   GBM_BO_USE_FRONT_RENDERING = (1 << 6),
```

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-11-10 11:08:59 +01:00
Enrico Weigelt, metux IT consult
1e62e5f417 xfree86: pci_ids: drop unused ifndef IRIS
This symbol was never defined. Just a fallout from copying over
this file from MESA.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-10 11:05:30 +01:00
stefan11111
53f1095118 modesetting: Fix leak when disabling hw cursor
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-11-10 10:31:55 +01:00
stefan11111
bd540a8f46 modesetting: don't probe size_hints if the cursor is already probed
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-11-10 10:28:00 +01:00
stefan11111
ed49ae8fe7 modesetting: clean up drmmode_crtc_create_planes
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-11-10 10:28:00 +01:00
stefan11111
e5df974aab modesetting: get the SIZE_HINTS cursor plane property in drmmode_crtc_create_planes
We were duplicating this code needlessly and in an error-prone way.

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-11-10 10:28:00 +01:00
Enrico Weigelt, metux IT consult
6bc92a5674 modesetting: replace tabs by whitespace
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-07 16:42:27 +01:00
stefan11111
516239c164 modesetting: Fix -Wunused-variable warnings
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-11-07 15:38:15 +01:00