r300c/r300g: add 3155 rv380 pci id
authorDave Airlie <airlied@redhat.com>
Mon, 19 Apr 2010 09:22:03 +0000 (19:22 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 19 Apr 2010 09:23:19 +0000 (19:23 +1000)
src/gallium/drivers/r300/r300_chipset.c
src/mesa/drivers/dri/radeon/radeon_chipset.h
src/mesa/drivers/dri/radeon/radeon_screen.c

index 9b2163e..c77e944 100644 (file)
@@ -108,6 +108,7 @@ void r300_parse_chipset(struct r300_capabilities* caps)
         case 0x3150:
         case 0x3152:
         case 0x3154:
+        case 0x3155:
         case 0x3E50:
         case 0x3E54:
             caps->family = CHIP_FAMILY_RV380;
index 98732c8..b7ee9a1 100644 (file)
@@ -12,6 +12,7 @@
 #define PCI_CHIP_RV380_3150            0x3150
 #define PCI_CHIP_RV380_3152            0x3152
 #define PCI_CHIP_RV380_3154            0x3154
+#define PCI_CHIP_RV380_3155            0x3155
 #define PCI_CHIP_RV380_3E50            0x3E50
 #define PCI_CHIP_RV380_3E54            0x3E54
 #define PCI_CHIP_RS100_4136            0x4136
index 4d7255f..fca0f81 100644 (file)
@@ -516,6 +516,7 @@ static int radeon_set_screen_flags(radeonScreenPtr screen, int device_id)
    case PCI_CHIP_RV380_3150:
    case PCI_CHIP_RV380_3152:
    case PCI_CHIP_RV380_3154:
+   case PCI_CHIP_RV380_3155:
    case PCI_CHIP_RV380_3E50:
    case PCI_CHIP_RV380_3E54:
       screen->chip_family = CHIP_FAMILY_RV380;