Commit Graph

22478 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
885339b2dd wip1 2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
1ad0feba7b WIP
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
402ee49c61 include: misc.h: unexport various bit/byte counting inline functions
Those aren't used by any external drivers, so no need to keep
them in public header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
403d98db05 dix: dixfonts: unexport functions not used by drivers
No need to keep functions exported that aren't needed by external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
a9e27cf240 [PR #796] xkb: ProcXkbGetKbdByName(): extra payload size sanity check
PR: https://github.com/X11Libre/xserver/pull/796
2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
9f034e9008 [PR #897] Xext: security: inline SProc*()'s
PR: https://github.com/X11Libre/xserver/pull/897
2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
bd2c862790 [PR #1063] dix: use xorg_list saveSet list
PR: https://github.com/X11Libre/xserver/pull/1063
2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
cd9416fb15 [PR #1213] Xext: xres: ProcXResQueryClientIds() use x_rpcbuf_t
PR: https://github.com/X11Libre/xserver/pull/1213
2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
2579fd0350 [PR #1358] dix: unexport defaultFontPath
PR: https://github.com/X11Libre/xserver/pull/1358
2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
438a9e638a [PR #1382] dix: move ReplyNotSwappd() out of public header
PR: https://github.com/X11Libre/xserver/pull/1382
2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
320b63bde0 [PR #1383] dix: unexport several extension related functions
PR: https://github.com/X11Libre/xserver/pull/1383
2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
a2a6a86a64 [PR #1387] dix: unexport DontPropagateMask and wDontPropagateMask() macro
PR: https://github.com/X11Libre/xserver/pull/1387
2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
d6a60317c7 [PR #1388] dix: unexport lastResourceType and TypeMask
PR: https://github.com/X11Libre/xserver/pull/1388
2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
3be6f6da6b [PR #1389] dix: unexport internal region helper functions
PR: https://github.com/X11Libre/xserver/pull/1389
2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
eff843407f WIP: move bgNoneRoot from opaque.h to dix.h 2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
a2200f0c82 [PR #1467] dix: unexport defaultColorVisualClass
PR: https://github.com/X11Libre/xserver/pull/1467
2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
c0b063f112 [PR #1469] render: picturestr.h: unexport functions not used by drivers
PR: https://github.com/X11Libre/xserver/pull/1469
2026-02-03 13:58:31 +01:00
Enrico Weigelt, metux IT consult
4642d6207f os: unexport SeatId and move it to dix settings
Not used by any external module/driver, so no need to keep it
public. Also move it to the new dix settings code and rename it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-03 11:34:14 +01:00
Enrico Weigelt, metux IT consult
569f6f936f kdrive: mode KD_* defines into kinput.c
Only locally used there, so no need to keep them in global header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-03 10:44:52 +01:00
Enrico Weigelt, metux IT consult
a550540f67 xfree86: ddc: add xf86Monitor_gtf_supported()
replacement for GTF_SUPPORTED() macro that's not a good API isolation
at all. Drivers should use that function instead for checking whether
the monitor supports GTF.

Should be backported to older releases, too - so drivers don't need
extra per-Xserver-version tweaks.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-02 19:32:38 +01:00
stefan11111
61aa2ede91 modesetting: Work around vm cursor pitch quirks
When running in a virtual machine, the cursor pitch
may not behave the same as it does on bare metal.

This patch disables a power consumption optimization
when running in a vm, working around the cursor pitch issues.

This means that some vm users who previously had a working
cursor pitch may now see some increased power consumption.

Fixes: https://github.com/X11Libre/xserver/issues/1816

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2026-02-02 11:12:41 +01:00
Enrico Weigelt, metux IT consult
4ee2a5e16a dix: inline SProcGrabButton()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:20:28 +01:00
stefan11111
3913c997a9 kdrive/ephyr: Fix typo when checking for EGL_KHR_platform_x11
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2026-01-31 16:16:31 +01:00
Enrico Weigelt, metux IT consult
28d930b16c dix: inline SProcQueryColor()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:16:19 +01:00
Enrico Weigelt, metux IT consult
3e4bb9a0d9 xfree86: exa: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
eb499ff4d5 xfree86: dri: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
0c3a471c4c xfree86: drivers: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
8ffab59ad2 xfree86: loader: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
f5eb6b6c57 xfree86: dixmods: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
f949ddea88 xfree86: i2c: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
2f2ecad0b5 xfree86: int10: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
e1111ead5c xfree86: modes: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
0111a3cc9e xfree86: ddc: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
73dd3a470f xfree86: common: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
f7e5867927 xfree86: os-support: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
8b8c9b9200 xfree86: move pci_device_is_boot_display to priv header and document it
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:35:40 +01:00
Enrico Weigelt, metux IT consult
705a3a9978 xfree86: drop obsolete xf86PciInfo.h
Nobody's using this file anymore, so no need to keep it any longer.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:34:29 +01:00
Enrico Weigelt, metux IT consult
431082ba9f .github: update xf86-video-v4l to 25.0.1
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:12:24 +01:00
Enrico Weigelt, metux IT consult
05d2b20e20 xfree86: move xf86_platform_device_odev_attributes() into private header
Not used by external drivers, and not part of ABI (just an inline),
so no need to keep it it public SDK header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 12:49:00 +01:00
Enrico Weigelt, metux IT consult
b9c5787ca5 xfree86: ddc: interpret_edid.c: minor whitespace fixes
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-29 19:00:23 +01:00
Enrico Weigelt, metux IT consult
55d317dd50 xfree86: ddc: move some defines into private header
Those aren't used by any external driver, so no need to keep them public.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-29 17:32:21 +01:00
Enrico Weigelt, metux IT consult
f98d467a0c xfree86: ddc: move remaining struct cea_* to private header
Not needed in public SDK headers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-29 16:51:11 +01:00
Tautvis
af9afa287a modesetting: pageflip: clear new_front_bo struct in ms_do_pageflip
ms_do_pageflip function temporary creates and destroy drmmode_bo object, but
the structure is stack ( values goes uninitialized). This became problem
because in f4362fc4ec drmmode_bo struct got extra
fields which is checked during drmmode_bo_destroy and causes crash.

Signed-off-by: Tautvis <gtautvis@gmail.com>
2026-01-29 14:35:48 +01:00
Alexander Melnyk
547d13575d xkb: Fix locked/latched indicator desync across multiple keyboards
When a group indicator (or a latched indicator of any kind) is defined,
e.g.:
  indicator "Scroll Lock" { groups = Group2; }
the logical and physical indicator state may desync across multiple
connected keyboards.

This is caused by XkbPushLockedStateToSlaves only pushing locked_mods to
the slave devices. Pushing locked_group (as well as latched groups/mods)
along with locked_mods resolves the issue.

The issue is not observed with API calls because a different code path
is taken (avoiding XkbPushLockedStateToSlaves altogether).

Signed-off-by: Alexander Melnyk <inboxnumberzero@zoho.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2120>
2026-01-29 14:34:16 +01:00
John Studnicka
8fa58d3b51 modesetting: Handle reflected/rotated cursors better
Moved the cursor glyph cropping into a separate function that handles reflections and rotations.

Also, x/y are indexes into the buffer, so they should be clamped to width/height len - 1 for correctness.

Signed-off-by: John Studnicka <contact@zentec.dev>
2026-01-29 14:33:13 +01:00
Enrico Weigelt, metux IT consult
1a9d075b9a xfree86: ddc: move struct cea_vendor_block(_hdmi) to private header
Not used by any external driver, so no need to keep them in public header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-29 14:32:40 +01:00
Enrico Weigelt, metux IT consult
5a34d6c738 xfree86: ddc: move struct cea_speaker_block into private header
Not used by any external drivers, so no need to keep it in public header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-29 14:08:57 +01:00
Enrico Weigelt, metux IT consult
b6092270e0 xfree86: ddc: move struct cea_data_block into private header
Not used by any external drivers, so no need to keep it in public header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-29 13:18:16 +01:00
Enrico Weigelt, metux IT consult
46741a8645 xfree86: ddc: move CVT_SUPPORTED to private header
Not used by any external driver, so no need to keep it in public header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-29 10:37:10 +01:00
Enrico Weigelt, metux IT consult
88a58ed15c xfree86: ddc: move sync characteristics macros to print_edid.c
Only used there, so no need to keep them in public header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-29 10:36:57 +01:00