All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
@ 2012-05-16  0:27 ` bugzilla-daemon
  2012-05-31  2:13 ` bugzilla-daemon
                   ` (36 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-05-16  0:27 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=49981

Erdem U. Altinyurt <spamjunkeater@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|xorg-driver-ati@lists.x.org |dri-devel@lists.freedesktop
                   |                            |.org
          QAContact|xorg-team@lists.x.org       |
            Product|xorg                        |DRI
            Version|unspecified                 |DRI CVS
          Component|Driver/Radeon               |DRM/Radeon

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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
  2012-05-16  0:27 ` [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached bugzilla-daemon
@ 2012-05-31  2:13 ` bugzilla-daemon
  2012-05-31  2:15 ` bugzilla-daemon
                   ` (35 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-05-31  2:13 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #1 from Brad Campbell <brad@fnarfbargle.com> 2012-05-30 19:13:12 PDT ---
Created attachment 62305
  --> https://bugs.freedesktop.org/attachment.cgi?id=62305
The hack I use to enable 3 heads on my iMac without torching the Radeon

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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
  2012-05-16  0:27 ` [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached bugzilla-daemon
  2012-05-31  2:13 ` bugzilla-daemon
@ 2012-05-31  2:15 ` bugzilla-daemon
  2012-09-28 14:32 ` bugzilla-daemon
                   ` (34 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-05-31  2:15 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #2 from Brad Campbell <brad@fnarfbargle.com> 2012-05-30 19:15:29 PDT ---
I can replicate this on all radeon enabled kernels including current.

It appears than when more than one head is enabled, a separate set of power
profiles is used which attempts to set fire to the graphics card.

I simply edited the second set of power profiles to re-enable low power mode.
It's a nasty hack, but it at least makes my 2011 iMac usable with the radeon
driver.

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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (2 preceding siblings ...)
  2012-05-31  2:15 ` bugzilla-daemon
@ 2012-09-28 14:32 ` bugzilla-daemon
  2012-09-29 17:23 ` bugzilla-daemon
                   ` (33 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-09-28 14:32 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

graham <grhm.perry@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grhm.perry@gmail.com

--- Comment #3 from graham <grhm.perry@gmail.com> ---
The profiles appear to be set in r600_pm_init_profile in r600.c, and it seems
that the power profile is one higher than the single head settings, but the
clock mode steps up the same. That doesn't appear to be the behaviour seen
though, as in multi-head mode on the HD6k the clock mode stays on full all the
time. 

That leads me to think maybe the r600 profile is not suitable for HD6k cards.
That would depend on whether the same behaviour is seen on other cards that use
r600 profile, as it's used for many more families than just Northern Islands
(see radeon_asic.c, radeon_asic btc_asic is used for hd6k series).

Also, why is it necessary to increase the power profile just for an extra head?
I can't actually figure out the logic in some of the power state and clock mode
differences between the card families, are they based on anything other than
guesswork?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2635 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (3 preceding siblings ...)
  2012-09-28 14:32 ` bugzilla-daemon
@ 2012-09-29 17:23 ` bugzilla-daemon
  2012-09-30 15:57 ` bugzilla-daemon
                   ` (32 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-09-29 17:23 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #4 from graham <grhm.perry@gmail.com> ---
The code on line 510 of r600.c suggests that there is expected to be two power
states for both POWER_STATE_TYPE_BATTERY and POWER_STATE_TYPE_PERFORMANCE,
presumably one for single-head and one for multi-head. Changing the number to 0
(the first instance of the each power state) fixes the bug and allows low power
mode. 

Could it be that there is actually only one power state for the HD6000? And the
function radeon_pm_get_type_index in radeon_pm.c is failing to find the power
state at index 1, and so is returning the default, high power state?

Also, where would I find the list of power states found in radeon_atombios.c?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1608 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (4 preceding siblings ...)
  2012-09-29 17:23 ` bugzilla-daemon
@ 2012-09-30 15:57 ` bugzilla-daemon
  2012-09-30 15:58 ` bugzilla-daemon
                   ` (31 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-09-30 15:57 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #5 from graham <grhm.perry@gmail.com> ---
If anyone with an hd6k can add drm.debug=2 to the kernel options and then post
the result of dmesg | grep "radeon_pm_print_states" it would help. For me it is
showing 4 power states, only 1 of which is 'performance', which the rest being
default. I think there is something wrong in atombios, as there should only be
one default.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1320 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (5 preceding siblings ...)
  2012-09-30 15:57 ` bugzilla-daemon
@ 2012-09-30 15:58 ` bugzilla-daemon
  2012-09-30 16:52 ` bugzilla-daemon
                   ` (30 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-09-30 15:58 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #6 from graham <grhm.perry@gmail.com> ---
Created attachment 67892
  --> https://bugs.freedesktop.org/attachment.cgi?id=67892&action=edit
power states for HD6870

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1237 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (6 preceding siblings ...)
  2012-09-30 15:58 ` bugzilla-daemon
@ 2012-09-30 16:52 ` bugzilla-daemon
  2012-09-30 17:09 ` bugzilla-daemon
                   ` (29 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-09-30 16:52 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #7 from kh3095@yandex.ru ---
Created attachment 67893
  --> https://bugs.freedesktop.org/attachment.cgi?id=67893&action=edit
power states for HD6650M

Power states for HD6650M (on HP Pavilion dv6-6030er). Linux kernel 3.2.30-1
amd64 (debian stock).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1305 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (7 preceding siblings ...)
  2012-09-30 16:52 ` bugzilla-daemon
@ 2012-09-30 17:09 ` bugzilla-daemon
  2012-09-30 23:16 ` bugzilla-daemon
                   ` (28 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-09-30 17:09 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #8 from graham <grhm.perry@gmail.com> ---
Yours would have the mobility flag set, so it would go to the second battery
state (state 4) in multi-head mode. It seems like the wrong setting too.
Stepping up though the clock modes would do nothing. It'd be better to switch
from power state 3, 5 and then 4 when going from low to high, and just leave
the clock mode on 1.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1306 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (8 preceding siblings ...)
  2012-09-30 17:09 ` bugzilla-daemon
@ 2012-09-30 23:16 ` bugzilla-daemon
  2012-10-01  1:40 ` bugzilla-daemon
                   ` (27 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-09-30 23:16 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #9 from Erdem U. Altinyurt <spamjunkeater@gmail.com> ---
Created attachment 67903
  --> https://bugs.freedesktop.org/attachment.cgi?id=67903&action=edit
HD6850 radeon_pm_print_states

Linux triQuad 3.5.4-3-desktop #1 SMP PREEMPT Tue Sep 25 08:12:55 UTC 2012
(f1a1fe2) x86_64 x86_64 x86_64 GNU/Linux
ATI Radeon 6850

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1417 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (9 preceding siblings ...)
  2012-09-30 23:16 ` bugzilla-daemon
@ 2012-10-01  1:40 ` bugzilla-daemon
  2012-10-01 17:43 ` bugzilla-daemon
                   ` (26 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-10-01  1:40 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #10 from graham <grhm.perry@gmail.com> ---
K, using AMD overdrive in windows it seems in single head mode it steps from
100Mhz to 777Mhz and then 900Mhz, but in dual head it idles at 300 Mhz, but
switches back to 775Mhz and 900Mhz for mid and high. It doesn't seem to use 600
Mhz (ps3) at all, but it's a fairly safe bet that it's the idle state for
triple head, eyefinity stuff.

So the order should be;
single-head: ps1/cm0, ps1/cm1, ps1/cm2
dual-head: ps2/cm(any), ps1/cm1, ps1/cm2
triple-head: ps3/cm(any), ps1/cm1, ps1/cm2

Thanks for the power states. Need cayman, caicos and turks still. Hopefully
they are all the same though.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1574 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (10 preceding siblings ...)
  2012-10-01  1:40 ` bugzilla-daemon
@ 2012-10-01 17:43 ` bugzilla-daemon
  2012-10-01 21:44 ` bugzilla-daemon
                   ` (25 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-10-01 17:43 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #11 from graham <grhm.perry@gmail.com> ---
Created attachment 67937
  --> https://bugs.freedesktop.org/attachment.cgi?id=67937&action=edit
patch for barts and caicos mobility

Tested on barts, not caicos. It's restricted to only the power state profiles
that I have data on so far, and falls back to the r600 profile for everything
else. The mobility profile assumes the laptop will be plugged in when in
multi-monitor mode, and so it puts it in performance mode for mid and high.

I want to sort out dynpm too, but dynpm seems to be a huge WIP at the moment,
as it just disables it completely if there is more than one monitor. With a
single monitor, NI is the same as r600, so it can use the same dynpm.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1806 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (11 preceding siblings ...)
  2012-10-01 17:43 ` bugzilla-daemon
@ 2012-10-01 21:44 ` bugzilla-daemon
  2012-10-01 23:28 ` bugzilla-daemon
                   ` (24 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-10-01 21:44 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #12 from graham <grhm.perry@gmail.com> ---
Created attachment 67953
  --> https://bugs.freedesktop.org/attachment.cgi?id=67953&action=edit
proposed patch

Had a look round on google for some other profiles. Not entirely sure about
cayman, as the idle is higher than on less powerful cards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1432 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (12 preceding siblings ...)
  2012-10-01 21:44 ` bugzilla-daemon
@ 2012-10-01 23:28 ` bugzilla-daemon
  2012-10-02  9:40 ` bugzilla-daemon
                   ` (23 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-10-01 23:28 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #13 from Alex Deucher <agd5f@yahoo.com> ---
I pushed a patch to handle this properly to my drm-next-3.7-wip branch:
http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.7-wip

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1200 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (13 preceding siblings ...)
  2012-10-01 23:28 ` bugzilla-daemon
@ 2012-10-02  9:40 ` bugzilla-daemon
  2012-10-02 13:14 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-10-02  9:40 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #14 from graham <grhm.perry@gmail.com> ---
>  starting with BTC, there is one state that is used for both
> + * MH and SH. Difference is that we always use the high clock index for
> + * mclk.

I don't think that is correct. It can clearly be seen in Windows that Barts
uses different idles for multi head than it does for single head, but uses the
same mid and high. Cayman has a different system to barts too I suspect.

> ((rdev->pm.profile_index == PM_PROFILE_MID_MH_IDX) ||
> + (rdev->pm.profile_index == PM_PROFILE_LOW_MH_IDX)))
> + mclk = rdev->pm.power_state[rdev->pm.requested_power_state_index].
> + clock_info[rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx].mclk;

Isn't that dangerous? It makes the card operate outside of the bios table
profiles. You would, in some cases, be increasing the memory clock without
increasing the voltage.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1890 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (14 preceding siblings ...)
  2012-10-02  9:40 ` bugzilla-daemon
@ 2012-10-02 13:14 ` bugzilla-daemon
  2012-10-02 13:34 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-10-02 13:14 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #15 from Alex Deucher <agd5f@yahoo.com> ---
(In reply to comment #14)
> I don't think that is correct. It can clearly be seen in Windows that Barts
> uses different idles for multi head than it does for single head, but uses
> the same mid and high. Cayman has a different system to barts too I suspect.

Windows has a very different implementation at the moment, but uses the tables
in a similar manor.

> Isn't that dangerous? It makes the card operate outside of the bios table
> profiles. You would, in some cases, be increasing the memory clock without
> increasing the voltage.

Good catch.  Fixed in v3 of the patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1678 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (15 preceding siblings ...)
  2012-10-02 13:14 ` bugzilla-daemon
@ 2012-10-02 13:34 ` bugzilla-daemon
  2012-10-02 13:44 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-10-02 13:34 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #16 from graham <grhm.perry@gmail.com> ---
> Windows has a very different implementation at the moment, but uses the tables
in a similar manor.

>From what I can tell, it uses a method very similar to dynpm, but it uses it to
switch between the fixed modes in the bios tables. I haven't seen it ever break
out of them and start setting engine clocks and memory clocks independently.
Maybe you have access to documentation that shows otherwise though?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1421 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (16 preceding siblings ...)
  2012-10-02 13:34 ` bugzilla-daemon
@ 2012-10-02 13:44 ` bugzilla-daemon
  2012-10-02 13:49 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-10-02 13:44 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #17 from graham <grhm.perry@gmail.com> ---
(In reply to comment #15)
> Good catch.  Fixed in v3 of the patch.

Um, you now seem to be putting mclk and voltage in the high state, while
leaving the engine clock really low. Surely you'll fry the gpu by over-volting
it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1277 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (17 preceding siblings ...)
  2012-10-02 13:44 ` bugzilla-daemon
@ 2012-10-02 13:49 ` bugzilla-daemon
  2012-10-02 14:07 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-10-02 13:49 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #18 from Alex Deucher <agd5f@yahoo.com> ---
(In reply to comment #17)
> Um, you now seem to be putting mclk and voltage in the high state, while
> leaving the engine clock really low. Surely you'll fry the gpu by
> over-volting it.

No, it's fine.  You can run with higher voltage, you just have to make sure
it's high enough to support the requested clocks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1376 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (18 preceding siblings ...)
  2012-10-02 13:49 ` bugzilla-daemon
@ 2012-10-02 14:07 ` bugzilla-daemon
  2012-10-02 14:18 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-10-02 14:07 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #19 from graham <grhm.perry@gmail.com> ---
And temperature?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 999 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (19 preceding siblings ...)
  2012-10-02 14:07 ` bugzilla-daemon
@ 2012-10-02 14:18 ` bugzilla-daemon
  2012-10-02 14:35 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-10-02 14:18 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #20 from graham <grhm.perry@gmail.com> ---
With voltage on high for every mode, temperature and power usage will be
exactly the same as high profile, even with engine clocks low. Setting low
profile will just mean you lose all the processing power, yet still have all
the problems associated with high power profile. Seems a bizarre fix to me tbh.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1287 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (20 preceding siblings ...)
  2012-10-02 14:18 ` bugzilla-daemon
@ 2012-10-02 14:35 ` bugzilla-daemon
  2012-10-02 14:42 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-10-02 14:35 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #21 from Alex Deucher <agd5f@yahoo.com> ---
I've gone ahead and re-pushed v2 of the patch.  The lower voltages are are to
support the higher mclks, so there's no need to keep them high.  They only need
to be adjusted up when both clocks are raised.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1189 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (21 preceding siblings ...)
  2012-10-02 14:35 ` bugzilla-daemon
@ 2012-10-02 14:42 ` bugzilla-daemon
  2012-10-15 20:56 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-10-02 14:42 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #22 from graham <grhm.perry@gmail.com> ---
Well, that patch isn't touching my card. Cya.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1028 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (22 preceding siblings ...)
  2012-10-02 14:42 ` bugzilla-daemon
@ 2012-10-15 20:56 ` bugzilla-daemon
  2012-12-28 16:23 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-10-15 20:56 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

Florian Mickler <florian@mickler.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |florian@mickler.org

--- Comment #23 from Florian Mickler <florian@mickler.org> ---
A patch referencing this bug report has been merged in Linux v3.7-rc1:

commit 27810fb2d2edacf2961dbedfe9e9f8d2e5080ea5
Author: Alex Deucher <alexander.deucher@amd.com>
Date:   Mon Oct 1 19:25:11 2012 -0400

    drm/radeon/pm: fix multi-head profile handling on BTC+ (v2)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2134 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (23 preceding siblings ...)
  2012-10-15 20:56 ` bugzilla-daemon
@ 2012-12-28 16:23 ` bugzilla-daemon
  2013-01-01  2:34 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2012-12-28 16:23 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #24 from Anthony Waters <awaters1@gmail.com> ---
On a HD6950 this patches causes the GPU to lock up if the GPU is in the low
power profile and the x server is started with multiple monitors attached.  The
x server doesn't crash immediatly, but crashes upon opening anything. I am
unable to SSH in so I cannot obtain a dmesg upon the crash.

Here are more details
1. Start up computer
2. Put gpu into low power profile through `echo low >
/sys/class/drm/card0/device/power_profile`
3. radeon_pm_info shows something like
default engine clock: 800000 kHz
current engine clock: 249990 kHz
default memory clock: 1250000 kHz
current memory clock: 1250000 kHz
voltage: 900 mV
(as expected because the patch pushesh the memory clock to the maximum with
multiple heads)
4. start the x server and open an application, GPU locks up/crashes and
displays corruption some times

However, if the GPU is set to be in the high power profile it doesn't crash. 
Here are the power tables from the GPU

[    0.814049] [drm:radeon_pm_print_states], 4 Power State(s)
[    0.814050] [drm:radeon_pm_print_states], State 0: 
[    0.814051] [drm:radeon_pm_print_states],    Default
[    0.814052] [drm:radeon_pm_print_states], 
[    0.814053]  16 PCIE Lanes
[    0.814138] [drm:radeon_pm_print_states],    3 Clock Mode(s)
[    0.814138] [drm:radeon_pm_print_states],            0 e: 800000     m:
1250000      v: 1175
[    0.814140] [drm:radeon_pm_print_states],            1 e: 800000     m:
1250000      v: 1175
[    0.814141] [drm:radeon_pm_print_states],            2 e: 800000     m:
1250000      v: 1175
[    0.814142] [drm:radeon_pm_print_states], State 1: Performance
[    0.814143] [drm:radeon_pm_print_states],    16 PCIE Lanes
[    0.814144] [drm:radeon_pm_print_states],    3 Clock Mode(s)
[    0.814145] [drm:radeon_pm_print_states],            0 e: 250000     m:
150000       v: 900
[    0.814146] [drm:radeon_pm_print_states],            1 e: 500000     m:
1250000      v: 1000
[    0.814147] [drm:radeon_pm_print_states],            2 e: 870000     m:
1250000      v: 1175
[    0.814148] [drm:radeon_pm_print_states], State 2: 
[    0.814149] [drm:radeon_pm_print_states],    16 PCIE Lanes
[    0.814150] [drm:radeon_pm_print_states],    3 Clock Mode(s)
[    0.814150] [drm:radeon_pm_print_states],            0 e: 500000     m:
1250000      v: 1000
[    0.814151] [drm:radeon_pm_print_states],            1 e: 500000     m:
1250000      v: 1000
[    0.814152] [drm:radeon_pm_print_states],            2 e: 870000     m:
1250000      v: 1175
[    0.814154] [drm:radeon_pm_print_states], State 3: 
[    0.814154] [drm:radeon_pm_print_states],    16 PCIE Lanes
[    0.814155] [drm:radeon_pm_print_states],    3 Clock Mode(s)
[    0.814156] [drm:radeon_pm_print_states],            0 e: 500000     m:
1250000      v: 1000
[    0.814157] [drm:radeon_pm_print_states],            1 e: 500000     m:
1250000      v: 1000
[    0.814158] [drm:radeon_pm_print_states],            2 e: 870000     m:
1250000      v: 1175

To summarize (all with multiple heads)

1. e: 250000 m: 1250000 v: 900 - crash
2. e: 800000 m: 1250000 v: 1175 - no crash
3. e: 250000 m: 150000  v: 900 - no crash

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 4115 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (24 preceding siblings ...)
  2012-12-28 16:23 ` bugzilla-daemon
@ 2013-01-01  2:34 ` bugzilla-daemon
  2013-02-10 16:48 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2013-01-01  2:34 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

Anthony Waters <awaters1@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cuu508@gmail.com

--- Comment #25 from Anthony Waters <awaters1@gmail.com> ---
*** Bug 42854 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2026 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (25 preceding siblings ...)
  2013-01-01  2:34 ` bugzilla-daemon
@ 2013-02-10 16:48 ` bugzilla-daemon
  2013-02-10 17:08 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2013-02-10 16:48 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #26 from luckylud@free.fr ---
I'm with a radeon 6750m mbp 8.2
It's a TURK chip 
>From Linux >= 3.7 I can't have low power working :
# cat /sys/class/drm/card0/device/power_method
profile
# cat /sys/class/drm/card0/device/power_profile
low

but  # cat /sys/kernel/debug/dri/0/radeon_pm_info :
default engine clock: 600000 kHz
current engine clock: 599970 kHz
default memory clock: 793750 kHz
current memory clock: 793750 kHz
voltage: 1000 mV

I've an external screen connected with HDMI cable, and laptop screen is off.

If the two screens are ON, the GPU and memory power go high, but not with only
one screen (LCD or external) on Linux 3.6.11 :

# cat /sys/kernel/debug/dri/0/radeon_pm_info
default engine clock: 600000 kHz
current engine clock: 99990 kHz
default memory clock: 793750 kHz
current memory clock: 150000 kHz
voltage: 900 mV

I've tried 3.8rcXXX and 3.9 WIP from here :
http://cgit.freedesktop.org/~agd5f/linux/snapshot/linux-drm-next-3.9-wip.tar.gz

Nothing can turn my radeon card at low power, Linux 3.7, 3.8, 3.9 burn my
laptop ...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2065 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (26 preceding siblings ...)
  2013-02-10 16:48 ` bugzilla-daemon
@ 2013-02-10 17:08 ` bugzilla-daemon
  2013-02-11 13:49 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2013-02-10 17:08 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #27 from Ludovic Watteaux <luckylud@free.fr> ---
Created attachment 74554
  --> https://bugs.freedesktop.org/attachment.cgi?id=74554&action=edit
HD6750m_radeon_pm_print_states

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1272 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (27 preceding siblings ...)
  2013-02-10 17:08 ` bugzilla-daemon
@ 2013-02-11 13:49 ` bugzilla-daemon
  2013-02-12 11:36 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2013-02-11 13:49 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #28 from Alex Deucher <agd5f@yahoo.com> ---
Created attachment 74606
  --> https://bugs.freedesktop.org/attachment.cgi?id=74606&action=edit
fix multi-head stability

This should fix stability problems with profiles and multi-head.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1394 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (28 preceding siblings ...)
  2013-02-11 13:49 ` bugzilla-daemon
@ 2013-02-12 11:36 ` bugzilla-daemon
  2013-02-19  2:42 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2013-02-12 11:36 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #29 from Ludovic Watteaux <luckylud@free.fr> ---
No luck for me, the patch "fix multi-head stability" apply on linux
3.9-DRM-next-WIP, doesn't change anything on 6750m, boot with linux efi stub.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1150 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (29 preceding siblings ...)
  2013-02-12 11:36 ` bugzilla-daemon
@ 2013-02-19  2:42 ` bugzilla-daemon
  2013-02-20 11:20 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2013-02-19  2:42 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #30 from Chav <chav.reddy@gmail.com> ---
Macbook Pro 8,2 Late 2011 with Radeon 6750m like Ludovic Watteaux. 

In order to get the power profile working with the kernel 3.8rc4 I had to
revert the following commits:

"drm/radeon/pm: fix multi-head profile handling on BTC+ (v2)"
27810fb2d2edacf2961dbedfe9e9f8d2e5080ea5

"drm/radeon: only adjust default clocks on NI GPUs"
2e3b3b105ab3bb5b6a37198da4f193cd13781d13.

And apply the following:

--------------------- drivers/gpu/drm/radeon/radeon_pm.c ----------------------
index dfc59c3..c045985 100644
@@ -98,7 +98,7 @@ static void radeon_pm_update_profile(struct radeon_device
*rdev)
         break;
     case PM_PROFILE_LOW:
         if (rdev->pm.active_crtc_count > 1)
-            rdev->pm.profile_index = PM_PROFILE_LOW_MH_IDX;
+            rdev->pm.profile_index = PM_PROFILE_LOW_SH_IDX;
         else
             rdev->pm.profile_index = PM_PROFILE_LOW_SH_IDX;
         break;

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1921 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (30 preceding siblings ...)
  2013-02-19  2:42 ` bugzilla-daemon
@ 2013-02-20 11:20 ` bugzilla-daemon
  2013-04-06  0:51 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2013-02-20 11:20 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #31 from Ludovic Watteaux <luckylud@free.fr> ---
Thanks Chav,
Revert the two comits and apply the patch fix it !

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1058 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (31 preceding siblings ...)
  2013-02-20 11:20 ` bugzilla-daemon
@ 2013-04-06  0:51 ` bugzilla-daemon
  2013-04-18  0:07 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2013-04-06  0:51 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #32 from Benjamin Lee <ben@b1c1l1.com> ---
On my TURKS chip (HD 6750M) the radeon_pm_print_states() output shows that I
should be using POWER_STATE_TYPE_POWERSAVE instead of POWER_STATE_TYPE_BATTERY.

I don't know if this is true for all TURKS chips or what other chips are
affected, but the following patch against 3.9-rc5 fixes power profiles on my
MacBookPro8,2.

diff -ruN linux-3.9-rc5.orig/drivers/gpu/drm/radeon/evergreen.c
linux-3.9-rc5/drivers/gpu/drm/radeon/evergreen.c
--- linux-3.9-rc5.orig/drivers/gpu/drm/radeon/evergreen.c       2013-03-31
15:12:43.000000000 -0700
+++ linux-3.9-rc5/drivers/gpu/drm/radeon/evergreen.c    2013-04-05
17:45:04.179779729 -0700
@@ -343,7 +343,9 @@
         * MH and SH.  Difference is that we always use the high clock index
for
         * mclk.
         */
-       if (rdev->flags & RADEON_IS_MOBILITY)
+       if ((rdev->flags & RADEON_IS_MOBILITY) && (rdev->family == CHIP_TURKS))
+               idx = radeon_pm_get_type_index(rdev,
POWER_STATE_TYPE_POWERSAVE, 0);
+       else if (rdev->flags & RADEON_IS_MOBILITY)
                idx = radeon_pm_get_type_index(rdev, POWER_STATE_TYPE_BATTERY,
0);
        else
                idx = radeon_pm_get_type_index(rdev,
POWER_STATE_TYPE_PERFORMANCE, 0);

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2234 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (32 preceding siblings ...)
  2013-04-06  0:51 ` bugzilla-daemon
@ 2013-04-18  0:07 ` bugzilla-daemon
  2013-05-23 13:46 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2013-04-18  0:07 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #33 from Benjamin Lee <ben@b1c1l1.com> ---
Sorry, my previous patch was bogus -- TURKS mobility actually needs
POWER_STATE_TYPE_PERFORMANCE.  radeon_pm_get_type_index() currently fails to
find the requested state (POWER_STATE_TYPE_BATTERY).

Here is a trivial patch against linux-3.8.8:

diff -ruN linux-3.8.8.orig/drivers/gpu/drm/radeon/evergreen.c
linux-3.8.8/drivers/gpu/drm/radeon/evergreen.c
--- linux-3.8.8.orig/drivers/gpu/drm/radeon/evergreen.c 2013-04-16
22:11:28.000000000 -0700
+++ linux-3.8.8/drivers/gpu/drm/radeon/evergreen.c      2013-04-17
16:51:04.858752564 -0700
@@ -343,7 +343,7 @@
         * MH and SH.  Difference is that we always use the high clock index
for
         * mclk.
         */
-       if (rdev->flags & RADEON_IS_MOBILITY)
+       if ((rdev->flags & RADEON_IS_MOBILITY) && (rdev->family != CHIP_TURKS))
                idx = radeon_pm_get_type_index(rdev, POWER_STATE_TYPE_BATTERY,
0);
        else
                idx = radeon_pm_get_type_index(rdev,
POWER_STATE_TYPE_PERFORMANCE, 0);

Running with the patch in multi-head shows reduced engine clock and voltage,
but high memory clock as expected:

blee@supra ~ $ cat /sys/class/drm/card0/device/power_method
profile
blee@supra ~ $ cat /sys/class/drm/card0/device/power_profile
low
blee@supra ~ $ sudo cat /sys/kernel/debug/dri/0/radeon_pm_info
default engine clock: 600000 kHz
current engine clock: 99990 kHz
default memory clock: 793750 kHz
current memory clock: 793750 kHz
voltage: 900 mV

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2469 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (33 preceding siblings ...)
  2013-04-18  0:07 ` bugzilla-daemon
@ 2013-05-23 13:46 ` bugzilla-daemon
  2013-08-23 17:37 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2013-05-23 13:46 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #34 from Evgeny <evgenyz@gmail.com> ---
Excuse me for disturbing all of you here, but, please, can anyone help me
finding kernel with these patches already packaged? Some PPAs?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1113 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (34 preceding siblings ...)
  2013-05-23 13:46 ` bugzilla-daemon
@ 2013-08-23 17:37 ` bugzilla-daemon
  2013-08-23 17:40 ` bugzilla-daemon
  2019-11-19  8:27 ` bugzilla-daemon
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2013-08-23 17:37 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #35 from Neil Connolly <neilconn@gmail.com> ---
I have the same overheating problem with a Sony Vaio i5 with ATI Redeon 5400
graphics.
Idle temperature quickly rises to 70oC and then any desktop activity takes the
temperature into the 80's. Running a video fullscreen causes the machine to
shutdown.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1244 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (35 preceding siblings ...)
  2013-08-23 17:37 ` bugzilla-daemon
@ 2013-08-23 17:40 ` bugzilla-daemon
  2019-11-19  8:27 ` bugzilla-daemon
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2013-08-23 17:40 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

--- Comment #36 from Alex Deucher <agd5f@yahoo.com> ---
Starting with kernel 3.11 you can enable the dynamic power management hardware
on the gpu by booting with radeon.dpm=1 on the kernel command line in grub. 
You will also need the latest smc firmware for your card.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1198 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

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached.
       [not found] <bug-49981-502@http.bugs.freedesktop.org/>
                   ` (36 preceding siblings ...)
  2013-08-23 17:40 ` bugzilla-daemon
@ 2019-11-19  8:27 ` bugzilla-daemon
  37 siblings, 0 replies; 38+ messages in thread
From: bugzilla-daemon @ 2019-11-19  8:27 UTC (permalink / raw)
  To: dri-devel


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

https://bugs.freedesktop.org/show_bug.cgi?id=49981

Martin Peres <martin.peres@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #37 from Martin Peres <martin.peres@free.fr> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/273.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2413 bytes --]

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

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

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2019-11-19  8:27 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-49981-502@http.bugs.freedesktop.org/>
2012-05-16  0:27 ` [Bug 49981] On HD6850, Power Profile doesn't change if 2 screen is attached bugzilla-daemon
2012-05-31  2:13 ` bugzilla-daemon
2012-05-31  2:15 ` bugzilla-daemon
2012-09-28 14:32 ` bugzilla-daemon
2012-09-29 17:23 ` bugzilla-daemon
2012-09-30 15:57 ` bugzilla-daemon
2012-09-30 15:58 ` bugzilla-daemon
2012-09-30 16:52 ` bugzilla-daemon
2012-09-30 17:09 ` bugzilla-daemon
2012-09-30 23:16 ` bugzilla-daemon
2012-10-01  1:40 ` bugzilla-daemon
2012-10-01 17:43 ` bugzilla-daemon
2012-10-01 21:44 ` bugzilla-daemon
2012-10-01 23:28 ` bugzilla-daemon
2012-10-02  9:40 ` bugzilla-daemon
2012-10-02 13:14 ` bugzilla-daemon
2012-10-02 13:34 ` bugzilla-daemon
2012-10-02 13:44 ` bugzilla-daemon
2012-10-02 13:49 ` bugzilla-daemon
2012-10-02 14:07 ` bugzilla-daemon
2012-10-02 14:18 ` bugzilla-daemon
2012-10-02 14:35 ` bugzilla-daemon
2012-10-02 14:42 ` bugzilla-daemon
2012-10-15 20:56 ` bugzilla-daemon
2012-12-28 16:23 ` bugzilla-daemon
2013-01-01  2:34 ` bugzilla-daemon
2013-02-10 16:48 ` bugzilla-daemon
2013-02-10 17:08 ` bugzilla-daemon
2013-02-11 13:49 ` bugzilla-daemon
2013-02-12 11:36 ` bugzilla-daemon
2013-02-19  2:42 ` bugzilla-daemon
2013-02-20 11:20 ` bugzilla-daemon
2013-04-06  0:51 ` bugzilla-daemon
2013-04-18  0:07 ` bugzilla-daemon
2013-05-23 13:46 ` bugzilla-daemon
2013-08-23 17:37 ` bugzilla-daemon
2013-08-23 17:40 ` bugzilla-daemon
2019-11-19  8:27 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.