How to change radeon power state

Alex Deucher alexdeucher at gmail.com
Sun Oct 20 03:09:31 CEST 2013


On Sat, Oct 19, 2013 at 8:36 PM, Daniel Mota Leite <daniel at motaleite.net> wrote:
> Hi
>
>         i've a one ATI/AMD RV630 card with kernel 3.11.5 and dpm enabled.
> All works fine, but minor annoying problem. The dpm is choosing a power
> state that isn't the best...
>
>         This is my card :
>
> 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV 630 XT AGP [Radeon HD 2600 XT AGP]
>
>         Here is the dpm output:
>
> [   12.358738] == power state 0 ==
> [   12.358796]  ui class: none
> [   12.358895]  internal class: boot
> [   12.359069]  caps: video
> [   12.359209]  uvd    vclk: 0 dclk: 0
> [   12.359266]          power level 0    sclk: 80000 mclk: 70000 vddc: 1200
> [   12.359326]          power level 1    sclk: 80000 mclk: 70000 vddc: 1200
> [   12.359386]          power level 2    sclk: 80000 mclk: 70000 vddc: 1200
> [   12.359445]  status: c r b
> [   12.359671] == power state 1 ==
> [   12.359726]  ui class: performance
> [   12.359824]  internal class: ovrdrv
> [   12.359965]  caps: video
> [   12.360109]  uvd    vclk: 0 dclk: 0
> [   12.360166]          power level 0    sclk: 15000 mclk: 42000 vddc: 1050
> [   12.360226]          power level 1    sclk: 20000 mclk: 50000 vddc: 1080
> [   12.360285]          power level 2    sclk: 40000 mclk: 70000 vddc: 1100
> [   12.360344]  status:
> [   12.360442] == power state 2 ==
> [   12.360497]  ui class: none
> [   12.360594]  internal class: none
> [   12.360734]  caps: video
> [   12.360873]  uvd    vclk: 0 dclk: 0
> [   12.360930]          power level 0    sclk: 20000 mclk: 50000 vddc: 1080
> [   12.360990]          power level 1    sclk: 30000 mclk: 50000 vddc: 1100
> [   12.361056]          power level 2    sclk: 80000 mclk: 70000 vddc: 1200
> [   12.361115]  status:
> [   12.361415] switching from power state:
> [   12.361471]  ui class: none
> [   12.361568]  internal class: boot
> [   12.361708]  caps: video
> [   12.361847]  uvd    vclk: 0 dclk: 0
> [   12.361903]          power level 0    sclk: 80000 mclk: 70000 vddc: 1200
> [   12.361963]          power level 1    sclk: 80000 mclk: 70000 vddc: 1200
> [   12.362029]          power level 2    sclk: 80000 mclk: 70000 vddc: 1200
> [   12.362088]  status: c b
> [   12.362303] switching to power state:
> [   12.362359]  ui class: performance
> [   12.362457]  internal class: ovrdrv
> [   12.362596]  caps: video
> [   12.362735]  uvd    vclk: 0 dclk: 0
> [   12.362792]          power level 0    sclk: 15000 mclk: 42000 vddc: 1050
> [   12.362853]          power level 1    sclk: 20000 mclk: 50000 vddc: 1080
> [   12.362913]          power level 2    sclk: 40000 mclk: 70000 vddc: 1100
> [   12.362972]  status: r
>
>
>
>         As you can see, the driver choose the performance profile, but
> that one is limited to 400MHz, half of what this card can do. Of course i
> want to be able jump the GPU to 800MHz. So is there any easy way
>         to choose the power state 2 instead of power state 1?
>
>
>         Also, when in using tvtime on a second head, the dpm jumps the gpu
> clock to the max, yet i would like to use the middle speed. tvtime doesn't
> require that much resources (even low can do it!). Yet i found no way to
> force the middle power level. i can "echo high" and "echo low" to
> power_dpm_force_performance_level but trying "mid", "middle" fail.
> Is there any support to use the middle power level?


We'll probably need to add a quirk for your card.  Can you send me the
output of lspci -vnn for the GPU?

Alex

>
> Thanks in advance.
> higuita
> --
> Naturally the common people don't want war... but after all it is the
> leaders of a country who determine the policy, and it is always a
> simple matter to drag the people along, whether it is a democracy, or
> a fascist dictatorship, or a parliament, or a communist dictatorship.
> Voice or no voice, the people can always be brought to the bidding of
> the leaders. That is easy. All you have to do is tell them they are
> being attacked, and denounce the pacifists for lack of patriotism and
> exposing the country to danger.  It works the same in every country.
>            -- Hermann Goering, Nazi and war criminal, 1883-1946
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>


More information about the dri-devel mailing list