summaryrefslogtreecommitdiff
path: root/src/radeon_dri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_dri.c')
-rw-r--r--src/radeon_dri.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c
index fc32fd9a..73349620 100644
--- a/src/radeon_dri.c
+++ b/src/radeon_dri.c
@@ -1255,14 +1255,12 @@ Bool RADEONDRIScreenInit(ScreenPtr pScreen)
info->pDRIInfo = pDRIInfo;
pDRIInfo->drmDriverName = RADEON_DRIVER_NAME;
+ if ( (info->ChipFamily >= CHIP_FAMILY_R300) ) {
+ pDRIInfo->clientDriverName = R300_DRIVER_NAME;
+ } else
if ( info->ChipFamily >= CHIP_FAMILY_R200 )
pDRIInfo->clientDriverName = R200_DRIVER_NAME;
else
- if ( (info->ChipFamily == CHIP_FAMILY_R300) ||
- (info->ChipFamily == CHIP_FAMILY_R350) ||
- (info->ChipFamily == CHIP_FAMILY_RV350) ) {
- pDRIInfo->clientDriverName = R300_DRIVER_NAME;
- } else
pDRIInfo->clientDriverName = RADEON_DRIVER_NAME;
if (xf86LoaderCheckSymbol("DRICreatePCIBusID")) {