OSDN Git Service

intel: add the TGL 12 PCI IDs and macros
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 6 Sep 2018 04:17:47 +0000 (21:17 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 30 Jul 2019 00:00:08 +0000 (17:00 -0700)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
intel/intel_chipset.c
intel/intel_chipset.h

index 5aa4a2f..157c2c7 100644 (file)
@@ -35,6 +35,7 @@ static const struct pci_device {
        uint16_t gen;
 } pciids[] = {
        /* Keep ids sorted by gen; latest gen first */
+       INTEL_TGL_12_IDS(12),
        INTEL_ICL_11_IDS(11),
        INTEL_CNL_IDS(10),
        INTEL_CFL_IDS(9),
index 5db207c..0a48e0d 100644 (file)
@@ -337,6 +337,7 @@ drm_private bool intel_get_genx(unsigned int devid, int *gen);
 #define IS_GEN9(devid) intel_is_genx(devid, 9)
 #define IS_GEN10(devid) intel_is_genx(devid, 10)
 #define IS_GEN11(devid) intel_is_genx(devid, 11)
+#define IS_GEN12(devid) intel_is_genx(devid, 12)
 
 #define IS_9XX(dev)            (IS_GEN3(dev) || \
                                 IS_GEN4(dev) || \