Commit Graph

22119 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
38931e32b4 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
7e33b0d979 xfree86: drivers: chips: drop some unused variables
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
ac26ad739a xfree86: drivers: chips: add the driver to the build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
1d1e9f15c2 xfree86: drivers: chips: 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
ec1dd34c14 xfree86: drivers: chips: 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
3da744b94a xfree86: drivers: chips: change project name from Xorg to Xlibre
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
c0fde11db5 xfree86: drivers: chips: use void* instead pointer
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
5800047fb9 xfree86: drivers: chips: 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
9b82d32978 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
6ecbce5112 xfree86: drivers: ast: fix uninitialized variables
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
423b87e2aa 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
77a7bcfb38 xfree86: drivers: ast: drop unused MMCTestSingle2_AST2150()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
7979d7bc27 xfree86: drivers: ast: drop some unused variables
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
d91acc7f2d xfree86: drivers: ast: fix missing struct initialization
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
3939104272 xfree86: drivers: ast: add the driver to the build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
52c5ed941e xfree86: drivers: ast: 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
00b29d7e19 xfree86: drivers: ast: 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
4c977f65c6 xfree86: drivers: ast: use xorg-config.h
Since we're in-tree now, need to include xorg-config instead of config.h

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
de45d8b676 xfree86: drivers: ast: use void* instead pointer
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
53e77fbc8c 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
bfb842de7e xfree86: drivers: ark: add the driver to the build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
add975c588 xfree86: drivers: ark: 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
7174ac669a xfree86: drivers: ark: 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
b5a9748be7 xfree86: drivers: ark: use void* instead pointer
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
5e45c860eb xfree86: drivers: ark: 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
48a6234d5f 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
1829dbba12 xfree86: drivers: apm: add the driver to the build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
25adc62f0a xfree86: drivers: apm: 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
bbd4a54e39 xfree86: drivers: apm: 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
68b7669078 xfree86: drivers: apm: change project name from Xorg to Xlibre
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
d388f1f9b0 xfree86: drivers: apm: 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
2a8acb115f 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
a32b00bab3 xfree86: drivers: apm: 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-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
b545ea7d84 xfree86: drivers: apm: use void* instead pointer
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-26 17:12:59 +01:00
Enrico Weigelt, metux IT consult
cdf12d4c2e 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-26 17:12:59 +01:00
Herman Semenov
50037a450d Xext: remove excess dobule-check pointer (IsSystemCounter already have) 2025-11-26 16:47:14 +01:00
Herman Semenov
4689dfb21f mi: fix missing braces for expected logical condition 'if-else if'
Without missing braces, logical behavior 'if-else if' block works as two 'if' independent blocks.
2025-11-26 16:45:55 +01:00
stefan11111
5460be02c9 modesetting: read DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP when parsing async flip capabilities
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-11-26 10:53:36 +01:00
stefan11111
7b301ee278 modesetting: small formating changes and extra NULL checks
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-11-26 10:51:48 +01:00
Enrico Weigelt, metux IT consult
8039c2cbf1 dix: unexport SwapLongs()
Not used by any external drivers, so no need to keep it in public SDK.
Since it's used by internal modules, still needs to be _X_EXPORT'ed.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-25 18:26:02 +01:00
Tautvis
e00b4b55c8 os: utils.c ignore '-reset' and '-noreset' command line arguments
Certain display managers (for example SDDM) starts X server with
-noreset flag and it is not user configurable. This patch add code to
ignore -noreset and -reset command line arguments to prevent X server
crash due to unknown arguments.

Signed-off-by: Tautvis <gtautvis@gmail.com>
2025-11-22 13:25:52 +01:00
Oleh Nykyforchyn
77830f2284 modesetting: make DevPrivateKeyRec struct static
dixRegisterPrivateKey() assumes that DevPrivateKeyRec struct passed
to it is zero-filled before the first use, otherwise assert() fails.
Therefore these structs are usually static, which assures that they
are initialized to 0. A newly introduced key in the modesetting driver
was not static, and the driver crashed. This should be corrected.

Signed-off-by: Oleh Nykyforchyn <oleh.nyk@gmail.com>
2025-11-22 13:24:44 +01:00
Enrico Weigelt, metux IT consult
4aa6d3e4fd xfree86: loader: fix NULL warning on LogMessage() call
> ../hw/xfree86/loader/loadmod.c: In function ‘LoaderSetPath’:
> ../hw/xfree86/loader/loadmod.c:230:67: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
>   230 |         LogMessage(X_ERROR, "Failed to store module search path \"%s\" for module %s\n", path, driver);
>       |                                                                   ^~

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-21 15:20:27 +01:00
Mike Gelfand
0aea4cf3a7 xkb: move include guards up to wrap the whole file
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-11-21 15:20:11 +01:00
Mike Gelfand
fcf7fb1f42 xfixes: move include guards up to wrap the whole file
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-11-21 15:20:11 +01:00
Mike Gelfand
64e4ded9fb test: move include guards up to wrap the whole file
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-11-21 15:20:11 +01:00
Mike Gelfand
4b0c603f3d miext: move include guards up to wrap the whole file
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-11-21 15:20:11 +01:00
Mike Gelfand
770c21c947 mi: move include guards up to wrap the whole file
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-11-21 15:20:11 +01:00
Mike Gelfand
e47ef3c2bf include: move include guards up to wrap the whole file
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-11-21 15:20:11 +01:00
Mike Gelfand
84a2fc014d hw: move include guards up to wrap the whole file
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-11-21 15:20:11 +01:00