agp/intel: add Ivy Bridge support
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 17 Feb 2011 19:50:19 +0000 (11:50 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 14 May 2011 00:11:13 +0000 (17:11 -0700)
Just use the Sandy Bridge routines.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/char/agp/intel-agp.c
drivers/char/agp/intel-agp.h
drivers/char/agp/intel-gtt.c

index b0a0dccc98c16e479d679414d2bcf617570bab9f..b427711be4be385c2704d4c971dc5cd512ed85c4 100644 (file)
@@ -903,6 +903,9 @@ static struct pci_device_id agp_intel_pci_table[] = {
        ID(PCI_DEVICE_ID_INTEL_SANDYBRIDGE_HB),
        ID(PCI_DEVICE_ID_INTEL_SANDYBRIDGE_M_HB),
        ID(PCI_DEVICE_ID_INTEL_SANDYBRIDGE_S_HB),
+       ID(PCI_DEVICE_ID_INTEL_IVYBRIDGE_HB),
+       ID(PCI_DEVICE_ID_INTEL_IVYBRIDGE_M_HB),
+       ID(PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_HB),
        { }
 };
 
index 5feebe2800e9a5147fa04e951ff40dfd62e1688d..999803ce10dc5cae9c3571c155de3a5d1276a5c7 100644 (file)
 #define PCI_DEVICE_ID_INTEL_SANDYBRIDGE_M_GT2_PLUS_IG  0x0126
 #define PCI_DEVICE_ID_INTEL_SANDYBRIDGE_S_HB           0x0108  /* Server */
 #define PCI_DEVICE_ID_INTEL_SANDYBRIDGE_S_IG           0x010A
+#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_HB               0x0150  /* Desktop */
+#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_GT1_IG           0x0152
+#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_GT2_IG           0x0162
+#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_M_HB             0x0154  /* Mobile */
+#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_M_GT1_IG         0x0156
+#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_M_GT2_IG         0x0166
+#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_HB             0x0158  /* Server */
+#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_GT1_IG         0x015A
 
 int intel_gmch_probe(struct pci_dev *pdev,
                               struct agp_bridge_data *bridge);
index 0d09b537bb9a5cbd52691874b7b8a77534ee1720..85151019dde12572e458260b6d56068fd0e271c4 100644 (file)
@@ -1420,6 +1420,16 @@ static const struct intel_gtt_driver_description {
            "Sandybridge", &sandybridge_gtt_driver },
        { PCI_DEVICE_ID_INTEL_SANDYBRIDGE_S_IG,
            "Sandybridge", &sandybridge_gtt_driver },
+       { PCI_DEVICE_ID_INTEL_IVYBRIDGE_GT1_IG,
+           "Ivybridge", &sandybridge_gtt_driver },
+       { PCI_DEVICE_ID_INTEL_IVYBRIDGE_GT2_IG,
+           "Ivybridge", &sandybridge_gtt_driver },
+       { PCI_DEVICE_ID_INTEL_IVYBRIDGE_M_GT1_IG,
+           "Ivybridge", &sandybridge_gtt_driver },
+       { PCI_DEVICE_ID_INTEL_IVYBRIDGE_M_GT2_IG,
+           "Ivybridge", &sandybridge_gtt_driver },
+       { PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_GT1_IG,
+           "Ivybridge", &sandybridge_gtt_driver },
        { 0, NULL, NULL }
 };