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
--
2.48.1