drm/i915,intel_agp: Add support for Sandybridge D0
authorZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 19 Aug 2010 01:46:16 +0000 (09:46 +0800)
committerEric Anholt <eric@anholt.net>
Sun, 22 Aug 2010 06:29:03 +0000 (23:29 -0700)
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/char/agp/intel-agp.c
drivers/char/agp/intel-agp.h
drivers/gpu/drm/i915/i915_drv.c

index ab1903955ac0728b9e0c1a2edd8c81d507b49264..710af89b176d0b8a7fcbed56dbb3a56b762e27f8 100644 (file)
@@ -819,6 +819,8 @@ static const struct intel_driver_description {
            "Sandybridge", NULL, &intel_gen6_driver },
        { PCI_DEVICE_ID_INTEL_SANDYBRIDGE_M_HB, PCI_DEVICE_ID_INTEL_SANDYBRIDGE_M_IG,
            "Sandybridge", NULL, &intel_gen6_driver },
+       { PCI_DEVICE_ID_INTEL_SANDYBRIDGE_M_HB, PCI_DEVICE_ID_INTEL_SANDYBRIDGE_M_D0_IG,
+           "Sandybridge", NULL, &intel_gen6_driver },
        { 0, 0, NULL, NULL, NULL }
 };
 
index c05e3e518268ac3cab497970f55371cc2c06acba..08d47532e60590f169f74995007e745623c4cd66 100644 (file)
 #define PCI_DEVICE_ID_INTEL_SANDYBRIDGE_IG  0x0102
 #define PCI_DEVICE_ID_INTEL_SANDYBRIDGE_M_HB  0x0104
 #define PCI_DEVICE_ID_INTEL_SANDYBRIDGE_M_IG  0x0106
+#define PCI_DEVICE_ID_INTEL_SANDYBRIDGE_M_D0_IG  0x0126
 
 /* cover 915 and 945 variants */
 #define IS_I915 (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_E7221_HB || \
index 5044f653e8ea981d46729360b5dc609836a319ab..00befce8fbb7f503b5ed5311c8acac81f1c00fcd 100644 (file)
@@ -181,6 +181,7 @@ static const struct pci_device_id pciidlist[] = {           /* aka */
        INTEL_VGA_DEVICE(0x0046, &intel_ironlake_m_info),
        INTEL_VGA_DEVICE(0x0102, &intel_sandybridge_d_info),
        INTEL_VGA_DEVICE(0x0106, &intel_sandybridge_m_info),
+       INTEL_VGA_DEVICE(0x0126, &intel_sandybridge_m_info),
        {0, 0, 0}
 };