Skip to content

(release/25.1) Add check for pci_device_linux_sysfs_boot_display()#2270

Open
metux wants to merge 2 commits intorelease/25.1from
pr/add-check-for-pci-device-linux-sysfs-boot-display-_2026-04-18_19-47-27
Open

(release/25.1) Add check for pci_device_linux_sysfs_boot_display()#2270
metux wants to merge 2 commits intorelease/25.1from
pr/add-check-for-pci-device-linux-sysfs-boot-display-_2026-04-18_19-47-27

Conversation

@metux
Copy link
Copy Markdown
Contributor

@metux metux commented Apr 18, 2026

In the case of multiple display devices that are not VGA devices
the 'boot_display' attribute read by libpciaccess can disambiguate.

Part-of: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2038

@metux metux self-assigned this Apr 18, 2026
@metux metux requested a review from a team April 18, 2026 17:47
metux pushed a commit that referenced this pull request Apr 18, 2026
@metux metux force-pushed the pr/add-check-for-pci-device-linux-sysfs-boot-display-_2026-04-18_19-47-27 branch 2 times, most recently from e3e6401 to 4457a35 Compare April 21, 2026 08:05
In the case of multiple display devices that are not VGA devices
the 'boot_display' attribute read by libpciaccess can disambiguate.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2038>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
@metux metux force-pushed the pr/add-check-for-pci-device-linux-sysfs-boot-display-_2026-04-18_19-47-27 branch from 4457a35 to 7b6b630 Compare April 21, 2026 08:06
…_is_boot_display()`

It will take some time for a new libpciaccess to be released and
even then bumping the dependency for libpciaccess isn't attractive.
If an older libpciaccess is used just add a static inline define.

Signed-off-by: Tautvis <gtautvis@gmail.com>
@metux
Copy link
Copy Markdown
Contributor Author

metux commented Apr 21, 2026

@callmetango @stefan11111 we already had this in master ... not sure whether we should backport it to 25.1 bugfix branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants