Mesa (master): i965: Update renderer strings for sandybridge

Adam Jackson ajax at kemper.freedesktop.org
Thu Sep 30 11:21:09 PDT 2010


Module: Mesa
Branch: master
Commit: 0c86e1f29483d9557f30796c03b94a34d965c095
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c86e1f29483d9557f30796c03b94a34d965c095

Author: Adam Jackson <ajax at redhat.com>
Date:   Thu Sep 30 14:08:35 2010 -0400

i965: Update renderer strings for sandybridge

Signed-off-by: Adam Jackson <ajax at redhat.com>

---

 src/mesa/drivers/dri/intel/intel_context.c |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c
index edcc953..039ac6d 100644
--- a/src/mesa/drivers/dri/intel/intel_context.c
+++ b/src/mesa/drivers/dri/intel/intel_context.c
@@ -163,6 +163,19 @@ intelGetString(GLcontext * ctx, GLenum name)
       case PCI_CHIP_ILM_G:
          chipset = "Intel(R) Ironlake Mobile";
          break;
+      case PCI_CHIP_SANDYBRIDGE_GT1:
+      case PCI_CHIP_SANDYBRIDGE_GT2:
+      case PCI_CHIP_SANDYBRIDGE_GT2_PLUS:
+	 chipset = "Intel(R) Sandybridge Desktop";
+	 break;
+      case PCI_CHIP_SANDYBRIDGE_M_GT1:
+      case PCI_CHIP_SANDYBRIDGE_M_GT2:
+      case PCI_CHIP_SANDYBRIDGE_M_GT2_PLUS:
+	 chipset = "Intel(R) Sandybridge Mobile";
+	 break;
+      case PCI_CHIP_SANDYBRIDGE_S:
+	 chipset = "Intel(R) Sandybridge Server";
+	 break;
       default:
          chipset = "Unknown Intel Chipset";
          break;



More information about the mesa-commit mailing list