mbox series

[0/4] vfio/igd: sync PCI IDs with i915

Message ID 20250206121341.118337-1-corvin.koehne@gmail.com (mailing list archive)
Headers show
Series vfio/igd: sync PCI IDs with i915 | expand

Message

Corvin Köhne Feb. 6, 2025, 12:13 p.m. UTC
From: Corvin Köhne <c.koehne@beckhoff.com>

Hi,

we're currently maintaining an own list of PCI IDs to match the generation of
Intels integrated graphic devices. Linux maintains a list too. It's list is
more recent, contains the full PCI ID of all devices and ships some macros to
easily match them. This patch series imports the PCI ID list from Linux and
reuses it.

Best regards,
Corvin

Corvin Köhne (4):
  include/standard-headers: add PCI IDs for Intel GPUs
  scripts/update-linux-headers: include PCI ID header for Intel GPUs
  vfio/igd: use PCI ID defines to detect IGD gen
  vfio/igd: sync GPU generation with i915 kernel driver

 hw/vfio/igd.c                               |  81 +-
 include/standard-headers/drm/intel/pciids.h | 834 ++++++++++++++++++++
 scripts/update-linux-headers.sh             |   6 +
 3 files changed, 886 insertions(+), 35 deletions(-)
 create mode 100644 include/standard-headers/drm/intel/pciids.h