i965: Update renderer strings for sandybridge
authorAdam Jackson <ajax@redhat.com>
Thu, 30 Sep 2010 18:08:35 +0000 (14:08 -0400)
committerAdam Jackson <ajax@redhat.com>
Thu, 30 Sep 2010 18:08:35 +0000 (14:08 -0400)
Signed-off-by: Adam Jackson <ajax@redhat.com>
src/mesa/drivers/dri/intel/intel_context.c

index edcc9536da21116f8a56afd2b9df0f92a15b4500..039ac6d4c126ba2a13435eb54845be05466ebfa8 100644 (file)
@@ -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;