Dynamic clock cause hard lockup on Radeon 7000 + SMP

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Nov 26 14:30:31 PST 2004


On Wed, 2004-11-24 at 20:38 -0500, Alex Deucher wrote:

> 
> See if this works for you (also added to bugzilla).

Can you inline patches so they can be quoted ? :)

+           /* some non-mobility VE chips seem to have problems with the method of
+            * forcing everything on as per below; thus we revert to the old 
+            * forceON behavior
+            */
+           if ((info->ChipFamily == CHIP_FAMILY_RV100) && (!info->IsMobility)) {
+               if (info->HasCRTC2) {
+                       tmp = INPLL(pScrn, RADEON_SCLK_CNTL);
+                       OUTPLL(RADEON_SCLK_CNTL, ((tmp & ~RADEON_DYN_STOP_LAT_MASK) |
+                                               RADEON_CP_MAX_DYN_STOP_LAT |
+                                               RADEON_SCLK_FORCEON_MASK));
+
+                       if (info->ChipFamily == CHIP_FAMILY_RV200) {

This if if() cannot be reached...

+                               tmp = INPLL(pScrn, RADEON_SCLK_MORE_CNTL);
+                               OUTPLL(RADEON_SCLK_MORE_CNTL, tmp 
+                                               | RADEON_SCLK_MORE_FORCEON);
+                       }
+               }

  .../...





More information about the xorg mailing list