xf86-video-intel: src/intel_driver.h src/intel_module.c

Zhenyu Wang zhen at kemper.freedesktop.org
Sun Aug 22 18:56:30 PDT 2010


 src/intel_driver.h |    4 +++-
 src/intel_module.c |    1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 104cd0554bde1d109a54db7a93700d5edfabd914
Author: Zhenyu Wang <zhenyuw at linux.intel.com>
Date:   Mon Aug 23 09:48:22 2010 +0800

    Add sandybridge D0 support
    
    Signed-off-by: Zhenyu Wang <zhenyuw at linux.intel.com>

diff --git a/src/intel_driver.h b/src/intel_driver.h
index c0b1c57..00e8488 100644
--- a/src/intel_driver.h
+++ b/src/intel_driver.h
@@ -172,6 +172,7 @@
 #define PCI_CHIP_SANDYBRIDGE		0x0102
 #define PCI_CHIP_SANDYBRIDGE_BRIDGE	0x0100
 #define PCI_CHIP_SANDYBRIDGE_M		0x0106
+#define PCI_CHIP_SANDYBRIDGE_M_D0	0x0126
 #define PCI_CHIP_SANDYBRIDGE_BRIDGE_M	0x0104
 #endif
 
@@ -242,7 +243,8 @@
 #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 || \
-			(pI810)->PciInfo->device_id == PCI_CHIP_SANDYBRIDGE_M)
+			(pI810)->PciInfo->device_id == PCI_CHIP_SANDYBRIDGE_M ||\
+			(pI810)->PciInfo->device_id == PCI_CHIP_SANDYBRIDGE_M_D0)
 
 #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/intel_module.c b/src/intel_module.c
index 5e64989..55e19d1 100644
--- a/src/intel_module.c
+++ b/src/intel_module.c
@@ -116,6 +116,7 @@ static const struct pci_id_match intel_device_match[] = {
     INTEL_DEVICE_MATCH (PCI_CHIP_IGDNG_M_G, 0 ),
     INTEL_DEVICE_MATCH (PCI_CHIP_SANDYBRIDGE, 0 ),
     INTEL_DEVICE_MATCH (PCI_CHIP_SANDYBRIDGE_M, 0 ),
+    INTEL_DEVICE_MATCH (PCI_CHIP_SANDYBRIDGE_M_D0, 0 ),
     { 0, 0, 0 },
 };
 


More information about the xorg-commit mailing list