aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolai Haehnle <[email protected]>2005-06-21 17:03:29 +0000
committerNicolai Haehnle <[email protected]>2005-06-21 17:03:29 +0000
commit1e4744d2b91156abdf792f63aa9c2224f44f2791 (patch)
tree276cd20fbf8354d3065ec93c21db1b4b73826c84
parentebd99043edab8297aafdf8dde6084e15c4a009c3 (diff)
Add PCI ID for R420 JI.
The driver appears to work reliably (i.e. lockup-free) with a card based on this chip. However, I have not explored whether we could get anything in terms of 3D performance "for free" just by setting some magic bits in those registers that are still a mystery to us.
-rw-r--r--src/mesa/drivers/dri/r300/radeon_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/radeon_screen.c b/src/mesa/drivers/dri/r300/radeon_screen.c
index dea0d21562f..cb30f58a453 100644
--- a/src/mesa/drivers/dri/r300/radeon_screen.c
+++ b/src/mesa/drivers/dri/r300/radeon_screen.c
@@ -211,6 +211,7 @@ static const struct dri_debug_control debug_control[] = {
#define PCI_CHIP_R300_NF 0x4E46
#define PCI_CHIP_R300_NG 0x4E47
#define PCI_CHIP_R350_NH 0x4E48
+#define PCI_CHIP_R420_JI 0x4A49
#define PCI_CHIP_R420_JK 0x4a4b
#endif
@@ -393,6 +394,7 @@ static radeonScreenPtr radeonCreateScreen(__DRIscreenPrivate * sPriv)
screen->chipset = RADEON_CHIP_R300;
break;
+ case PCI_CHIP_R420_JI:
case PCI_CHIP_R420_JK:
screen->chipset = RADEON_CHIP_R420;
break;