i915tex: Add support for 945GME

This commit is contained in:
Wang Zhenyu 2007-05-30 16:18:26 +08:00 committed by Brian
parent f6696cc15e
commit c53f1cb813
4 changed files with 6 additions and 0 deletions

View 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;

View 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
/* ================================================================

View 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:

View 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: