dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mota Leite <daniel@motaleite.net>
To: dri-devel@lists.freedesktop.org
Subject: How to change radeon power state
Date: Sun, 20 Oct 2013 01:36:19 +0100	[thread overview]
Message-ID: <20131020013619.0eb03034.daniel@motaleite.net> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 3794 bytes --]

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?

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

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2013-10-20  0:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-20  0:36 Daniel Mota Leite [this message]
2013-10-20  1:09 ` How to change radeon power state Alex Deucher
2013-10-20  2:15   ` Daniel Mota Leite
2013-10-23 21:36     ` Alex Deucher
2013-10-24 17:40       ` daniel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131020013619.0eb03034.daniel@motaleite.net \
    --to=daniel@motaleite.net \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox