Bug 16474
Summary: | Power management does not work for ATI radeon 4870 | ||
---|---|---|---|
Product: | Power Management | Reporter: | Jimmy Berry (jimmy) |
Component: | Other | Assignee: | power-management_other |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | alexdeucher, rui.zhang |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.35-rc6 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
Environment information from section 7 of reporting bugs guide.
vbio.rom add lower power mode for multi-head updated patch |
Description
Jimmy Berry
2010-07-27 20:28:17 UTC
Correction the card that worked was a 4850. This isn't really a bug. The power management support in the open source driver is not yet as advanced as the closed driver. For more information about what is supported see this link: http://lists.freedesktop.org/archives/dri-devel/2010-May/000492.html The "auto" profile only changes power states when the machine switches to/from battery and when the displays are in the dpms off state. Tried the following on rc6 kernel again with no luck. This definitely seems like a bug as it just refused to work. Forgot to include the following. :) echo low > /sys/class/drm/card0/device/power_profile even tried high and dynpm After some debugging with mcgreg in #radeon I still haven't gotten it to work, but I will present what was done for the record. Looped over low, high, and default performing the following sequence of commands. echo [low|high|default] > /sys/class/drm/card0/device/power_profile dmesg | grep drm (looking for [drm:radeon_set_pm_profile] *ERROR* invalid power profile!) cat /sys/kernel/debug/dri/0/radeon_pm_info which always returned: default engine clock: 750000 kHz current engine clock: 750000 kHz default memory clock: 900000 kHz current memory clock: 900000 kHz voltage: 1263 mV PCIE lanes: 16 Please attach a copy of your vbios. To get a copy, do the following as root: cd /sys/bus/pci/devices/<pci bus id> echo 1 > rom cat rom > /tmp/vbio.rom echo 0 > rom You can use lspci to get the bus id. Created attachment 27308 [details]
vbio.rom
How many monitors are you using? Two monitors. Was two 19" but just switched to two 24". Created attachment 27336 [details]
add lower power mode for multi-head
The multi-head power state currently selected has the same clock for all modes. so it won't change the clocks when multiple heads are active. This patch should provide a lower clock for multi-head modes.
Created attachment 27337 [details]
updated patch
sorry typo in the last one.
I branched the suse kernel-desktop build and applied the patch during the build...installed...tested (http://download.opensuse.org/repositories/home:/boombatower:/branches:/Kernel:/HEAD/openSUSE_11.3/x86_64/). echo high > /sys/class/drm/card0/device/power_profile cat /sys/kernel/debug/dri/0/radeon_pm_info default engine clock: 750000 kHz current engine clock: 750000 kHz default memory clock: 900000 kHz current memory clock: 900000 kHz voltage: 1263 mV PCIE lanes: 16 echo low > /sys/class/drm/card0/device/power_profile cat /sys/kernel/debug/dri/0/radeon_pm_info default engine clock: 750000 kHz current engine clock: 500000 kHz default memory clock: 900000 kHz current memory clock: 900000 kHz voltage: 1263 mV PCIE lanes: 16 My screen flickered when I changed the power_profile, just as madigens said it did for him, and my fan seems to be spinning slower! Thanks! Patch sent to Dave. It's great that kernel bugzilla is back. can you please verify if the problem still exists in the latest upstream kernel?. bug closed as there is no response from the bug reporter. please feel free to reopen it if the problem still exists in the latest upstream kernel. I can verify that this works in kernel 3.4.0. That being I can change the fan speed manually as described in #12. |