Merge branch 'pci/vga'
authorBjorn Helgaas <bhelgaas@google.com>
Sat, 28 Oct 2023 18:31:00 +0000 (13:31 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 28 Oct 2023 18:31:00 +0000 (13:31 -0500)
commitdbf9527ca13da9afa0cabde32fd4fbdc73c0ae9d
tree44a56b108211c031994f7d3a3c614e228777bdd1
parent79a8394a909e43422df68165189a9bb5e25dd23b
parent94cfada2a9cadec8e5302294fb1a144addfe6649
Merge branch 'pci/vga'

- Add pci_is_vga() helper, which checks for both PCI_CLASS_DISPLAY_VGA and
  PCI_CLASS_NOT_DEFINED_VGA (which catches ancient devices built before
  Class Codes were defined) (Sui Jingfeng)

- Use the new pci_is_vga() to identify devices for the VGA arbiter, the
  sysfs "boot_vga" attribute, and the virtio and qxl drivers (SUi Jingfeng)

* pci/vga:
  drm/qxl: Use pci_is_vga() to identify VGA devices
  drm/virtio: Use pci_is_vga() to identify VGA devices
  PCI/sysfs: Enable 'boot_vga' attribute via pci_is_vga()
  PCI/VGA: Select VGA devices earlier
  PCI/VGA: Use pci_is_vga() to identify VGA devices
  PCI: Add pci_is_vga() helper
drivers/pci/pci-sysfs.c
include/linux/pci.h