summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2008-02-15 14:46:25 -0500
committerAdam Jackson <[email protected]>2008-02-15 14:46:25 -0500
commit39bcbe0921e8a31b55ebee8726d2091fc5e0dd22 (patch)
treee88917bc8f83a6e9433323d540d4ceb5765db646
parent66611f2298539fa28a3667c02ca4013602634d3d (diff)
Add E7221 variant to i915.
-rw-r--r--src/mesa/drivers/dri/i915/intel_context.c4
-rw-r--r--src/mesa/drivers/dri/intel/intel_chipset.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c
index 3b6a1d5ef95..40c5870e7c5 100644
--- a/src/mesa/drivers/dri/i915/intel_context.c
+++ b/src/mesa/drivers/dri/i915/intel_context.c
@@ -48,6 +48,7 @@
#include "i830_dri.h"
+#include "intel_chipset.h"
#include "intel_buffers.h"
#include "intel_tex.h"
#include "intel_span.h"
@@ -123,6 +124,9 @@ intelGetString(GLcontext * ctx, GLenum name)
case PCI_CHIP_I915_G:
chipset = "Intel(R) 915G";
break;
+ case PCI_CHIP_E7221_G:
+ chipset = "Intel (R) E7221G (i915)";
+ break;
case PCI_CHIP_I915_GM:
chipset = "Intel(R) 915GM";
break;
diff --git a/src/mesa/drivers/dri/intel/intel_chipset.h b/src/mesa/drivers/dri/intel/intel_chipset.h
index 5f094dc5fb4..168dc724db7 100644
--- a/src/mesa/drivers/dri/intel/intel_chipset.h
+++ b/src/mesa/drivers/dri/intel/intel_chipset.h
@@ -36,6 +36,7 @@
#define PCI_CHIP_I865_G 0x2572
#define PCI_CHIP_I915_G 0x2582
+#define PCI_CHIP_E7221_G 0x258A
#define PCI_CHIP_I915_GM 0x2592
#define PCI_CHIP_I945_G 0x2772
#define PCI_CHIP_I945_GM 0x27A2
@@ -73,6 +74,7 @@
IS_IGD(devid))
#define IS_9XX(devid) (devid == PCI_CHIP_I915_G || \
+ devid == PCI_CHIP_E7221_G || \
devid == PCI_CHIP_I915_GM || \
devid == PCI_CHIP_I945_G || \
devid == PCI_CHIP_I945_GM || \