iommu/vt-d: Use pci_is_display()
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 17 Jul 2025 17:38:07 +0000 (12:38 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 17 Jul 2025 20:30:13 +0000 (15:30 -0500)
commit75952c497550fd34d60b4e45aee15249d91263fa
tree15342931e4463785e96d713f117f0ce7ebb0a05c
parentb1060ea44a1f846203ca3ef90389cd0e4f46bc8b
iommu/vt-d: 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: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Daniel Dadap <ddadap@nvidia.com>
Reviewed-by: Simona Vetter <simona.vetter@ffwll.ch>
Link: https://patch.msgid.link/20250717173812.3633478-5-superm1@kernel.org
drivers/iommu/intel/iommu.c