xf86-video-ati: Branch 'master'

Alex Deucher agd5f at kemper.freedesktop.org
Wed Jul 8 15:37:19 PDT 2009


 src/radeon_pm.c |   11 +++++++++++
 1 file changed, 11 insertions(+)

New commits:
commit 8c03c1fdb5ea35570064946557050c87ca30582a
Author: Alex Deucher <alexdeucher at gmail.com>
Date:   Wed Jul 8 18:34:57 2009 -0400

    R6xx/R7xx: fix hangs on x2 cards with PM options
    
    Changing the PCIE lanes on x2 cards results in a hang,
    so for now, disable it.
    
    Fixes fdo bug 22669

diff --git a/src/radeon_pm.c b/src/radeon_pm.c
index 131a9fd..fe8f214 100644
--- a/src/radeon_pm.c
+++ b/src/radeon_pm.c
@@ -38,6 +38,8 @@
 #include "radeon_macros.h"
 #include "radeon_atombios.h"
 
+#include "ati_pciids_gen.h"
+
 /* 10 khz */
 static uint32_t calc_eng_mem_clock(ScrnInfoPtr pScrn,
 				   uint32_t req_clock,
@@ -629,6 +631,15 @@ RADEONSetPCIELanes(ScrnInfoPtr pScrn, int lanes)
     if (info->IsIGP)
 	return;
 
+    /* don't change lanes on multi-gpu cards for now */
+    if ((info->Chipset == PCI_CHIP_RV770_9441) ||
+	(info->Chipset == PCI_CHIP_RV770_9443) ||
+	(info->Chipset == PCI_CHIP_RV770_944B) ||
+	(info->Chipset == PCI_CHIP_RV670_9506) ||
+	(info->Chipset == PCI_CHIP_RV670_9509) ||
+	(info->Chipset == PCI_CHIP_RV670_950F))
+	return;
+
     RADEONWaitForIdleMMIO(pScrn);
 
     switch (lanes) {


More information about the xorg-commit mailing list