i915g: add pineview pci ids
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Nov 2010 22:38:20 +0000 (23:38 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Sun, 21 Nov 2010 15:41:19 +0000 (16:41 +0100)
Reviewed-by: Jakob Bornecrantz <wallbraker@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
src/gallium/drivers/i915/i915_reg.h
src/gallium/drivers/i915/i915_screen.c

index 04620fec681d93de37ed9994ce7553c5b90944d3..cc28891e4ac0e6c11710b92ac94b24d227a17346 100644 (file)
 #define PCI_CHIP_G33_G                 0x29C2
 #define PCI_CHIP_Q35_G                 0x29B2
 #define PCI_CHIP_Q33_G                 0x29D2
+#define PCI_CHIP_PINEVIEW_G            0xA001
+#define PCI_CHIP_PINEVIEW_M            0xA011
 
 
 #endif
index 312847fba9e229a3a3469b6f17eba439c7019f02..3f0b7ae348a78b0ed1fd2dd0d094fcffcfd2911c 100644 (file)
@@ -83,6 +83,12 @@ i915_get_name(struct pipe_screen *screen)
    case PCI_CHIP_Q33_G:
       chipset = "Q33";
       break;
+   case PCI_CHIP_PINEVIEW_G:
+      chipset = "Pineview G";
+      break;
+   case PCI_CHIP_PINEVIEW_M:
+      chipset = "Pineview M";
+      break;
    default:
       chipset = "unknown";
       break;
@@ -351,6 +357,8 @@ i915_screen_create(struct i915_winsys *iws)
    case PCI_CHIP_G33_G:
    case PCI_CHIP_Q33_G:
    case PCI_CHIP_Q35_G:
+   case PCI_CHIP_PINEVIEW_G:
+   case PCI_CHIP_PINEVIEW_M:
       is->is_i945 = TRUE;
       break;