diff options
author | Sui Jingfeng <suijingfeng@loongson.cn> | 2023-08-30 19:15:30 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-10-06 17:19:01 -0500 |
commit | cdd3cecb521520ff316eea5ee36608b63a8df9f9 (patch) | |
tree | 9b9fa5972d20851cc8194e9c21fce04bd859133c /drivers/gpu/drm/virtio/virtgpu_drv.c | |
parent | 300bac9389e09274049fee5d367ae2b296bc8a10 (diff) | |
download | linux-cdd3cecb521520ff316eea5ee36608b63a8df9f9.tar.gz linux-cdd3cecb521520ff316eea5ee36608b63a8df9f9.tar.bz2 linux-cdd3cecb521520ff316eea5ee36608b63a8df9f9.zip |
PCI/sysfs: Enable 'boot_vga' attribute via pci_is_vga()
Enable the 'boot_vga' sysfs attribute via pci_is_vga().
This exposes 'boot_vga' for old PCI_CLASS_NOT_DEFINED_VGA (0x0001) devices
as well as for the PCI_CLASS_DISPLAY_VGA (0x0300) devices where it was
previously exposed.
Link: https://lore.kernel.org/r/20230830111532.444535-4-sui.jingfeng@linux.dev
Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: "Maciej W. Rozycki" <macro@orcam.me.uk>
Diffstat (limited to 'drivers/gpu/drm/virtio/virtgpu_drv.c')
0 files changed, 0 insertions, 0 deletions