mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-01-21 05:03:48 +08:00
Otto Solares' patch to add radeon 9200
This commit is contained in:
parent
8236a534b7
commit
7939ed0e8e
@ -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;
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user