summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-11-19 13:32:16 +1000
committerDave Airlie <airlied@redhat.com>2007-11-19 13:32:16 +1000
commite73bf6290da20dd61798ace775999ce1cb550934 (patch)
tree43be6fc5f947a4bb4dab0ae6c1b0cee64e91b930
parentea1534659de87d3d75eb20d808d039cff22cb537 (diff)
add x1900xt support
-rw-r--r--src/atipciids.h2
-rw-r--r--src/radeon.h1
-rw-r--r--src/radeon_chipset.h1
-rw-r--r--src/radeon_driver.c4
-rw-r--r--src/radeon_probe.c1
5 files changed, 8 insertions, 1 deletions
diff --git a/src/atipciids.h b/src/atipciids.h
index 685b8115..9c45c24d 100644
--- a/src/atipciids.h
+++ b/src/atipciids.h
@@ -288,7 +288,7 @@
#define PCI_CHIP_RV515_7142 0x7142
#define PCI_CHIP_RV515_7183 0x7183
-
+#define PCI_CHIP_R580_7249 0x7249
/* Misc */
#define PCI_CHIP_AMD761 0x700E
diff --git a/src/radeon.h b/src/radeon.h
index 7c326935..e00b6bef 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -496,6 +496,7 @@ typedef enum {
CHIP_FAMILY_RS400, /* xpress 200, 200m (RS400/410/480) */
CHIP_FAMILY_RV515, /* rv515 */
CHIP_FAMILY_R520, /* r520 */
+ CHIP_FAMILY_R580, /* r580 */
CHIP_FAMILY_R600, /* r60 */
CHIP_FAMILY_LAST
} RADEONChipFamily;
diff --git a/src/radeon_chipset.h b/src/radeon_chipset.h
index d6d8bae6..b2e20d20 100644
--- a/src/radeon_chipset.h
+++ b/src/radeon_chipset.h
@@ -139,6 +139,7 @@ static SymTabRec RADEONChipsets[] = {
{ PCI_CHIP_R481_4B4C, "ATI Radeon X850 XT PE (R480) (AGP)" },
{ PCI_CHIP_RV515_7142, "ATI AVIVO X1300 (PCIE)"},
{ PCI_CHIP_RV515_7183, "ATI AVIVO X1550PRO (PCI/PCIE)"},
+ { PCI_CHIP_R580_7249, "ATI Radeon X1900 XT"},
{ -1, NULL }
};
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index cabc5394..de75ee3b 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -1840,6 +1840,10 @@ static Bool RADEONPreInitChipType(ScrnInfoPtr pScrn)
info->ChipFamily = CHIP_FAMILY_RV515;
break;
+ case PCI_CHIP_R580_7249:
+ info->ChipFamily = CHIP_FAMILY_R580;
+ break;
+
default:
/* Original Radeon/7200 */
info->ChipFamily = CHIP_FAMILY_RADEON;
diff --git a/src/radeon_probe.c b/src/radeon_probe.c
index 7a3c9081..c1ed1059 100644
--- a/src/radeon_probe.c
+++ b/src/radeon_probe.c
@@ -194,6 +194,7 @@ PciChipsets RADEONPciChipsets[] = {
{ PCI_CHIP_R481_4B4C, PCI_CHIP_R481_4B4C, RES_SHARED_VGA },
{ PCI_CHIP_RV515_7142, PCI_CHIP_RV515_7142, RES_SHARED_VGA },
{ PCI_CHIP_RV515_7183, PCI_CHIP_RV515_7183, RES_SHARED_VGA },
+ { PCI_CHIP_R580_7249, PCI_CHIP_R580_7249, RES_SHARED_VGA },
{ -1, -1, RES_UNDEFINED }
};