intel: Add Sandybridge mobile chipset id
authorZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 19 Apr 2010 08:27:10 +0000 (16:27 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 21 Apr 2010 02:11:31 +0000 (10:11 +0800)
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
src/mesa/drivers/dri/intel/intel_chipset.h

index dbc08c872b9e545dd40be256a33b2f1184c82c0b..cd614c59e557fcaabee0194083837dd43ca08afb 100644 (file)
@@ -72,6 +72,7 @@
 #define PCI_CHIP_ILM_G                  0x0046
 
 #define PCI_CHIP_SANDYBRIDGE           0x0102
+#define PCI_CHIP_SANDYBRIDGE_M         0x0106
 
 #define IS_MOBILE(devid)       (devid == PCI_CHIP_I855_GM || \
                                 devid == PCI_CHIP_I915_GM || \
                                 devid == PCI_CHIP_I946_GZ || \
                                 IS_G4X(devid))
 
-#define IS_GEN6(devid)         (devid == PCI_CHIP_SANDYBRIDGE)
+#define IS_GEN6(devid)         (devid == PCI_CHIP_SANDYBRIDGE || \
+                                devid == PCI_CHIP_SANDYBRIDGE_M)
 
 #define IS_965(devid)          (IS_GEN4(devid) || \
                                 IS_G4X(devid) || \