drm/i915/glk: Add Geminilake PCI IDs
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Thu, 10 Nov 2016 15:23:08 +0000 (17:23 +0200)
committerAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Thu, 1 Dec 2016 11:41:27 +0000 (13:41 +0200)
v2: Add new 0x3185 ID. (Joonas)
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1478791400-21756-4-git-send-email-ander.conselvan.de.oliveira@intel.com
drivers/gpu/drm/i915/i915_pci.c
include/drm/i915_pciids.h

index a3cc0e7..ab4fe71 100644 (file)
@@ -437,6 +437,7 @@ static const struct pci_device_id pciidlist[] = {
        INTEL_SKL_GT3_IDS(&intel_skylake_gt3_info),
        INTEL_SKL_GT4_IDS(&intel_skylake_gt3_info),
        INTEL_BXT_IDS(&intel_broxton_info),
+       INTEL_GLK_IDS(&intel_geminilake_info),
        INTEL_KBL_GT1_IDS(&intel_kabylake_info),
        INTEL_KBL_GT2_IDS(&intel_kabylake_info),
        INTEL_KBL_GT3_IDS(&intel_kabylake_gt3_info),
index 0d5f426..540be9f 100644 (file)
        INTEL_VGA_DEVICE(0x5A84, info), /* APL HD Graphics 505 */ \
        INTEL_VGA_DEVICE(0x5A85, info)  /* APL HD Graphics 500 */
 
+#define INTEL_GLK_IDS(info) \
+       INTEL_VGA_DEVICE(0x3184, info), \
+       INTEL_VGA_DEVICE(0x3185, info)
+
 #define INTEL_KBL_GT1_IDS(info)        \
        INTEL_VGA_DEVICE(0x5913, info), /* ULT GT1.5 */ \
        INTEL_VGA_DEVICE(0x5915, info), /* ULX GT1.5 */ \