xf86-video-ati: Branch 'randr-1.2'
Alex Deucher
agd5f at kemper.freedesktop.org
Mon Jun 25 13:18:35 PDT 2007
src/radeon_video.c | 15 ++++-----------
1 files changed, 4 insertions(+), 11 deletions(-)
New commits:
diff-tree 01bd5eb713500d3e3d4351865d460c8d1e476454 (from 52cc1dc1491559a9055f3ba6dd54064bb382ad86)
Author: Alex Deucher <alex at t41p.hsd1.va.comcast.net>
Date: Mon Jun 25 16:16:18 2007 -0400
RADEON: fix possible segfault on mobility chips with MM tables
reported by Stefan Buehler
diff --git a/src/radeon_video.c b/src/radeon_video.c
index 95db9ef..dbf66da 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -1188,17 +1188,10 @@ static void RADEONSetupTheatre(ScrnInfoP
/* Go and find Rage Theatre, if it exists */
- switch(info->Chipset){
- case PCI_CHIP_RADEON_LY:
- case PCI_CHIP_RADEON_LZ:
- xf86DrvMsg(pScrn->scrnIndex,X_INFO,"Detected Radeon Mobility M6, not scanning for Rage Theatre\n");
- break;
- case PCI_CHIP_RADEON_LW:
- xf86DrvMsg(pScrn->scrnIndex,X_INFO,"Detected Radeon Mobility M7, not scanning for Rage Theatre\n");
- break;
- default:
- pPriv->theatre=xf86_DetectTheatre(pPriv->VIP);
- }
+ if (info->IsMobility)
+ xf86DrvMsg(pScrn->scrnIndex,X_INFO,"Detected Radeon Mobility, not scanning for Rage Theatre\n");
+ else
+ pPriv->theatre=xf86_DetectTheatre(pPriv->VIP);
if(pPriv->theatre==NULL)return;
More information about the xorg-commit
mailing list