]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/intel/pciids: Add match on vendor/id only
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 8 Aug 2025 17:41:08 +0000 (10:41 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 11 Aug 2025 14:45:48 +0000 (07:45 -0700)
commitedb660ad79ffe81a982c2eca02360a6ffac83e46
treeb3fb733889495fcba075f56cd852c72130cad12e
parentd301eb950da59f962bafe874cf5eb6d61a85b2c2
drm/intel/pciids: Add match on vendor/id only

All our PCI ID macros match on the PCI class besides the vendor and
devid, even for devices that may or may not have display. This may not
work going forward, so add a simple INTEL_PCI_DEVICE that matches only
on vendor/device IDs.

Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://lore.kernel.org/r/20250808-intel-pci-device-v1-1-ce3545d86502@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
include/drm/intel/pciids.h