summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhenyu Wang <[email protected]>2010-04-19 16:27:10 +0800
committerZhenyu Wang <[email protected]>2010-04-21 10:11:31 +0800
commit82abbca69220b12453e161076481a46b836ebf18 (patch)
treea677deb61ae8c2c448cad3c5a387ec2d2cf76f84
parentcdcef6cbf4dd80047819e9098e34a3b98bd502a4 (diff)
intel: Add Sandybridge mobile chipset id
Signed-off-by: Zhenyu Wang <[email protected]>
-rw-r--r--src/mesa/drivers/dri/intel/intel_chipset.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_chipset.h b/src/mesa/drivers/dri/intel/intel_chipset.h
index dbc08c872b9..cd614c59e55 100644
--- a/src/mesa/drivers/dri/intel/intel_chipset.h
+++ b/src/mesa/drivers/dri/intel/intel_chipset.h
@@ -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 || \
@@ -114,7 +115,8 @@
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) || \