summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-03-20 14:34:04 +1000
committerAlex Deucher <alex@botch2.com>2008-05-02 15:13:48 -0400
commit6443da0865a6ad8bdd7abc65a9621ba329fcb756 (patch)
tree0053ee30e25f5443142fdf00282d6c8827f81dad /src/mesa/drivers/dri/radeon
parentc07534dc719f53c0e59d59f3bd7dd25d1d32747c (diff)
r300: add rv530 pci id for the t60p laptop
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_chipset.h3
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_screen.c5
2 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_chipset.h b/src/mesa/drivers/dri/radeon/radeon_chipset.h
index 9e375474a0..dc1b8a9c8e 100644
--- a/src/mesa/drivers/dri/radeon/radeon_chipset.h
+++ b/src/mesa/drivers/dri/radeon/radeon_chipset.h
@@ -146,6 +146,9 @@
#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
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c
index 6107577e40..1a1666ccfe 100644
--- a/src/mesa/drivers/dri/radeon/radeon_screen.c
+++ b/src/mesa/drivers/dri/radeon/radeon_screen.c
@@ -686,6 +686,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);