]> git.ipfire.org Git - thirdparty/linux.git/commit
vfio/pci: Use pci_is_display()
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 17 Jul 2025 17:38:05 +0000 (12:38 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 17 Jul 2025 20:30:13 +0000 (15:30 -0500)
commita7feca7c88187b83f95dc18ad788015f1bff8939
tree0ea5c187e9e7a33274fba4825b0fc5930b54a5d3
parent76720eed7d18baf51c0f31fe8a3784702f50e3fc
vfio/pci: Use pci_is_display()

The inline pci_is_display() helper does the same thing.  Use it.

Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Daniel Dadap <ddadap@nvidia.com>
Reviewed-by: Simona Vetter <simona.vetter@ffwll.ch>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Link: https://patch.msgid.link/20250717173812.3633478-3-superm1@kernel.org
drivers/vfio/pci/vfio_pci_igd.c