mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Commit74b7427c41(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 commit579eb31222)