summaryrefslogtreecommitdiff
path: root/src/radeon_dri.c
diff options
context:
space:
mode:
authorWeixing Zhang <anzhang@ati.com>2006-07-02 16:55:25 +0200
committerDave Airlie <airlied@linux.ie>2006-07-05 15:42:13 +1000
commitb779109051f86b5b8af2359b2b940ac4567d77b9 (patch)
treec2a35fd2850b431bcd50bb3965004abeabd4b7a0 /src/radeon_dri.c
parent981e44d0b4fb17496f0474012f4dd40a67d58f7f (diff)
Bug #6939: Disable 3D acceleration on RN50 by setting invalid ClientDriverName.
(cherry picked from 4a0c22e32901a510c7aad070be25c31519c284e3 commit)
Diffstat (limited to 'src/radeon_dri.c')
-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 7e5840c..7aef521 100644
--- a/src/radeon_dri.c
+++ b/src/radeon_dri.c
@@ -1374,6 +1374,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;