diff options
| -rw-r--r-- | src/mesa/drivers/dri/i915/intel_context.c | 4 | ||||
| -rw-r--r-- | src/mesa/drivers/dri/intel/intel_chipset.h | 2 | 
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 3b6a1d5ef9..40c5870e7c 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 5f094dc5fb..168dc724db 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 || \  | 
