r300: add rv530 pci id for the t60p laptop
authorDave Airlie <airlied@redhat.com>
Thu, 20 Mar 2008 04:34:04 +0000 (14:34 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 20 Mar 2008 04:34:04 +0000 (14:34 +1000)
src/mesa/drivers/dri/radeon/radeon_chipset.h
src/mesa/drivers/dri/radeon/radeon_screen.c

index c54fa903278d18110e27cc5650c6b2144d98ae6c..3c981bf85e9c6ccdeefe6b0a73774cb4bb68b81e 100644 (file)
 #define PCI_CHIP_RV410_5E4C            0x5E4C
 #define PCI_CHIP_RV410_5E4D            0x5E4D
 #define PCI_CHIP_RV410_5E4F            0x5E4F
+
+#define PCI_CHIP_RV530_71C4             0x71C4
+
 #define PCI_CHIP_RS350_7834            0x7834
 #define PCI_CHIP_RS350_7835            0x7835
 #define PCI_CHIP_RS690_791E             0x791E
index 93b239ae9f18be2ae1475e6790d0e426d9789fcd..42e7b82ebe420ec03dc080cf93183ee395778ced 100644 (file)
@@ -693,6 +693,11 @@ radeonCreateScreen( __DRIscreenPrivate *sPriv )
       fprintf(stderr, "Warning, RS690 detected, 3D support is incomplete.\n");
       break;
 
+   case PCI_CHIP_RV530_71C4:
+      screen->chip_family = CHIP_FAMILY_R520;
+      fprintf(stderr, "Warning, R520 detected, 3D HAHAHAHAHA!!.\n");
+      break;
+
    default:
       fprintf(stderr, "unknown chip id 0x%x, can't guess.\n",
              dri_priv->deviceID);