diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-11-25 16:45:33 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-11-25 16:45:33 +0000 |
commit | 7939ed0e8e36ddea89cbc4076a05dd2502499a2a (patch) | |
tree | 9ca266022fd5d0f4f408258fefa66e9e4c0dc169 /src/mesa | |
parent | 8236a534b7c31b5d3b688323de05cfa5e446f70d (diff) |
Otto Solares' patch to add radeon 9200
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/radeon/server/radeon.h | 5 | ||||
-rw-r--r-- | src/mesa/drivers/dri/radeon/server/radeon_dri.c | 10 |
2 files changed, 14 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/server/radeon.h b/src/mesa/drivers/dri/radeon/server/radeon.h index 808289b140..2796731813 100644 --- a/src/mesa/drivers/dri/radeon/server/radeon.h +++ b/src/mesa/drivers/dri/radeon/server/radeon.h @@ -67,6 +67,10 @@ #define PCI_CHIP_RADEON_QY 0x5159 #define PCI_CHIP_RADEON_QZ 0x515A #define PCI_CHIP_R200_Ql 0x516C +#define PCI_CHIP_RV280_Y_ 0x5960 +#define PCI_CHIP_RV280_Ya 0x5961 +#define PCI_CHIP_RV280_Yb 0x5962 +#define PCI_CHIP_RV280_Yc 0x5963 /** * \brief Chip families. @@ -84,6 +88,7 @@ typedef enum { CHIP_FAMILY_R200, CHIP_FAMILY_RV250, CHIP_FAMILY_M9, + CHIP_FAMILY_RV280, CHIP_FAMILY_R300 } RADEONChipFamily; diff --git a/src/mesa/drivers/dri/radeon/server/radeon_dri.c b/src/mesa/drivers/dri/radeon/server/radeon_dri.c index a37561457b..e7414077ed 100644 --- a/src/mesa/drivers/dri/radeon/server/radeon_dri.c +++ b/src/mesa/drivers/dri/radeon/server/radeon_dri.c @@ -454,7 +454,8 @@ static int RADEONDRIKernelInit( const DRIDriverContext *ctx, if ( (info->ChipFamily == CHIP_FAMILY_R200) || (info->ChipFamily == CHIP_FAMILY_RV250) || - (info->ChipFamily == CHIP_FAMILY_M9) ) + (info->ChipFamily == CHIP_FAMILY_M9) || + (info->ChipFamily == CHIP_FAMILY_RV280) ) drmInfo.func = DRM_RADEON_INIT_R200_CP; else drmInfo.func = DRM_RADEON_INIT_CP; @@ -1002,6 +1003,13 @@ static int get_chipfamily_from_chipset( RADEONInfoPtr info ) info->ChipFamily = CHIP_FAMILY_M9; break; + case PCI_CHIP_RV280_Y_: + case PCI_CHIP_RV280_Ya: + case PCI_CHIP_RV280_Yb: + case PCI_CHIP_RV280_Yc: + info->ChipFamily = CHIP_FAMILY_RV280; + break; + case PCI_CHIP_R300_ND: case PCI_CHIP_R300_NE: case PCI_CHIP_R300_NF: |