[Bug 21452] Hang when switching back to console if the ForceLowPowerMode option is enabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 22 08:32:43 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=21452





--- Comment #9 from Alex Deucher <agd5f at yahoo.com>  2009-05-22 08:32:41 PST ---
(In reply to comment #8)

> Well it might be me but actually rebuilding the driver with those lines
> uncommented and adding in xorg.conf an
> 
> Option "ClockGating" "False"
> 
> line (I had no clock gating options in xorg.conf before) doesn't fix the
> problem, ie. my laptop still hangs. 
> 

Then the lockup appears to be with the the clock or pcie code for you chip.

What your patch did is to make all of the power management code conditional on
the ClockGating option.  Effectively disabling power management all together.

     if (info->pm.clock_gating_enabled)
-       RADEONSetClockGating(pScrn, FALSE);
+      //       RADEONSetClockGating(pScrn, FALSE);
     if (info->pm.force_low_power_enabled || info->pm.dynamic_mode_enabled)
        RADEONSetStaticPowerMode(pScrn, POWER_DEFAULT);

the top "if" statement now applies to both the following "if" statement.  the
logic is now:
if (info->pm.clock_gating_enabled)
    if (info->pm.force_low_power_enabled || info->pm.dynamic_mode_enabled)
        RADEONSetStaticPowerMode(pScrn, POWER_DEFAULT);


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the xorg-driver-ati mailing list