From b779109051f86b5b8af2359b2b940ac4567d77b9 Mon Sep 17 00:00:00 2001 From: Weixing Zhang Date: Sun, 2 Jul 2006 16:55:25 +0200 Subject: Bug #6939: Disable 3D acceleration on RN50 by setting invalid ClientDriverName. (cherry picked from 4a0c22e32901a510c7aad070be25c31519c284e3 commit) --- src/radeon_dri.c | 5 +++++ 1 file changed, 5 insertions(+) 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; -- cgit v1.2.3