summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWeixing Zhang <anzhang@ati.com>2006-07-02 16:55:25 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2006-07-02 16:55:25 +0200
commit4a0c22e32901a510c7aad070be25c31519c284e3 (patch)
tree94888d8365738b0ee63ad0f3b5259a564108fe0d
parent9c4a1e3300d30b23806988aa9328fc6ef92e2663 (diff)
Bug #6939: Disable 3D acceleration on RN50 by setting invalid ClientDriverName.
-rw-r--r--src/radeon_dri.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c
index b644659..8e159d2 100644
--- a/src/radeon_dri.c
+++ b/src/radeon_dri.c
@@ -1370,6 +1370,11 @@ Bool RADEONDRIScreenInit(ScreenPtr pScreen)
} else
if ( info->ChipFamily >= CHIP_FAMILY_R200 )
pDRIInfo->clientDriverName = R200_DRIVER_NAME;
+ else if ((info->Chipset == PCI_CHIP_RN50_515E) ||
+ (info->Chipset == PCI_CHIP_RN50_5969)) {
+ /* RN50 doesn't support 3D, so setting clientDriverName to an invalid name "RN50" */
+ pDRIInfo->clientDriverName = "RN50";
+ }
else
pDRIInfo->clientDriverName = RADEON_DRIVER_NAME;