Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions hw/xfree86/common/xf86platformBus.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,11 @@ xf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *bu

#endif

#ifndef HAVE_PCI_DEVICE_IS_BOOT_DISPLAY
static inline Bool pci_device_is_boot_display(struct pci_device *dev)
{
return FALSE;
}
#endif

#endif
5 changes: 5 additions & 0 deletions include/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,11 @@ conf_data.set('PCVT_SUPPORT', supports_pcvt ? '1' : false)
conf_data.set('SYSCONS_SUPPORT', supports_syscons ? '1' : false)
conf_data.set('WSCONS_SUPPORT', supports_wscons ? '1' : false)
conf_data.set('XSERVER_LIBPCIACCESS', get_option('pciaccess') ? '1' : false)
if get_option('pciaccess')
pciaccess_dep = dependency('pciaccess', required: build_xorg)
conf_data.set('HAVE_PCI_DEVICE_IS_BOOT_DISPLAY',
cc.has_function('pci_device_is_boot_display', dependencies: pciaccess_dep) ? '1' : false)
endif
conf_data.set('XSERVER_PLATFORM_BUS', build_udev_kms ? '1' : false)
conf_data.set('XSERVER_SCREEN_VRR', '1')

Expand Down
Loading