i915tex: Add support for 945GME
authorWang Zhenyu <zhenyu.z.wang@intel.com>
Wed, 30 May 2007 08:18:26 +0000 (16:18 +0800)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 31 May 2007 10:18:26 +0000 (11:18 +0100)
src/mesa/drivers/dri/i915tex/intel_context.c
src/mesa/drivers/dri/i915tex/intel_context.h
src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c
src/mesa/drivers/dri/i915tex/intel_screen.c

index 20b2b41ef24cc7118499a805a134c5aee0870932..e581cb080b94f339801454092f0163bb9b8b8869 100644 (file)
@@ -130,6 +130,9 @@ intelGetString(GLcontext * ctx, GLenum name)
       case PCI_CHIP_I945_GM:
          chipset = "Intel(R) 945GM";
          break;
+      case PCI_CHIP_I945_GME:
+         chipset = "Intel(R) 945GME";
+         break;
       default:
          chipset = "Unknown Intel Chipset";
          break;
index e61d72eaec683b2b29dbccdfaba75154143c3872..24e2b37e0bf044b3e733cb1ff4a6d6153c2a3969 100644 (file)
@@ -385,6 +385,7 @@ extern int INTEL_DEBUG;
 #define PCI_CHIP_I915_GM               0x2592
 #define PCI_CHIP_I945_G                        0x2772
 #define PCI_CHIP_I945_GM               0x27A2
+#define PCI_CHIP_I945_GME              0x27AE
 
 
 /* ================================================================
index 8e83028b26cc0f65f4fed4a8bb87670c3e9d4f9f..9e90dd16c1de4f0089550754724de7854b970694 100644 (file)
@@ -79,6 +79,7 @@ intel_miptree_create(struct intel_context *intel,
    switch (intel->intelScreen->deviceID) {
    case PCI_CHIP_I945_G:
    case PCI_CHIP_I945_GM:
+   case PCI_CHIP_I945_GME:
       ok = i945_miptree_layout(mt);
       break;
    case PCI_CHIP_I915_G:
index 5e6df81950be599c42fef1f7e9946e32741460d3..5840d6297e731aa71112a4ae7a778591d31a2d7e 100644 (file)
@@ -752,6 +752,7 @@ intelCreateContext(const __GLcontextModes * mesaVis,
    case PCI_CHIP_I915_GM:
    case PCI_CHIP_I945_G:
    case PCI_CHIP_I945_GM:
+   case PCI_CHIP_I945_GME:
       return i915CreateContext(mesaVis, driContextPriv, sharedContextPrivate);
 
    default: