drm/i915/pciids: switch to xe driver style PCI ID macros
authorJani Nikula <jani.nikula@intel.com>
Wed, 15 May 2024 16:56:50 +0000 (19:56 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 22 May 2024 09:12:09 +0000 (12:12 +0300)
commitcfa7772880f845f5d6dbee69c441c6efbffa425b
treec1e98f4e3e76a4b46c8ec34ef02f40de0899f4cc
parenta568ff8cd0feb9202d8bd7d572b170931b57248c
drm/i915/pciids: switch to xe driver style PCI ID macros

The PCI ID macros in xe_pciids.h allow passing in the macro to operate
on each PCI ID, making it more flexible. Convert i915_pciids.h to the
same pattern.

INTEL_IVB_Q_IDS() for Quanta transcode remains a special case, and
unconditionally uses INTEL_QUANTA_VGA_DEVICE().

Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: linux-pci@vger.kernel.org
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240515165651.1230465-1-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
arch/x86/kernel/early-quirks.c
drivers/gpu/drm/i915/display/intel_display_device.c
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/intel_device_info.c
include/drm/i915_pciids.h