summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common.h5
-rw-r--r--src/i810_driver.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index fc51cdef..bc5d7220 100644
--- a/src/common.h
+++ b/src/common.h
@@ -328,6 +328,8 @@ extern int I810_DEBUG;
#ifndef PCI_CHIP_SANDYBRIDGE
#define PCI_CHIP_SANDYBRIDGE 0x0102
#define PCI_CHIP_SANDYBRIDGE_BRIDGE 0x0100
+#define PCI_CHIP_SANDYBRIDGE_M 0x0106
+#define PCI_CHIP_SANDYBRIDGE_BRIDGE_M 0x0104
#endif
#define I810_MEMBASE(p,n) (p)->regions[(n)].base_addr
@@ -385,7 +387,8 @@ extern int I810_DEBUG;
#define IS_I915(pI810) (IS_I915G(pI810) || IS_I915GM(pI810) || IS_I945G(pI810) || IS_I945GM(pI810) || IS_G33CLASS(pI810))
-#define IS_GEN6(pI810) ((pI810)->PciInfo->device_id == PCI_CHIP_SANDYBRIDGE)
+#define IS_GEN6(pI810) ((pI810)->PciInfo->device_id == PCI_CHIP_SANDYBRIDGE || \
+ (pI810)->PciInfo->device_id == PCI_CHIP_SANDYBRIDGE_M)
#define IS_MOBILE(pI810) (IS_I830(pI810) || IS_I85X(pI810) || IS_I915GM(pI810) || IS_I945GM(pI810) || IS_I965GM(pI810) || IS_GM45(pI810) || IS_IGD(pI810) || IS_IGDNG_M(pI810))
/* supports Y tiled surfaces (pre-965 Mesa isn't ready yet) */
diff --git a/src/i810_driver.c b/src/i810_driver.c
index ba1ded73..31098340 100644
--- a/src/i810_driver.c
+++ b/src/i810_driver.c
@@ -141,6 +141,7 @@ static const struct pci_id_match intel_device_match[] = {
INTEL_DEVICE_MATCH (PCI_CHIP_IGDNG_D_G, 0 ),
INTEL_DEVICE_MATCH (PCI_CHIP_IGDNG_M_G, 0 ),
INTEL_DEVICE_MATCH (PCI_CHIP_SANDYBRIDGE, 0 ),
+ INTEL_DEVICE_MATCH (PCI_CHIP_SANDYBRIDGE_M, 0 ),
{ 0, 0, 0 },
};