drm/i915: Add Whiskey Lake PCI IDs
authorFrançois Tigeot <ftigeot@wolfpond.org>
Tue, 4 Dec 2018 21:27:20 +0000 (22:27 +0100)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Tue, 4 Dec 2018 21:27:20 +0000 (22:27 +0100)
Obtained-from: Linux 4.19

sys/dev/drm/i915/i915_drv.c
sys/dev/drm/include/drm/i915_pciids.h

index 4eadca9..e724d51 100644 (file)
@@ -438,6 +438,9 @@ static const struct pci_device_id pciidlist[] = {
        INTEL_CFL_H_GT2_IDS(&intel_coffeelake_gt2_info),
        INTEL_CFL_U_GT2_IDS(&intel_coffeelake_gt2_info),
        INTEL_CFL_U_GT3_IDS(&intel_coffeelake_gt3_info),
+       INTEL_WHL_U_GT1_IDS(&intel_coffeelake_gt1_info),
+       INTEL_WHL_U_GT2_IDS(&intel_coffeelake_gt2_info),
+       INTEL_WHL_U_GT3_IDS(&intel_coffeelake_gt3_info),
        {0, 0, 0}
 };
 
index 8006cab..300fc00 100644 (file)
        INTEL_VGA_DEVICE(0x3EA7, info), /* ULT GT3 */ \
        INTEL_VGA_DEVICE(0x3EA8, info)  /* ULT GT3 */
 
+/* WHL/CFL U GT1 */
+#define INTEL_WHL_U_GT1_IDS(info) \
+       INTEL_VGA_DEVICE(0x3EA1, info)
+
+/* WHL/CFL U GT2 */
+#define INTEL_WHL_U_GT2_IDS(info) \
+       INTEL_VGA_DEVICE(0x3EA0, info)
+
+/* WHL/CFL U GT3 */
+#define INTEL_WHL_U_GT3_IDS(info) \
+       INTEL_VGA_DEVICE(0x3EA2, info), \
+       INTEL_VGA_DEVICE(0x3EA3, info), \
+       INTEL_VGA_DEVICE(0x3EA4, info)
+
+#define INTEL_CFL_IDS(info)       \
+       INTEL_CFL_S_GT1_IDS(info), \
+       INTEL_CFL_S_GT2_IDS(info), \
+       INTEL_CFL_H_GT2_IDS(info), \
+       INTEL_CFL_U_GT2_IDS(info), \
+       INTEL_CFL_U_GT3_IDS(info), \
+       INTEL_WHL_U_GT1_IDS(info), \
+       INTEL_WHL_U_GT2_IDS(info), \
+       INTEL_WHL_U_GT3_IDS(info)
+
 #endif /* _I915_PCIIDS_H */