xserver/config
Ivaylo Dimitrov 5a8172f8c5 linux: Fix BUS_PLATFORM detection for non-PCI devices
Commit 74b7427c41 (linux: Make platform device probe less fragile)
effectively dropped busid detection for non-PCI devices, for example on
OMAP we have "ID_PATH=platform-omapdrm.0". For such devices busid will not
be set, making platform probes (and server mediated fd support) impossible.

Fix that by extending config_udev_odev_setup_attribs() logic to support
platform devices as well.

Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1761>
(cherry picked from commit 579eb31222)
2026-01-25 10:40:00 -08:00
..
10-quirks.conf config: add a quirk for Apple Silicon appledrm 2023-01-11 10:01:29 +00:00
config-backends.h dbus-core: Make dbus-core no longer mutually exclusive with udev 2014-01-29 15:28:58 -08:00
config.c treewide: replace xnfcalloc() calls by XNFcallocarray() 2026-01-25 10:39:55 -08:00
dbus-api Hotplug: D-Bus: API version 2 2007-08-01 01:53:31 +03:00
dbus-core.c include: move dbus-core.h to config 2026-01-25 10:39:52 -08:00
dbus-core.h include: move dbus-core.h to config 2026-01-25 10:39:52 -08:00
fdi2iclass.py fdi2iclass: remove unused local variable 2022-04-02 18:06:30 +00:00
hal.c Move sizeof to second argument in calloc calls 2026-01-25 10:39:55 -08:00
meson.build config/wscons: Fix build and add support for NetBSD 2022-02-06 12:48:39 +02:00
udev.c linux: Fix BUS_PLATFORM detection for non-PCI devices 2026-01-25 10:40:00 -08:00
wscons.c config: wscons: fix warning on discarded const 2026-01-19 12:32:24 -08:00
x11-input.fdi config: remove mention of AllowEmptyInput 2010-11-11 10:26:44 +10:00