All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
@ 2014-01-06 23:35 ` bugzilla-daemon
  2014-03-05 12:50 ` bugzilla-daemon
                   ` (85 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-01-06 23:35 UTC (permalink / raw)
  To: dri-devel


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

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

Alex Deucher <agd5f@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
           Assignee|xorg-driver-ati@lists.x.org |dri-devel@lists.freedesktop
                   |                            |.org
         QA Contact|xorg-team@lists.x.org       |
            Product|xorg                        |DRI
          Component|Driver/Radeon               |DRM/Radeon

--- Comment #5 from Alex Deucher <agd5f@yahoo.com> ---
The open source driver currently relies on the vbios fan profile.  There is no
support yet for driver defined or user defined profiles.  Marking as an
enhancement request.

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

[-- Attachment #1.2: Type: text/html, Size: 2667 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
  2014-01-06 23:35 ` [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst bugzilla-daemon
@ 2014-03-05 12:50 ` bugzilla-daemon
  2014-04-09 11:41 ` bugzilla-daemon
                   ` (84 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-03-05 12:50 UTC (permalink / raw)
  To: dri-devel


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

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

Nicolas Delvaux <contact@nicolas-delvaux.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |contact@nicolas-delvaux.org

--- Comment #6 from Nicolas Delvaux <contact@nicolas-delvaux.org> ---
Same problem here on an MSI R7970 Lightning, tested with the latest Mesa
version. Enabling dpm change nothing.

For the record, here is the sensors output when the system is idle:

radeon-pci-0100
Adapter: PCI adapter
temp1:        +33.0°C  

So this indeed seems to just be a fan control issue.

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

[-- Attachment #1.2: Type: text/html, Size: 2191 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
  2014-01-06 23:35 ` [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst bugzilla-daemon
  2014-03-05 12:50 ` bugzilla-daemon
@ 2014-04-09 11:41 ` bugzilla-daemon
  2014-04-24 16:29 ` bugzilla-daemon
                   ` (83 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-04-09 11:41 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from forumbox33@hotmail.com ---
I can confirm this bug. I am currently using an MSI Radeon R9 270X, and fan
speeds are indeed at around 40% with no ability to make adjustments.

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

[-- Attachment #1.2: Type: text/html, Size: 1107 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (2 preceding siblings ...)
  2014-04-09 11:41 ` bugzilla-daemon
@ 2014-04-24 16:29 ` bugzilla-daemon
  2014-05-08 21:47 ` bugzilla-daemon
                   ` (82 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-04-24 16:29 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Marian Domanik <marian.domanik@gmail.com> ---
I can confirm this too, using ATI Sapphire 7850 2GB OC, with fglrx drivers the
fan is absolutely silent after the OS boots up and automatically speeds up in
heavy load.

With these drivers, the fan speed is always constant, no matter what load.
Would be great if it would also change accordingly. Not sure how to help to fix
this, I can provide any information needed.

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

[-- Attachment #1.2: Type: text/html, Size: 1371 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (3 preceding siblings ...)
  2014-04-24 16:29 ` bugzilla-daemon
@ 2014-05-08 21:47 ` bugzilla-daemon
  2014-05-28 14:47 ` bugzilla-daemon
                   ` (81 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-05-08 21:47 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #9 from NightmareMan <matrix9164@gmail.com> ---
I have the same issue, but with MSI HD7770. It would be great to fix this.

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

[-- Attachment #1.2: Type: text/html, Size: 1065 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (4 preceding siblings ...)
  2014-05-08 21:47 ` bugzilla-daemon
@ 2014-05-28 14:47 ` bugzilla-daemon
  2014-06-10 17:22 ` bugzilla-daemon
                   ` (80 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-05-28 14:47 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #10 from Marian Domanik <marian.domanik@gmail.com> ---
Is there any progress in this issue? I think it's more kernel issue than Xorg
drivers. Can I somehow help resolving this? It is still present using 3.14.4
kernel.

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

[-- Attachment #1.2: Type: text/html, Size: 1167 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (5 preceding siblings ...)
  2014-05-28 14:47 ` bugzilla-daemon
@ 2014-06-10 17:22 ` bugzilla-daemon
  2014-07-10 13:23 ` bugzilla-daemon
                   ` (79 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-06-10 17:22 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #11 from o-k@gmx.at ---
Yes the issue is still active with 3.14.4. I tested the open driver up to
3.15rc4 and there were no changes yet. Neither in performance nor fan noise.
(on the R9 270 from MSI)

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

[-- Attachment #1.2: Type: text/html, Size: 1104 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (6 preceding siblings ...)
  2014-06-10 17:22 ` bugzilla-daemon
@ 2014-07-10 13:23 ` bugzilla-daemon
  2014-07-16  2:31 ` bugzilla-daemon
                   ` (78 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-07-10 13:23 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #12 from André Luz <felixluz@gmail.com> ---
AMD Gigabyte 280X user here (Windforce3 model)
Fans at 40% speed for me, is very very loud. Using the 3.15 kernel in Fedora 20
with the radeonSI drivers, and the noise almost forces me to use the closed
source drivers. 

When I was back in Ubuntu and with fglrx, the fanspeed was working correctly,
it was very low (don't know how much, but maybe 10%).

When you install Windows for example and are using the WDDM drivers or default
ones, the fan speed stays around the same level (40%), which makes me believe
this is somewhat at driver level, and not Kernel.

Is there any way to reduce the speed manually, and increase it when the load
increases? (The fans ramp up with DPM already in 3.15)

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

[-- Attachment #1.2: Type: text/html, Size: 1719 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (7 preceding siblings ...)
  2014-07-10 13:23 ` bugzilla-daemon
@ 2014-07-16  2:31 ` bugzilla-daemon
  2014-07-16 19:56 ` bugzilla-daemon
                   ` (77 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-07-16  2:31 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #13 from PlasmaSnake <plasmasnake@outlook.com> ---
Although Alex already indicated the reason why this happens, I thought I'd
chime in to add myself to the list of those affected. I have a Visiontek Radeon
R7 260X, and the fan spins at 40% when the system starts up, until Catalyst
kicks in and drops it to 20%. As others have reported, radeonsi fails to do
this.

It seems that just in this thread we now have MSI, VisionTek, Sapphire, and
Gigabyte users so that's quite a few manufacturers who put a relatively high
default fan speed (I'm sort of glad that I'm not alone!). I wonder if this is
the same with Nvidia cards? Does nouveau have the ability to do fan control?

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

[-- Attachment #1.2: Type: text/html, Size: 1618 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (8 preceding siblings ...)
  2014-07-16  2:31 ` bugzilla-daemon
@ 2014-07-16 19:56 ` bugzilla-daemon
  2014-07-19  5:56 ` bugzilla-daemon
                   ` (76 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-07-16 19:56 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #14 from Martin Peres <martin.peres@ensi-bourges.fr> ---
(In reply to comment #13)
>  I wonder if this is the same with Nvidia cards? Does nouveau have the ability
> to do fan control?

Yes, we do have support for fan control in Nouveau. Manufacturers do not really
fiddle with temperature management anymore, so we do not have this problem. We
have had one person complaining about a similar bug as this, although not as
dramatic (35% instead of 30%, which is the minimum fan speed on most cards and
is barely hearable).

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

[-- Attachment #1.2: Type: text/html, Size: 1547 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (9 preceding siblings ...)
  2014-07-16 19:56 ` bugzilla-daemon
@ 2014-07-19  5:56 ` bugzilla-daemon
  2014-08-16  6:33 ` bugzilla-daemon
                   ` (75 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-07-19  5:56 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #15 from mst <mst@vfemail.net> ---
(In reply to comment #13)
>  ...
> It seems that just in this thread we now have MSI, VisionTek, Sapphire, and
> Gigabyte users so that's quite a few manufacturers who put a relatively high
> default fan speed (I'm sort of glad that I'm not alone!). I wonder if this
> is the same with Nvidia cards? Does nouveau have the ability to do fan
> control?

You can add ASUS to the list. I own an Radeon HD 7950 Direct CU II which fan
speed is by default around 40% which results in unbearable noise. fglrx dims
the speed when xorg starts. Would be nice to have this fixed.

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

[-- Attachment #1.2: Type: text/html, Size: 1618 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (10 preceding siblings ...)
  2014-07-19  5:56 ` bugzilla-daemon
@ 2014-08-16  6:33 ` bugzilla-daemon
  2014-08-25  3:49 ` bugzilla-daemon
                   ` (74 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-08-16  6:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #16 from Maron <ausaitis@gmail.com> ---
Any further news? Gigabyte HD7870 same issues as above. I have to use catalyst
because of the fan noise.

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

[-- Attachment #1.2: Type: text/html, Size: 1079 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (11 preceding siblings ...)
  2014-08-16  6:33 ` bugzilla-daemon
@ 2014-08-25  3:49 ` bugzilla-daemon
  2014-08-25  7:23 ` bugzilla-daemon
                   ` (73 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-08-25  3:49 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #17 from doug.stoneweaver@outlook.com ---
I'm not sure of the standard etiquette here - is a +1 useful to get a sense of
the number of people the bug is affecting, or just noise?

Either way, +1 for Radeon HD7970 and apologies if it's NOT useful :)

-- 
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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (12 preceding siblings ...)
  2014-08-25  3:49 ` bugzilla-daemon
@ 2014-08-25  7:23 ` bugzilla-daemon
  2014-08-31 15:26 ` bugzilla-daemon
                   ` (72 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-08-25  7:23 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #18 from Marti Raudsepp <marti@juffo.org> ---
(In reply to comment #17)
> I'm not sure of the standard etiquette here - is a +1 useful to get a sense
> of the number of people the bug is affecting, or just noise?

At the least, it's good etiquette to read the discussion before replying. As
stated in comment #5, developers already know about this. It's not a bug, but a
missing feature.

Please stop with the +1s.

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

[-- Attachment #1.2: Type: text/html, Size: 1468 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (13 preceding siblings ...)
  2014-08-25  7:23 ` bugzilla-daemon
@ 2014-08-31 15:26 ` bugzilla-daemon
  2014-09-01 11:19 ` bugzilla-daemon
                   ` (71 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-08-31 15:26 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #19 from Chernovsky Oleg <adonai@xaker.ru> ---
So I'm starting to implement fan speed control, at least partially. Since I
haven't found any related docs, this work is basically reverse-engineering.

Here's my mmiotrace for BONAIRE R7 260X on 3.17-rc2 so far

MARK 560.042950
R 4 580.364585 2 0xf0808010 0x3028 0x0 0         // read GRBM STATUS
R 4 580.364590 2 0xf080d034 0x76ceed57 0x0 0        // read SDMA0_STATUS_REG
R 4 580.364593 2 0xf080d834 0x46cee557 0x0 0        // read
R_00D834_DMA_STATUS_REG
R 4 580.364629 2 0xf0808010 0x3028 0x0 0          // read GRBM STATUS
R 4 580.364632 2 0xf080d034 0x76ceed57 0x0 0        // read SDMA0_STATUS_REG
R 4 580.364634 2 0xf080d834 0x46cee557 0x0 0        // read
R_00D834_DMA_STATUS_REG
W 4 580.364639 2 0xf0800200 0x80000004 0x0 0        // write to SMC_IND_INDEX_0
a 0x80000004
R 4 580.364641 2 0xf0800204 0x1000000 0x0 0        // read from SMC_IND_DATA_0
W 4 580.364643 2 0xf0800200 0x80000370 0x0 0        // write to SMC_IND_INDEX_0 
R 4 580.364645 2 0xf0800204 0x23730 0x0 0        // read from SMC_IND_DATA_0
W 4 580.364646 2 0xf0800250 0x5c 0x0 0            // write to SMC_MESSAGE_0 (!)
R 4 580.364649 2 0xf0800254 0x0 0x0 0            // wait for SMC_RESP
R 4 580.364652 2 0xf0800254 0x0 0x0 0            // ...
R 4 580.364655 2 0xf0800254 0x0 0x0 0            // ...
R 4 580.364659 2 0xf0800254 0x1 0x0 0            // got it!
R 4 580.364661 2 0xf0800254 0x1 0x0 0
W 4 580.364662 2 0xf0800200 0xc0300068 0x0 0        // write to SMC_IND_INDEX_0
R 4 580.364665 2 0xf0800204 0x40252f87 0x0 0        // read from SMC_IND_DATA_0
W 4 580.364666 2 0xf0800200 0xc0300064 0x0 0        // write to SMC_IND_INDEX_0
R 4 580.364668 2 0xf0800204 0x181431b 0x0 0        // read from SMC_IND_DATA_0
W 4 580.364670 2 0xf0800200 0xc0300064 0x0 0        // write to SMC_IND_INDEX_0
W 4 580.364671 2 0xf0800204 0x1814351 0x0 0        // read from SMC_IND_DATA_0
- this is the speed!
W 4 580.364672 2 0xf0800200 0xc030006c 0x0 0        // write to SMC_IND_INDEX_0
R 4 580.364674 2 0xf0800204 0x50cb0c00 0x0 0        // read from SMC_IND_DATA_0
W 4 580.364676 2 0xf0800200 0xc030006c 0x0 0        // write to SMC_IND_INDEX_0
W 4 580.364677 2 0xf0800204 0x50cb0c00 0x0 0        // read from SMC_IND_DATA_0
W 4 580.364678 2 0xf0800200 0xc030006c 0x0 0        // write to SMC_IND_INDEX_0
R 4 580.364681 2 0xf0800204 0x50cb0c00 0x0 0        // read from SMC_IND_DATA_0
W 4 580.364682 2 0xf0800200 0xc030006c 0x0 0        // write to SMC_IND_INDEX_0
W 4 580.364683 2 0xf0800204 0x50cb0c00 0x0 0        // read from SMC_IND_DATA_0

I've almost clearly understand the register keys here but I don't understand
some values that are written and read in the process.

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

[-- Attachment #1.2: Type: text/html, Size: 3639 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (14 preceding siblings ...)
  2014-08-31 15:26 ` bugzilla-daemon
@ 2014-09-01 11:19 ` bugzilla-daemon
  2014-09-01 13:08 ` bugzilla-daemon
                   ` (70 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-01 11:19 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #20 from Kamil Páral <kamil.paral@gmail.com> ---
Oleg, thanks a lot!

Alex (or anyone else, particularly if you're from AMD): would it be possible to
point Oleg to the relevant documentation if it exists, or at least find out
whether it can be published in the near future (if it doesn't exist publicly
yet), so that it doesn't have to reverse-engineered from scratch? Many thanks
for any helpful info.

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

[-- Attachment #1.2: Type: text/html, Size: 1382 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (15 preceding siblings ...)
  2014-09-01 11:19 ` bugzilla-daemon
@ 2014-09-01 13:08 ` bugzilla-daemon
  2014-09-01 13:12 ` bugzilla-daemon
                   ` (69 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-01 13:08 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #21 from Chernovsky Oleg <adonai@xaker.ru> ---
(In reply to comment #20)
> Oleg, thanks a lot!
> 
> Alex (or anyone else, particularly if you're from AMD): would it be possible
> to point Oleg to the relevant documentation if it exists, or at least find
> out whether it can be published in the near future (if it doesn't exist
> publicly yet), so that it doesn't have to reverse-engineered from scratch?
> Many thanks for any helpful info.

Actually I already come to some conclusions. First SMC writes and reads (before
SMC_MESSAGE) is just the "ci_check_smc_running" function (seems its analogue
presents in proprietary driver as well).

0x5c value should be some sort of command, so it can be defined with already
known ones in headers.

About other values things are not so clear. I suppose to get real fan speed we
need to somehow mask and shift data at smc index 0xc0300064.

I'll try to make other traces with different parameters to compare percentages
and values to the register reads and writes.

P.S. yep, some docs would be helpful, thanks

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

[-- Attachment #1.2: Type: text/html, Size: 2093 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (16 preceding siblings ...)
  2014-09-01 13:08 ` bugzilla-daemon
@ 2014-09-01 13:12 ` bugzilla-daemon
  2014-09-04  5:56 ` bugzilla-daemon
                   ` (68 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-01 13:12 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #22 from Chernovsky Oleg <adonai@xaker.ru> ---
Among other querstions - is this legal? I mean, taking traces from proprietary
driver and trying to reverse-engineer it.

I live in Russia if that's important

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

[-- Attachment #1.2: Type: text/html, Size: 1147 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (17 preceding siblings ...)
  2014-09-01 13:12 ` bugzilla-daemon
@ 2014-09-04  5:56 ` bugzilla-daemon
  2014-09-07  9:16 ` bugzilla-daemon
                   ` (67 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-04  5:56 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #23 from Zermond <zermond@gmail.com> ---
I have a similar problem with Radeon7870HD
https://bugs.freedesktop.org/show_bug.cgi?id=83453


But there are some differences in the windows ... Catalyst says that the cooler
is spinning at a rate of 40% - it is quiet, but Linuxs on hearing much more ...

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

[-- Attachment #1.2: Type: text/html, Size: 1392 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (18 preceding siblings ...)
  2014-09-04  5:56 ` bugzilla-daemon
@ 2014-09-07  9:16 ` bugzilla-daemon
  2014-09-07  9:18 ` bugzilla-daemon
                   ` (66 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-07  9:16 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #24 from Chernovsky Oleg <adonai@xaker.ru> ---
Created attachment 105853
  --> https://bugs.freedesktop.org/attachment.cgi?id=105853&action=edit
experimental patch for CI (BONAIRE etc.) for enabling fan control

So I've come up with patch that enables manual fan override for CI family at
least. I've tested it on my BONAIRE card, Radeon R7 260X.

INSTALLATION:
After compile and reboot there will be new debugfs file,
/sys/class/drm/card0/device/power_fan_control

READ:
cat /sys/class/drm/card0/device/power_fan_control
correct values are 0 to 100
on first reads it'll probably show some incorrect percentage value due to
manual control not yet enabled

WRITE:
echo 40 > /sys/class/drm/card0/device/power_fan_control
correct values are 0 to 100

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

[-- Attachment #1.2: Type: text/html, Size: 1999 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (19 preceding siblings ...)
  2014-09-07  9:16 ` bugzilla-daemon
@ 2014-09-07  9:18 ` bugzilla-daemon
  2014-09-07  9:25 ` bugzilla-daemon
                   ` (65 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-07  9:18 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #25 from Martin Peres <martin.peres@ensi-bourges.fr> ---
(In reply to comment #24)
> Created attachment 105853 [details] [review]
> experimental patch for CI (BONAIRE etc.) for enabling fan control
> 
> So I've come up with patch that enables manual fan override for CI family at
> least. I've tested it on my BONAIRE card, Radeon R7 260X.
> 
> INSTALLATION:
> After compile and reboot there will be new debugfs file,
> /sys/class/drm/card0/device/power_fan_control

Hey,

I am the Nouveau developer who added fan management support. I would really
advice you follow the hwmon recommendations and name this file pwm1.

More information about this:
https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface

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

[-- Attachment #1.2: Type: text/html, Size: 2204 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (20 preceding siblings ...)
  2014-09-07  9:18 ` bugzilla-daemon
@ 2014-09-07  9:25 ` bugzilla-daemon
  2014-09-07  9:38 ` bugzilla-daemon
                   ` (64 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-07  9:25 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #26 from Chernovsky Oleg <adonai@xaker.ru> ---
(In reply to comment #25)

> I am the Nouveau developer who added fan management support. I would really
> advice you follow the hwmon recommendations and name this file pwm1.

Sorry, I'm novice, didn't know about these. Though it's not a hw interface
really, the exchange is done through io-mapped SMC registers...

Ok, I'll make necessary changes. I assume it will allow lm-sensors to pick it
up automatically, is it correct?

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

[-- Attachment #1.2: Type: text/html, Size: 1490 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (21 preceding siblings ...)
  2014-09-07  9:25 ` bugzilla-daemon
@ 2014-09-07  9:38 ` bugzilla-daemon
  2014-09-07 13:35 ` bugzilla-daemon
                   ` (63 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-07  9:38 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #27 from Martin Peres <martin.peres@ensi-bourges.fr> ---
(In reply to comment #26)
> (In reply to comment #25)
> 
> > I am the Nouveau developer who added fan management support. I would really
> > advice you follow the hwmon recommendations and name this file pwm1.
> 
> Sorry, I'm novice, didn't know about these. 

Don't feel bad, you cannot know possibly know everything ;)

> Though it's not a hw interface
> really, the exchange is done through io-mapped SMC registers...

Not sure how more hw-oriented the interface could get :D That is still
irrelevant to the discussion though. HWMON is software interface for the
userspace.

> 
> Ok, I'll make necessary changes. I assume it will allow lm-sensors to pick
> it up automatically, is it correct?

Yes, it will!

Just to make sure we understood each others:
- pwm1 (RW) exposes the current pwm value (what you called power)
- pwm1_min(RW) min exposes the mininimum power that should be used by the fan
- pwm1_max(RW) min exposes the maximum power that should be used by the fan
- pwm1_enable (RW) exposes the current fan mode. 0 = DISABLED, 1 = MANUAL (the
user writes the fan power he/she wants to pwm1), 2 = AUTOMATIC (linear fan
management?).

Here is Nouveau's documentation on fan management:
http://cgit.freedesktop.org/nouveau/linux-2.6/tree/Documentation/thermal/nouveau_thermal

I know it is a lot of changes I am asking you to do, but consistency across
drivers is great feature!

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

[-- Attachment #1.2: Type: text/html, Size: 2703 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (22 preceding siblings ...)
  2014-09-07  9:38 ` bugzilla-daemon
@ 2014-09-07 13:35 ` bugzilla-daemon
  2014-09-07 14:18 ` bugzilla-daemon
                   ` (62 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-07 13:35 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #28 from Chernovsky Oleg <adonai@xaker.ru> ---
(In reply to comment #27)

I think I got your point. So I'll read through documentation you provided and
expose these values as hwmon interface.

> I know it is a lot of changes I am asking you to do, but consistency across drivers is great feature!

Agreed, and thanks for the hint. 

P.S. You should remember that my implementation is highly experimental and
naive (it's even tested only on my card). I can't expose some particular values
or allow to write them. E.g. I don't know how to enable automatic fan
management again after I've disabled it for now. What should I return in such
case?

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

[-- Attachment #1.2: Type: text/html, Size: 1654 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (23 preceding siblings ...)
  2014-09-07 13:35 ` bugzilla-daemon
@ 2014-09-07 14:18 ` bugzilla-daemon
  2014-09-08  4:19 ` bugzilla-daemon
                   ` (61 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-07 14:18 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #29 from Martin Peres <martin.peres@ensi-bourges.fr> ---
(In reply to comment #28)
> (In reply to comment #27)
> 
> P.S. You should remember that my implementation is highly experimental and
> naive (it's even tested only on my card). I can't expose some particular
> values or allow to write them. E.g. I don't know how to enable automatic fan
> management again after I've disabled it for now. What should I return in
> such case?

No need to hurry, finish entirely your REing before proposing an implementation
for your hardware (all the cards radeon GPUs you have). Please then ask others
with different cards to check if your implementation works on their card too.
When you got sufficient testing, propose this patch for inclusion.

Have fun!

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

[-- Attachment #1.2: Type: text/html, Size: 1829 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (24 preceding siblings ...)
  2014-09-07 14:18 ` bugzilla-daemon
@ 2014-09-08  4:19 ` bugzilla-daemon
  2014-09-13 20:22 ` bugzilla-daemon
                   ` (60 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-08  4:19 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #30 from Alex Deucher <agd5f@yahoo.com> ---
*** Bug 83453 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: 1230 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (25 preceding siblings ...)
  2014-09-08  4:19 ` bugzilla-daemon
@ 2014-09-13 20:22 ` bugzilla-daemon
  2014-09-13 20:53 ` bugzilla-daemon
                   ` (59 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-13 20:22 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #31 from Chernovsky Oleg <adonai@xaker.ru> ---
A quick update - I was finally able to retrieve all needed data from fglrx (via
some ADL SDK overdrive6 tinkering). It seems there is a lot of work (e.g. there
is a feature for setting series of pairs temperature<->fanspeed), but at least
I figured out the purpose of used registers and data values (I hope).

So I'll try to come up with basic functionality and hwmon interface this week.

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

[-- Attachment #1.2: Type: text/html, Size: 1383 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (26 preceding siblings ...)
  2014-09-13 20:22 ` bugzilla-daemon
@ 2014-09-13 20:53 ` bugzilla-daemon
  2014-09-13 21:16 ` bugzilla-daemon
                   ` (58 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-13 20:53 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #32 from Anton L. <antonl1911@gmail.com> ---
(In reply to comment #31)
> A quick update - I was finally able to retrieve all needed data from fglrx
> (via some ADL SDK overdrive6 tinkering). It seems there is a lot of work
> (e.g. there is a feature for setting series of pairs
> temperature<->fanspeed), but at least I figured out the purpose of used
> registers and data values (I hope).
> 
> So I'll try to come up with basic functionality and hwmon interface this
> week.

Hi, Oleg. Do you require dumps for PITCAIRN chips

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

[-- Attachment #1.2: Type: text/html, Size: 1564 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (27 preceding siblings ...)
  2014-09-13 20:53 ` bugzilla-daemon
@ 2014-09-13 21:16 ` bugzilla-daemon
  2014-09-14 13:13 ` bugzilla-daemon
                   ` (57 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-13 21:16 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #33 from Chernovsky Oleg <adonai@xaker.ru> ---
(In reply to comment #32)

> Hi, Oleg. Do you require dumps for PITCAIRN chips

Yes, I need as much dumps as possible. I hope overdrive v6 works for all SI
chips, so I've made simple example program for testing >SI asics, it lays here
https://github.com/Adonai/radeon-fancontrol. You can check if it works while in
X session with fglrx driver.

So you should do the following:

1) install fglrx and configure it
2) switch to  text console and stop any X being used
3) rmmod fglrx
4) now start mmiotrace (kernel has pretty nice doc here
https://www.kernel.org/doc/Documentation/trace/mmiotrace.txt)
5) modprobe fglrx
6) start X && export DISPLAY=:0
7) now begin to collect data from mmiotrace (via cat trace_pipe &), you can put
some marks here
8) start above mentioned program. There should be some noize from GPU fan for 6
seconds, it's normal
9) after it exits (in 10 seconds) collect its output and piped mmiotrace logs
and post the results here

Thanks!

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

[-- Attachment #1.2: Type: text/html, Size: 2165 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (28 preceding siblings ...)
  2014-09-13 21:16 ` bugzilla-daemon
@ 2014-09-14 13:13 ` bugzilla-daemon
  2014-09-14 14:22 ` bugzilla-daemon
                   ` (56 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-14 13:13 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #34 from Anton L. <antonl1911@gmail.com> ---
Created attachment 106260
  --> https://bugs.freedesktop.org/attachment.cgi?id=106260&action=edit
mmiotrace dump for radeon 7850

Here is mmiotrace dump for my radeon 7850, in single-CPU mode.

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

[-- Attachment #1.2: Type: text/html, Size: 1330 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (29 preceding siblings ...)
  2014-09-14 13:13 ` bugzilla-daemon
@ 2014-09-14 14:22 ` bugzilla-daemon
  2014-09-20 20:39 ` bugzilla-daemon
                   ` (55 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-14 14:22 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #35 from Martin Peres <martin.peres@ensi-bourges.fr> ---
(In reply to comment #31)
> A quick update - I was finally able to retrieve all needed data from fglrx
> (via some ADL SDK overdrive6 tinkering). It seems there is a lot of work
> (e.g. there is a feature for setting series of pairs
> temperature<->fanspeed), but at least I figured out the purpose of used
> registers and data values (I hope).

Those are called trip points ;)

Well done!

> 
> So I'll try to come up with basic functionality and hwmon interface this
> week.

Have fun ;)

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

[-- Attachment #1.2: Type: text/html, Size: 1624 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (30 preceding siblings ...)
  2014-09-14 14:22 ` bugzilla-daemon
@ 2014-09-20 20:39 ` bugzilla-daemon
  2014-09-20 20:58 ` bugzilla-daemon
                   ` (54 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-20 20:39 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #36 from Chernovsky Oleg <adonai@xaker.ru> ---
(In reply to comment #34)
> Created attachment 106260 [details]
> mmiotrace dump for radeon 7850
> 
> Here is mmiotrace dump for my radeon 7850, in single-CPU mode.

Seems you have X loading in the background while performing test... It poisons
output with unneeded info :(

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

[-- Attachment #1.2: Type: text/html, Size: 1557 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (31 preceding siblings ...)
  2014-09-20 20:39 ` bugzilla-daemon
@ 2014-09-20 20:58 ` bugzilla-daemon
  2014-09-21 21:34 ` bugzilla-daemon
                   ` (53 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-20 20:58 UTC (permalink / raw)
  To: dri-devel


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

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

Chernovsky Oleg <adonai@xaker.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #105853|0                           |1
        is obsolete|                            |

--- Comment #37 from Chernovsky Oleg <adonai@xaker.ru> ---
Created attachment 106588
  --> https://bugs.freedesktop.org/attachment.cgi?id=106588&action=edit
experimental patch for CI (BONAIRE tested) for enabling fan control with hwmon
interface

(In reply to comment #35)
> Have fun ;)

So here's the final version of what I've done. I found existing radeon hwmon
interface and added pwm1* sysfs files to it, so it exposes needed values (some
like pwm1_max are RO though).

I need someone aware of radeon driver workflow to review this patch (maybe
Alex) and to point in a right direction.

When all is good, I'll request some help from public (reddit maybe, or local
LUG) to test it extensively.

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

[-- Attachment #1.2: Type: text/html, Size: 2852 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (32 preceding siblings ...)
  2014-09-20 20:58 ` bugzilla-daemon
@ 2014-09-21 21:34 ` bugzilla-daemon
  2014-09-22 16:07 ` bugzilla-daemon
                   ` (52 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-21 21:34 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #38 from Martin Peres <martin.peres@ensi-bourges.fr> ---
(In reply to comment #37)
> Created attachment 106588 [details] [review]
> experimental patch for CI (BONAIRE tested) for enabling fan control with
> hwmon interface

Good, I left some comments on the patch :)

> 
> (In reply to comment #35)
> > Have fun ;)
> 
> So here's the final version of what I've done. I found existing radeon hwmon
> interface and added pwm1* sysfs files to it, so it exposes needed values
> (some like pwm1_max are RO though).
> 
> I need someone aware of radeon driver workflow to review this patch (maybe
> Alex) and to point in a right direction.

Posting the patch on radeon's ML (if there is none, then use dri-devel) and CC
Alex or any other radeon dev working on PM.

> 
> When all is good, I'll request some help from public (reddit maybe, or local
> LUG) to test it extensively.

When the radeon devs will think the patch is in good-enough shape, they will
likely commit it. Make sure your patch does not change the default behavior and
that should be fine.

Users willing to have manual fan management will be the testers ;)

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

[-- Attachment #1.2: Type: text/html, Size: 2700 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (33 preceding siblings ...)
  2014-09-21 21:34 ` bugzilla-daemon
@ 2014-09-22 16:07 ` bugzilla-daemon
  2014-09-22 16:10 ` bugzilla-daemon
                   ` (51 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-22 16:07 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #39 from Chernovsky Oleg <adonai@xaker.ru> ---
(In reply to comment #38)

> Good, I left some comments on the patch :)
> 

Where? Could you post a link to it, seems I can't find it...

> 
> When the radeon devs will think the patch is in good-enough shape, they will
> likely commit it. Make sure your patch does not change the default behavior
> and that should be fine.
> 
> Users willing to have manual fan management will be the testers ;)

Hmm, good point. But I'll need dumps for other cards to implement similar
behaviour, how can I achieve this goal?

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

[-- Attachment #1.2: Type: text/html, Size: 1620 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (34 preceding siblings ...)
  2014-09-22 16:07 ` bugzilla-daemon
@ 2014-09-22 16:10 ` bugzilla-daemon
  2014-09-22 16:54 ` bugzilla-daemon
                   ` (50 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-22 16:10 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #40 from Alex Deucher <agd5f@yahoo.com> ---
I found some time over the last couple of weekends to write up some preliminary
patches that should point you in the right direction; I just need to run them
by the IP team to make sure they are ok to release.  I'd like to avoid
including reverse engineered stuff in the driver as it's a lot harder for us to
maintain.

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

[-- Attachment #1.2: Type: text/html, Size: 1301 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (35 preceding siblings ...)
  2014-09-22 16:10 ` bugzilla-daemon
@ 2014-09-22 16:54 ` bugzilla-daemon
  2014-09-22 17:34 ` bugzilla-daemon
                   ` (49 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-22 16:54 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #41 from Chernovsky Oleg <adonai@xaker.ru> ---
(In reply to comment #40)
> I found some time over the last couple of weekends to write up some
> preliminary patches that should point you in the right direction; I just
> need to run them by the IP team to make sure they are ok to release.  I'd
> like to avoid including reverse engineered stuff in the driver as it's a lot
> harder for us to maintain.

I agree about RE stuff. Ok, I'll be waiting for your turn. Reading source code
of already implemented things and so on.

Though I'll have a lot of questions about where should I place things in the
driver and whether some locking required or not.

And thanks for helping hand, Alex. Really appreciate it.

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

[-- Attachment #1.2: Type: text/html, Size: 1732 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (36 preceding siblings ...)
  2014-09-22 16:54 ` bugzilla-daemon
@ 2014-09-22 17:34 ` bugzilla-daemon
  2014-09-22 17:56 ` bugzilla-daemon
                   ` (48 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-22 17:34 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #42 from Tolga Cakir <cevelnet@gmail.com> ---
I have just reviewed the patch, but I'm unsure, whether I've fully understood
it or not. If I got it right, you're giving an option to manually set
fan-speed. 

However, the driver is still lacking an auto-mode, which needs to work
out-of-the-box. Fan profiles are usually saved in VBIOS (they are also
seperately available in UEFI VBIOS); there is a Windows-only tool called VBE7,
which can extract, modify and save such profiles directly to VBIOS
(http://www.techpowerup.com/forums/threads/vbe7-vbios-editor-for-radeon-hd-7000-series-cards.189089/).

Wouldn't it be possible to implement such behaviour in the drm drivers? I mean
like: reading fan profile (like 40°C -> 20%, 60°C -> 25%, 80°C -> 45% etc. and
assuming linear scaling between those values), reading temperatures and setting
fan-speed accordingly?

I have absolutely no idea, how the Windows driver is handling this, but the
fan-profile saved in VBIOS doesn't seem to have any value for the open source
Radeon drivers, at least for my reference HD7970 card. The card is running in
BIOS-level 40% fan-speed, no matter what. I'd prefer an automatic method over
setting fan-profiles via user-land tools or manually.

Thanks for the great work so far!

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

[-- Attachment #1.2: Type: text/html, Size: 2375 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (37 preceding siblings ...)
  2014-09-22 17:34 ` bugzilla-daemon
@ 2014-09-22 17:56 ` bugzilla-daemon
  2014-10-02 20:59 ` bugzilla-daemon
                   ` (47 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-09-22 17:56 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #43 from Chernovsky Oleg <adonai@xaker.ru> ---
(In reply to comment #42)
>If I got it right, you're giving an option to manually set fan-speed.

Yes, you understood it right. For now it's only the option to manually set fan
speed.

> 
> Wouldn't it be possible to implement such behaviour in the drm drivers? I
> mean like: reading fan profile (like 40°C -> 20%, 60°C -> 25%, 80°C -> 45%
> etc. and assuming linear scaling between those values), reading temperatures
> and setting fan-speed accordingly?
> 

That's not impossible, and there's an API called Overdrive6 that's both
accessible to Windows and Linux (only closed source driver though). Mmiotracing
those calls (yeah, actually that thing you mentioned - setting
temperature<-->speed pairs) can lead to implementing this behaviour in
open-sorce driver. Alex said he can provide some patches for me to start with,
let's see if it will cover these demands.

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

[-- Attachment #1.2: Type: text/html, Size: 2037 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (38 preceding siblings ...)
  2014-09-22 17:56 ` bugzilla-daemon
@ 2014-10-02 20:59 ` bugzilla-daemon
  2014-10-03 13:32 ` bugzilla-daemon
                   ` (46 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-10-02 20:59 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #44 from Chernovsky Oleg <adonai@xaker.ru> ---
(In reply to Alex Deucher from comment #40)
> I found some time over the last couple of weekends to write up some
> preliminary patches that should point you in the right direction; I just
> need to run them by the IP team to make sure they are ok to release.  I'd
> like to avoid including reverse engineered stuff in the driver as it's a lot
> harder for us to maintain.

Alex, just reminding you of this bug, did the patch you mentioned passed the
review?
I'm inly waiting :)

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

[-- Attachment #1.2: Type: text/html, Size: 1542 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (39 preceding siblings ...)
  2014-10-02 20:59 ` bugzilla-daemon
@ 2014-10-03 13:32 ` bugzilla-daemon
  2014-10-26 17:40 ` bugzilla-daemon
                   ` (45 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-10-03 13:32 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #45 from Alex Deucher <agd5f@yahoo.com> ---
I pinged the IP review teams again this week.  Sorry for the delay.

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

[-- Attachment #1.2: Type: text/html, Size: 1042 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (40 preceding siblings ...)
  2014-10-03 13:32 ` bugzilla-daemon
@ 2014-10-26 17:40 ` bugzilla-daemon
  2014-10-29 19:38 ` bugzilla-daemon
                   ` (44 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-10-26 17:40 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #46 from PlasmaSnake <plasmasnake@outlook.com> ---
Is there any progress on this?

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

[-- Attachment #1.2: Type: text/html, Size: 1019 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (41 preceding siblings ...)
  2014-10-26 17:40 ` bugzilla-daemon
@ 2014-10-29 19:38 ` bugzilla-daemon
  2014-10-30 11:42 ` bugzilla-daemon
                   ` (43 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-10-29 19:38 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #47 from Alex Deucher <agd5f@yahoo.com> ---
Sorry for the delay, my initial patches are here:
http://people.freedesktop.org/~agd5f/fan_cntl/

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

[-- Attachment #1.2: Type: text/html, Size: 1132 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (42 preceding siblings ...)
  2014-10-29 19:38 ` bugzilla-daemon
@ 2014-10-30 11:42 ` bugzilla-daemon
  2014-10-30 15:44 ` bugzilla-daemon
                   ` (42 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-10-30 11:42 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #48 from Anton L. <antonl1911@gmail.com> ---
Alex, will these patches correct fan speed for PITCAIRN cards?

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

[-- Attachment #1.2: Type: text/html, Size: 1039 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (43 preceding siblings ...)
  2014-10-30 11:42 ` bugzilla-daemon
@ 2014-10-30 15:44 ` bugzilla-daemon
  2014-11-07 17:59 ` bugzilla-daemon
                   ` (41 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-10-30 15:44 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #49 from Alex Deucher <agd5f@yahoo.com> ---
(In reply to Anton L. from comment #48)
> Alex, will these patches correct fan speed for PITCAIRN cards?

Yes, once they are working properly.

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

[-- Attachment #1.2: Type: text/html, Size: 1188 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (44 preceding siblings ...)
  2014-10-30 15:44 ` bugzilla-daemon
@ 2014-11-07 17:59 ` bugzilla-daemon
  2014-11-13 18:49 ` bugzilla-daemon
                   ` (40 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-11-07 17:59 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #50 from Chernovsky Oleg <adonai@xaker.ru> ---
(In reply to Alex Deucher from comment #49)
> (In reply to Anton L. from comment #48)
> > Alex, will these patches correct fan speed for PITCAIRN cards?
> 
> Yes, once they are working properly.

Oh, thanks, Alex, I'll try to figure out what needs to be done on weekend

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

[-- Attachment #1.2: Type: text/html, Size: 1373 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (45 preceding siblings ...)
  2014-11-07 17:59 ` bugzilla-daemon
@ 2014-11-13 18:49 ` bugzilla-daemon
  2014-11-13 18:51 ` bugzilla-daemon
                   ` (39 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-11-13 18:49 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #51 from Alex Deucher <alexdeucher@gmail.com> ---
Updated patches in my 3.19-wip branch:
http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.19-wip

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

[-- Attachment #1.2: Type: text/html, Size: 1171 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (46 preceding siblings ...)
  2014-11-13 18:49 ` bugzilla-daemon
@ 2014-11-13 18:51 ` bugzilla-daemon
  2014-11-27 14:40 ` bugzilla-daemon
                   ` (38 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-11-13 18:51 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #52 from Alex Deucher <alexdeucher@gmail.com> ---
FWIW, all boards support percent based fan control, but only boards with the
ucTachometerPulsesPerRevolution field set in the vbios support rpm based fan
control.

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

[-- Attachment #1.2: Type: text/html, Size: 1149 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (47 preceding siblings ...)
  2014-11-13 18:51 ` bugzilla-daemon
@ 2014-11-27 14:40 ` bugzilla-daemon
  2014-11-27 14:43 ` bugzilla-daemon
                   ` (37 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-11-27 14:40 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #53 from Chernovsky Oleg <adonai@xaker.ru> ---
Alex, what's the point of calling si_thermal_start_smc_fan_control (and then
eventually si_fan_ctrl_start_smc_fan_control) from
si_thermal_start_thermal_controller? From my experience they're doing it only
on overdrive request from userspace, am I correct?

-- 
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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (48 preceding siblings ...)
  2014-11-27 14:40 ` bugzilla-daemon
@ 2014-11-27 14:43 ` bugzilla-daemon
  2014-11-29 10:20 ` bugzilla-daemon
                   ` (36 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-11-27 14:43 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #54 from Chernovsky Oleg <adonai@xaker.ru> ---
Never mind last comment, I was taking PPSMC codes in reverese meaning...

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

[-- Attachment #1.2: Type: text/html, Size: 1053 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (49 preceding siblings ...)
  2014-11-27 14:43 ` bugzilla-daemon
@ 2014-11-29 10:20 ` bugzilla-daemon
  2014-11-29 10:38 ` bugzilla-daemon
                   ` (35 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-11-29 10:20 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #55 from Chernovsky Oleg <adonai@xaker.ru> ---
I'm digging deeper...

> #define		FDO_PWM_MODE_MASK			(3 << 11)

aaaand....

> #define FDO_PWM_MODE_STATIC  1
> #define FDO_PWM_MODE_STATIC_RPM 5

and in ci_fan_ctrl_set_static_mode we're taking one of these modes as argument
and shifting it, I assume? But how can 5 (0b101) match into mask 3 (0b11)?

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

[-- Attachment #1.2: Type: text/html, Size: 1390 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (50 preceding siblings ...)
  2014-11-29 10:20 ` bugzilla-daemon
@ 2014-11-29 10:38 ` bugzilla-daemon
  2014-12-01  3:06 ` bugzilla-daemon
                   ` (34 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-11-29 10:38 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #56 from Chernovsky Oleg <adonai@xaker.ru> ---
And another one:

>#define	CG_FDO_CTRL0					0xC0300064
>#define		FDO_STATIC_DUTY(x)			((x) << 0)
>#define		FDO_STATIC_DUTY_MASK			0x0000000F
>#define		FDO_STATIC_DUTY_SHIFT			0
>#define	CG_FDO_CTRL1					0xC0300068
>#define		FMAX_DUTY100(x)				((x) << 0)
>#define		FMAX_DUTY100_MASK			0x0000000F
>#define		FMAX_DUTY100_SHIFT			0

I see the values like this on my BONAIRE:
>W 4 587.343959 2 0xf0800200 0xc0300068 0x0 0 // it's CG_FDO_CTRL1
>R 4 587.343962 2 0xf0800204 0x40252f87 0x0 0 
>W 4 580.364670 2 0xf0800200 0xc0300064 0x0 0 // CG_FDO_CTRL0
>W 4 580.364671 2 0xf0800204 0x1814351 0x0 0  // I'm setting speed 50%
>W 4 594.360662 2 0xf0800200 0xc0300064 0x0 0 // CG_FDO_CTRL0 again
>W 4 594.360663 2 0xf0800204 0x1814387 0x0 0  // I'm setting speed 100%

Are you sure the FDO_STATIC_DUTY_MASK and FMAX_DUTY100_MASK is 0xF and not
0xFF?

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

[-- Attachment #1.2: Type: text/html, Size: 1978 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (51 preceding siblings ...)
  2014-11-29 10:38 ` bugzilla-daemon
@ 2014-12-01  3:06 ` bugzilla-daemon
  2014-12-01  6:29 ` bugzilla-daemon
                   ` (33 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-12-01  3:06 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #57 from Alex Deucher <alexdeucher@gmail.com> ---
You're right about the masks.  Fixed in my 3.19-wip branch:
http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.19-wip

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

[-- Attachment #1.2: Type: text/html, Size: 1192 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (52 preceding siblings ...)
  2014-12-01  3:06 ` bugzilla-daemon
@ 2014-12-01  6:29 ` bugzilla-daemon
  2014-12-01 22:34 ` bugzilla-daemon
                   ` (32 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-12-01  6:29 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #58 from Chernovsky Oleg <adonai@xaker.ru> ---
Another observation:
I've uncommented  ci_fan_ctrl_set_fan_speed_percent and tried to bind it to
hwmon interface.

So, if I try to set static value to the fan, then I see 0x50CB1435 in
CG_FDO_CTRL2 and the fan runs 100% percent always, regardless of values I'm
echoing

But if I push 0x50CB0C00 to the CG_FDO_CTRL2 instead of trusting 
ci_fan_ctrl_set_static_mode, it begins to react on values I echoed.

Can you elaborate on what each bit of this control register means? Maybe I just
can't into abbreviations :)

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

[-- Attachment #1.2: Type: text/html, Size: 1493 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (53 preceding siblings ...)
  2014-12-01  6:29 ` bugzilla-daemon
@ 2014-12-01 22:34 ` bugzilla-daemon
  2014-12-03 22:24 ` bugzilla-daemon
                   ` (31 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-12-01 22:34 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #59 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Chernovsky Oleg from comment #58)
> Can you elaborate on what each bit of this control register means? Maybe I
> just can't into abbreviations :)

TMIN - temp at which the fan would be turned on
FDO_PWM_MODE - which PWM mode to use:
0 - static PWM based on fuse value
1 - static PWM based on CG_FDO_CTRL0.FDO_STATIC_DUTY value
2 - dynamic PWM
5 - static PWM based on RPM CG_TACH_CTRL.TARGET_PERIOD value
TACH_PWM_RESP_RATE - amount to adjust PWM in tach mode

As far as I know, only values 1 and 5 are used for FDO_PWM_MODE in the driver
for manual control.  I'm not sure what dynamic PWM (2) means or how it works. 
It might be used by the smc for fan control.

I also noticed a minor error in the RPM control setup, and I've pushed a patch
to my 3.19-wip branch.

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

[-- Attachment #1.2: Type: text/html, Size: 1838 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (54 preceding siblings ...)
  2014-12-01 22:34 ` bugzilla-daemon
@ 2014-12-03 22:24 ` bugzilla-daemon
  2014-12-03 23:06 ` bugzilla-daemon
                   ` (30 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-12-03 22:24 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #60 from Chernovsky Oleg <adonai@xaker.ru> ---
(In reply to Alex Deucher from comment #59)
> I also noticed a minor error in the RPM control setup, and I've pushed a
> patch to my 3.19-wip branch.

I (think I) found another typo, that was tricky one to notice :D

>	tmp = RREG32_SMC(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK;
>	tmp |= FDO_PWM_MODE(mode);
>	WREG32_SMC(CG_FDO_CTRL2, tmp);

bitwise not (~) is missing from the first line

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

[-- Attachment #1.2: Type: text/html, Size: 1514 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (55 preceding siblings ...)
  2014-12-03 22:24 ` bugzilla-daemon
@ 2014-12-03 23:06 ` bugzilla-daemon
  2014-12-04  0:12 ` bugzilla-daemon
                   ` (29 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-12-03 23:06 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #61 from Alex Deucher <alexdeucher@gmail.com> ---
Good catch.  Fix pushed to my 3.19-wip branch.

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

[-- Attachment #1.2: Type: text/html, Size: 1033 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (56 preceding siblings ...)
  2014-12-03 23:06 ` bugzilla-daemon
@ 2014-12-04  0:12 ` bugzilla-daemon
  2014-12-05  7:19 ` bugzilla-daemon
                   ` (28 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-12-04  0:12 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #62 from Alex Deucher <alexdeucher@gmail.com> ---
With the latest bugs noticed by Oleg fixed, smc fan control seems to work well
on CI parts so I've enabled it by default.  smc fan control on SI is still not
working yet, but it's probably something small.  You can test it on my 3.19-wip
branch.

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

[-- Attachment #1.2: Type: text/html, Size: 1232 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (57 preceding siblings ...)
  2014-12-04  0:12 ` bugzilla-daemon
@ 2014-12-05  7:19 ` bugzilla-daemon
  2014-12-05 19:16 ` bugzilla-daemon
                   ` (27 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-12-05  7:19 UTC (permalink / raw)
  To: dri-devel


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

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

Chernovsky Oleg <adonai@xaker.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #106588|0                           |1
        is obsolete|                            |

--- Comment #63 from Chernovsky Oleg <adonai@xaker.ru> ---
Created attachment 110476
  --> https://bugs.freedesktop.org/attachment.cgi?id=110476&action=edit
hwmon interface for manual fan control on CI cards

Hi Alex, I've made rough patch implementing hwmon interface for the code you've
provided. Please take a look (comments inside).

Patch is done on top of your 3.19-wip branch.

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

[-- Attachment #1.2: Type: text/html, Size: 2381 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (58 preceding siblings ...)
  2014-12-05  7:19 ` bugzilla-daemon
@ 2014-12-05 19:16 ` bugzilla-daemon
  2014-12-05 20:11 ` bugzilla-daemon
                   ` (26 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-12-05 19:16 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #64 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Chernovsky Oleg from comment #63)
> Created attachment 110476 [details] [review]
> hwmon interface for manual fan control on CI cards
> 
> Hi Alex, I've made rough patch implementing hwmon interface for the code
> you've provided. Please take a look (comments inside).
> 
> Patch is done on top of your 3.19-wip branch.

Looks good.  Please split into 3 patches:

1. add the new dpm asic callbacks
2. add the common hwmon fan code.  Make sure it's only enabled on asics which
support manual fan control
3. wire up the CI specific code

As far as percent vs. rpm, I'm not sure which would be preferred.  I think the
hwmon subsystem generally prefers rpm.  Maybe add callbacks for both percent
and rpm and then check rdev->pm.fan_pulses_per_revolution.  If it's 0, expose
it as a percent.  if not, expose as rpm.  Thoughts?  Might be worth asking on
the hwmon mailing lists.

Also, we should only expose these on asics which support fan control.

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

[-- Attachment #1.2: Type: text/html, Size: 2375 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (59 preceding siblings ...)
  2014-12-05 19:16 ` bugzilla-daemon
@ 2014-12-05 20:11 ` bugzilla-daemon
  2014-12-06 19:16 ` bugzilla-daemon
                   ` (25 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-12-05 20:11 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #65 from Chernovsky Oleg <adonai@xaker.ru> ---
> 1. add the new dpm asic callbacks
> 2. add the common hwmon fan code.  Make sure it's only enabled on asics
> which support manual fan control
> 3. wire up the CI specific code

Ok, makes sense

> 
> As far as percent vs. rpm, I'm not sure which would be preferred.  I think
> the hwmon subsystem generally prefers rpm.  Maybe add callbacks for both
> percent and rpm and then check rdev->pm.fan_pulses_per_revolution.  If it's
> 0, expose it as a percent.  if not, expose as rpm.  Thoughts?  Might be
> worth asking on the hwmon mailing lists.

Good idea, I'll try to test rpm behaviour today

> Also, we should only expose these on asics which support fan control.

No problem, some tinkering with `hwmon_attributes_visible` should make it.

I'll refresh & update patches on weekend.

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

[-- Attachment #1.2: Type: text/html, Size: 1892 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (60 preceding siblings ...)
  2014-12-05 20:11 ` bugzilla-daemon
@ 2014-12-06 19:16 ` bugzilla-daemon
  2014-12-12 21:10 ` bugzilla-daemon
                   ` (24 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-12-06 19:16 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #66 from Martin Peres <martin.peres@ensi-bourges.fr> ---
(In reply to Alex Deucher from comment #64)
> 
> As far as percent vs. rpm, I'm not sure which would be preferred.  I think
> the hwmon subsystem generally prefers rpm.  Maybe add callbacks for both
> percent and rpm and then check rdev->pm.fan_pulses_per_revolution.  If it's
> 0, expose it as a percent.  if not, expose as rpm.  Thoughts?  Might be
> worth asking on the hwmon mailing lists.

No need to guess, everything is written here ;)
https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface

pwm1 should expose the duty cycle and nothing else. If you also have a
tachometer, expose it with fan1_input :)

If you want to set the fan speed with RPM instead of the duty cycle, you'll
need to use fan1_target. You may wonder what should happen if you set both pwm1
and fan1_target. Well, I would think that the latest you set should take
precedence.

Please try to stick to the document I provided, for the sake of having a common
behaviour. I hope I helped a little on this ;)

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

[-- Attachment #1.2: Type: text/html, Size: 2155 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (61 preceding siblings ...)
  2014-12-06 19:16 ` bugzilla-daemon
@ 2014-12-12 21:10 ` bugzilla-daemon
  2014-12-12 21:13 ` bugzilla-daemon
                   ` (23 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-12-12 21:10 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #67 from Chernovsky Oleg <adonai@xaker.ru> ---
Alex, more comments, now on SI impl

>#define	CG_FDO_CTRL0					0x754
>#define	CG_FDO_CTRL1					0x758
>#define	CG_FDO_CTRL2					0x75C

Are you sure they're 0x75* and not 0x76*?

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

[-- Attachment #1.2: Type: text/html, Size: 1227 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (62 preceding siblings ...)
  2014-12-12 21:10 ` bugzilla-daemon
@ 2014-12-12 21:13 ` bugzilla-daemon
  2014-12-12 22:06 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-12-12 21:13 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #68 from Chernovsky Oleg <adonai@xaker.ru> ---
(In reply to Martin Peres from comment #66)

Martin, there're things I think I didn't get correctly:
- What should I return if pwm1_enable is 0 and I'm trying to push 50 into pwm1?
- Can pwm1_enabled value be 2 after I push 0 to it? Radeon default fan value
comes from fuse and it's not 100%

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

[-- Attachment #1.2: Type: text/html, Size: 1312 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (63 preceding siblings ...)
  2014-12-12 21:13 ` bugzilla-daemon
@ 2014-12-12 22:06 ` bugzilla-daemon
  2014-12-12 22:30 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-12-12 22:06 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #69 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Chernovsky Oleg from comment #67)
> Alex, more comments, now on SI impl
> 
> >#define	CG_FDO_CTRL0					0x754
> >#define	CG_FDO_CTRL1					0x758
> >#define	CG_FDO_CTRL2					0x75C
> 
> Are you sure they're 0x75* and not 0x76*?

Yes they are at 0x75*, I just double checked the register database.

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

[-- Attachment #1.2: Type: text/html, Size: 1427 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (64 preceding siblings ...)
  2014-12-12 22:06 ` bugzilla-daemon
@ 2014-12-12 22:30 ` bugzilla-daemon
  2014-12-12 22:36 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-12-12 22:30 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #70 from Chernovsky Oleg <adonai@xaker.ru> ---
(In reply to Alex Deucher from comment #69)

> Yes they are at 0x75*, I just double checked the register database.

Hmm ok... strange though, for CI the offset from CG_MULT_THERMAL_STATUS to
CG_FDO_CTRL0 is 0x50, and from CG_FDO_CTRL0 to CG_TACH_CTRL is 0xC, but for SI
they's 0x40 and (again!) 0xC accordingly...

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

[-- Attachment #1.2: Type: text/html, Size: 1365 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (65 preceding siblings ...)
  2014-12-12 22:30 ` bugzilla-daemon
@ 2014-12-12 22:36 ` bugzilla-daemon
  2014-12-13  5:53 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-12-12 22:36 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #71 from Chernovsky Oleg <adonai@xaker.ru> ---
Never mind last comment, just thought about additional registers in the middle
of range.

I'll have a SI part at the end of December, hope I'll be able to perform some
tests on it.

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

[-- Attachment #1.2: Type: text/html, Size: 1161 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (66 preceding siblings ...)
  2014-12-12 22:36 ` bugzilla-daemon
@ 2014-12-13  5:53 ` bugzilla-daemon
  2015-01-04 14:11 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2014-12-13  5:53 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #72 from Martin Peres <martin.peres@ensi-bourges.fr> ---
Hey Oleg,

(In reply to Chernovsky Oleg from comment #68)
> (In reply to Martin Peres from comment #66)
> 
> Martin, there're things I think I didn't get correctly:
> - What should I return if pwm1_enable is 0 and I'm trying to push 50 into
> pwm1?

I made Nouveau return -EINVAL.

> - Can pwm1_enabled value be 2 after I push 0 to it? Radeon default fan value
> comes from fuse and it's not 100%

So, you mean that the boot default for the fan mode is the automatic mode,
right? That's perfectly fine.

The only thing you need to make sure of is that when the user writes 0 to
pwm1_enable, you should disable auto fan management and set the fan speed to
100%.

To be honest, I find the mode 0 to be useless, but the spec is the spec :s

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

[-- Attachment #1.2: Type: text/html, Size: 1894 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (67 preceding siblings ...)
  2014-12-13  5:53 ` bugzilla-daemon
@ 2015-01-04 14:11 ` bugzilla-daemon
  2015-01-07 19:11 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-01-04 14:11 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #73 from !evil <a_rappold@gmx.at> ---
(In reply to Chernovsky Oleg from comment #24)
> Created attachment 105853 [details] [review]
> experimental patch for CI (BONAIRE etc.) for enabling fan control
> 
> So I've come up with patch that enables manual fan override for CI family at
> least. I've tested it on my BONAIRE card, Radeon R7 260X.
> 
> INSTALLATION:
> After compile and reboot there will be new debugfs file,
> /sys/class/drm/card0/device/power_fan_control
> 
> READ:
> cat /sys/class/drm/card0/device/power_fan_control
> correct values are 0 to 100
> on first reads it'll probably show some incorrect percentage value due to
> manual control not yet enabled
> 
> WRITE:
> echo 40 > /sys/class/drm/card0/device/power_fan_control
> correct values are 0 to 100

Is there an easy way to get something similar working with the latest kernel
(3.19 rc2)? Obviously there is disabled code (#if 0) but simply enabling it
won't change anything i suppose. Also, I need it for SI (R9 280).

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

[-- Attachment #1.2: Type: text/html, Size: 2423 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (68 preceding siblings ...)
  2015-01-04 14:11 ` bugzilla-daemon
@ 2015-01-07 19:11 ` bugzilla-daemon
  2015-01-07 21:08 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-01-07 19:11 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #74 from !evil <a_rappold@gmx.at> ---
Created attachment 111927
  --> https://bugs.freedesktop.org/attachment.cgi?id=111927&action=edit
!evil's venture for manual fan speed control

I tried to adjust Chernovsky Oleg's code such that it uses the disabled
functions in 3.19 rc3. But it didn't work out for me. On my system the
'power_fan_speed' file (which should be named pwm..) is not created. Maybe my
setup is broken and the code never gets executed. dmesg does however state: dpm
initialized. Anyways, if this would work, I would come up with some dummy
automatic fan speed regulator, most probably written in python.

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

[-- Attachment #1.2: Type: text/html, Size: 1811 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (69 preceding siblings ...)
  2015-01-07 19:11 ` bugzilla-daemon
@ 2015-01-07 21:08 ` bugzilla-daemon
  2015-01-08 23:02 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-01-07 21:08 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #75 from Alex Deucher <alexdeucher@gmail.com> ---
Pushed a 3.20 wip branch with Oleg's patches plus some minor fixes and support
for SI.

http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.20-wip

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

[-- Attachment #1.2: Type: text/html, Size: 1220 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (70 preceding siblings ...)
  2015-01-07 21:08 ` bugzilla-daemon
@ 2015-01-08 23:02 ` bugzilla-daemon
  2015-01-18 14:25 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-01-08 23:02 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #76 from Slava F. <ecdrvf@gmail.com> ---
Created attachment 111981
  --> https://bugs.freedesktop.org/attachment.cgi?id=111981&action=edit
mmiotrace dump for HD6750 (JUNIPER Pro)

Dump from HD6750 JUNIPER.
All as you describe, but fan don't change its RPM (based on percent):
INF: Nr. of Adapters: 3
INF: Adapter index: 0, active, ID:-1973430928, AMD Radeon HD 6700 Series
INF: Adapter index: 1, inact., ID:-1973430928, AMD Radeon HD 6700 Series
INF: Adapter index: 2, inact., ID:-1973430928, AMD Radeon HD 6700 Series
  Getting caps info...
Capabilities Info:
ExtMask 0x0
ExtValue 32767
Capabilities 0x7
Number of performance levels 3
FanSpeedType 1
  Getting fanspeed info...
Fanspeed Info:
ExtMask 0xdfecaef0
ExtValue 0
FanSpeedPercent 40
FanSpeedRPM 0
FanSpeedType 0x1
  Setting fanspeed info as 100%...
Getting fanspeed info...
Fanspeed Info:
ExtMask 0x1
ExtValue 0
FanSpeedPercent 40
FanSpeedRPM 1
FanSpeedType 0x1
  Setting fanspeed info as 100%...
Getting fanspeed info...
Fanspeed Info:
ExtMask 0x1
ExtValue 0
FanSpeedPercent 40
FanSpeedRPM 1
FanSpeedType 0x1
  Setting fanspeed info as 100%...
Getting fanspeed info...
Fanspeed Info:
ExtMask 0x2
ExtValue 0
FanSpeedPercent 40
FanSpeedRPM 2
FanSpeedType 0x1

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

[-- Attachment #1.2: Type: text/html, Size: 2315 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (71 preceding siblings ...)
  2015-01-08 23:02 ` bugzilla-daemon
@ 2015-01-18 14:25 ` bugzilla-daemon
  2015-01-18 16:58 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-01-18 14:25 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #77 from Chernovsky Oleg <adonai@xaker.ru> ---
(In reply to Slava F. from comment #76)
> Created attachment 111981 [details]
> mmiotrace dump for HD6750 (JUNIPER Pro)
> 
> Dump from HD6750 JUNIPER.
> All as you describe, but fan don't change its RPM (based on percent):

Yup, sorry, the HD6xxx parts are not supported by this software. They don't
have Overdrive6 capabilities required for it to work.

All changes mentioned in this bug discussion are about Southern Islands and Sea
Islands parts (see Radeon Matrix [1]), sorry again.

Alex, are there any patches for older generations?

[1] http://xorg.freedesktop.org/wiki/RadeonFeature/

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

[-- Attachment #1.2: Type: text/html, Size: 1950 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (72 preceding siblings ...)
  2015-01-18 14:25 ` bugzilla-daemon
@ 2015-01-18 16:58 ` bugzilla-daemon
  2015-01-26  3:21 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-01-18 16:58 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #78 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Chernovsky Oleg from comment #77)
> Yup, sorry, the HD6xxx parts are not supported by this software. They don't
> have Overdrive6 capabilities required for it to work.
> 
> All changes mentioned in this bug discussion are about Southern Islands and
> Sea Islands parts (see Radeon Matrix [1]), sorry again.
> 
> Alex, are there any patches for older generations?

Older parts didn't have smc fan control so the default fan profile set up by
the vbios is pretty good.  However manual fan control is possible.  I'll try
and provide patches as I have time.

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

[-- Attachment #1.2: Type: text/html, Size: 1642 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (73 preceding siblings ...)
  2015-01-18 16:58 ` bugzilla-daemon
@ 2015-01-26  3:21 ` bugzilla-daemon
  2015-01-29 13:57 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-01-26  3:21 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #79 from atmouse <at86mouse@gmail.com> ---
can it that be able to disable GPU fan completly? Just like 
`echo 0 > pwm1`

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

[-- Attachment #1.2: Type: text/html, Size: 1052 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (74 preceding siblings ...)
  2015-01-26  3:21 ` bugzilla-daemon
@ 2015-01-29 13:57 ` bugzilla-daemon
  2015-02-23 16:08 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-01-29 13:57 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #80 from Henrik Asp <solenskiner@gmail.com> ---
I'm testing commits
"add common fan control asic callbacks"
"bind fan control on SI cards to hwmon interface"
"bind fan control on CI cards to hwmon interface (v2)"
"bind fan control on CI cards to hwmon interface (v2)"
"enable smc fan control on SI"
from the repo agd5f on top of 3.19-rc6 with the fancontrol script from
lm_sensors.

I had to edit the script somewhat, since it expects a write of 1 to pwm1_enable
and a write of 255 to pwm1 to not fail (the write to pwm1 fail since the script
expects pwm1_max to be 255).

The driver should probably follow the behaviour userspace expects.

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

[-- Attachment #1.2: Type: text/html, Size: 1624 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (75 preceding siblings ...)
  2015-01-29 13:57 ` bugzilla-daemon
@ 2015-02-23 16:08 ` bugzilla-daemon
  2015-02-23 16:10 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-02-23 16:08 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #81 from !evil <a_rappold@gmx.at> ---
I just tried kernel v4.0rc1 and my R9 280 is quiet :)
Thank you !!

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

[-- Attachment #1.2: Type: text/html, Size: 1029 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (76 preceding siblings ...)
  2015-02-23 16:08 ` bugzilla-daemon
@ 2015-02-23 16:10 ` bugzilla-daemon
  2015-02-25 15:27 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-02-23 16:10 UTC (permalink / raw)
  To: dri-devel


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

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

Alex Deucher <alexdeucher@gmail.com> changed:

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

--- Comment #82 from Alex Deucher <alexdeucher@gmail.com> ---
Everything is upstream now in kernel 4.0.

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

[-- Attachment #1.2: Type: text/html, Size: 2035 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (77 preceding siblings ...)
  2015-02-23 16:10 ` bugzilla-daemon
@ 2015-02-25 15:27 ` bugzilla-daemon
  2015-02-25 15:40 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-02-25 15:27 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #83 from r.andersen <anderse@gmx.de> ---
Hi,

maybe this question is a bit silly, but how do I enable fan control? I just
compiled and installed 4.0.0-rc1, but my fan is still spinning rather loudly.

I'm using a Sapphire 7850 OC. Is the following the correct path for fan
manipulations?
/sys/class/drm/card0/device/hwmon/hwmon2

Below, I find the following pwm1/temp1 nodes:
pwm1, pwm1_enable, pwm1_max, pwm1_min and temp1_input.

cat pwm1_enable crashes my system.
cat pwm1 -> 86
cat pwm1_max -> 255
cat pwm1_min -> 0
cat temp1_input -> 27000

Same result with 3.19 with patches applied mentioned in Comment #80

Do I have to set special kernel features or did I set special features I should
not?

Many thanks for your help.

Raimund

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

[-- Attachment #1.2: Type: text/html, Size: 1768 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (78 preceding siblings ...)
  2015-02-25 15:27 ` bugzilla-daemon
@ 2015-02-25 15:40 ` bugzilla-daemon
  2015-02-25 22:01 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-02-25 15:40 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #84 from r.andersen <anderse@gmx.de> ---
... and I should add

echo "50" > pwm1

also makes my computer hang.

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

[-- Attachment #1.2: Type: text/html, Size: 1102 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (79 preceding siblings ...)
  2015-02-25 15:40 ` bugzilla-daemon
@ 2015-02-25 22:01 ` bugzilla-daemon
  2015-03-02 18:50 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-02-25 22:01 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #85 from Kamil Páral <kamil.paral@gmail.com> ---
I just tested this with kernel 4.0 (some pre version), and I just want to say
big thank you to everyone involved. My system is now finally quiet, and
everything seems to be working properly. Great work, folks.

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

[-- Attachment #1.2: Type: text/html, Size: 1278 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (80 preceding siblings ...)
  2015-02-25 22:01 ` bugzilla-daemon
@ 2015-03-02 18:50 ` bugzilla-daemon
  2015-03-02 19:04 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-03-02 18:50 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #86 from Ben <ben@bviertel.de> ---
Hello,

I am using Lubuntu 14.04 with 2 Apple Monitors using 2 mini Display ports on my
Gigabyte Radeon R7 250X OC and have the same issue: fan running fast while
temperature is low. I never used this forum before and browsed the net for
hours to find solutions. Can somebody explain to me what exactly to do to fix
this?

Best regards,
Ben

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

[-- Attachment #1.2: Type: text/html, Size: 1349 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (81 preceding siblings ...)
  2015-03-02 18:50 ` bugzilla-daemon
@ 2015-03-02 19:04 ` bugzilla-daemon
  2015-05-20 19:08 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-03-02 19:04 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #87 from Kamil Páral <kamil.paral@gmail.com> ---
Hi Ben, this is not a forum, it's a bug reporting tool. You'll need to wait
until your distribution ships linux kernel 4.0 (I assume that would be Lubuntu
15.04 or 15.10). Then it should "just work". If it doesn't, you can create a
new ticket here, report the issue, and attach all relevant information to it
(ask for help at #radeon channel on freenode irc in that case).

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

[-- Attachment #1.2: Type: text/html, Size: 1453 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (82 preceding siblings ...)
  2015-03-02 19:04 ` bugzilla-daemon
@ 2015-05-20 19:08 ` bugzilla-daemon
  2015-05-20 21:44 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-05-20 19:08 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #88 from Oliver Winker <oliverml1@oli1170.net> ---
(In reply to r.andersen from comment #84)
> ... and I should add
> 
> echo "50" > pwm1
> 
> also makes my computer hang.

Exactly the same on my HD7850 (see [1]) on kernel v4.0. 

Are there maybe hints how to debug this ?

[1]
---
Linux gamix64 4.0.0-owi1+ #1 SMP Sat May 9 10:17:17 CEST 2015 x86_64 GNU/Linux
---
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Pitcairn PRO [Radeon HD 7850] (prog-if 00 [VGA controller])
        Subsystem: PC Partner Limited / Sapphire Technology Radeon HD 7850 2GB
GDDR5 DVI-I/DVI-D/HDMI/DP
        Flags: bus master, fast devsel, latency 0, IRQ 36
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Memory at f5000000 (64-bit, non-prefetchable) [size=256K]
        I/O ports at a000 [size=256]
        [virtual] Expansion ROM at f4000000 [disabled] [size=128K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
<?>
        Capabilities: [150] Advanced Error Reporting
        Capabilities: [270] #19
        Capabilities: [2b0] Address Translation Service (ATS)
        Capabilities: [2c0] #13
        Capabilities: [2d0] #1b
        Kernel driver in use: radeon
---

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

[-- Attachment #1.2: Type: text/html, Size: 2573 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (83 preceding siblings ...)
  2015-05-20 19:08 ` bugzilla-daemon
@ 2015-05-20 21:44 ` bugzilla-daemon
  2015-06-06  5:36 ` bugzilla-daemon
  2015-06-06  8:39 ` bugzilla-daemon
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-05-20 21:44 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #89 from Pär Forsling <electropura@forsling.net> ---
(In reply to Oliver Winker from comment #88)
> (In reply to r.andersen from comment #84)
> > ... and I should add
> > 
> > echo "50" > pwm1
> > 
> > also makes my computer hang.
> 
> Exactly the same on my HD7850 (see [1]) on kernel v4.0. 
> 
> Are there maybe hints how to debug this ?
<snip> 


Sorry, I have no debug hints. For what it's worth, I have a nearly identical
card and the same kernel version (see below), and both manual and automatic
modes works flawlessly.

$ uname -a
Linux wallace 4.0.0-1-pelle #1 SMP PREEMPT Thu Apr 23 20:32:42 CEST 2015 x86_64
GNU/Linux

$ sudo lspci -v
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Pitcairn PRO [Radeon HD 7850] (prog-if 00 [VGA controller])
    Subsystem: Gigabyte Technology Co., Ltd Device 2553
    Flags: bus master, fast devsel, latency 0, IRQ 33
    Memory at d0000000 (64-bit, prefetchable) [size=256M]
    Memory at fe780000 (64-bit, non-prefetchable) [size=256K]
    I/O ports at b000 [size=256]
    Expansion ROM at fe7c0000 [disabled] [size=128K]
    Capabilities: [48] Vendor Specific Information: Len=08 <?>
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Legacy Endpoint, MSI 00
    Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
    Capabilities: [150] Advanced Error Reporting
    Capabilities: [270] #19
    Capabilities: [2b0] Address Translation Service (ATS)
    Capabilities: [2c0] #13
    Capabilities: [2d0] #1b
    Kernel driver in use: radeon
    Kernel modules: radeon

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

[-- Attachment #1.2: Type: text/html, Size: 2904 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (84 preceding siblings ...)
  2015-05-20 21:44 ` bugzilla-daemon
@ 2015-06-06  5:36 ` bugzilla-daemon
  2015-06-06  8:39 ` bugzilla-daemon
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-06-06  5:36 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #90 from Oliver Winker <oliverml1@oli1170.net> ---
In fact it seems that controlling the fans on my card using the ADL Overdrive6
api doesn't work. 

But it works using Overdrive5. When I modify Olegs test-program to use
ADL_Overdrive5_FanSpeed[Get|Set|ToDefault_Set]() api indeed my fans react.

So the next thing I guess would be to check the mmio-traces. In fact for me
personally already the equivalent of ADL_Overdrive5_FanSpeedToDefault_Set()
would be sufficient, since it seems to put the fan automagically to a good
minimum.

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

[-- Attachment #1.2: Type: text/html, Size: 1522 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] 87+ messages in thread

* [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
       [not found] <bug-73338-502@http.bugs.freedesktop.org/>
                   ` (85 preceding siblings ...)
  2015-06-06  5:36 ` bugzilla-daemon
@ 2015-06-06  8:39 ` bugzilla-daemon
  86 siblings, 0 replies; 87+ messages in thread
From: bugzilla-daemon @ 2015-06-06  8:39 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #91 from Oliver Winker <oliverml1@oli1170.net> ---
Ufff - a complicated way to recognize that one day I actually put the mod-param
radeon dpm=0 :-P ... while in the meanwhile dpm=1 actually works ;). 

Anyway, what a nice discovery: The fans are silent now! Great :)) !!

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

[-- Attachment #1.2: Type: text/html, Size: 1260 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] 87+ messages in thread

end of thread, other threads:[~2015-06-06  8:39 UTC | newest]

Thread overview: 87+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-73338-502@http.bugs.freedesktop.org/>
2014-01-06 23:35 ` [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst bugzilla-daemon
2014-03-05 12:50 ` bugzilla-daemon
2014-04-09 11:41 ` bugzilla-daemon
2014-04-24 16:29 ` bugzilla-daemon
2014-05-08 21:47 ` bugzilla-daemon
2014-05-28 14:47 ` bugzilla-daemon
2014-06-10 17:22 ` bugzilla-daemon
2014-07-10 13:23 ` bugzilla-daemon
2014-07-16  2:31 ` bugzilla-daemon
2014-07-16 19:56 ` bugzilla-daemon
2014-07-19  5:56 ` bugzilla-daemon
2014-08-16  6:33 ` bugzilla-daemon
2014-08-25  3:49 ` bugzilla-daemon
2014-08-25  7:23 ` bugzilla-daemon
2014-08-31 15:26 ` bugzilla-daemon
2014-09-01 11:19 ` bugzilla-daemon
2014-09-01 13:08 ` bugzilla-daemon
2014-09-01 13:12 ` bugzilla-daemon
2014-09-04  5:56 ` bugzilla-daemon
2014-09-07  9:16 ` bugzilla-daemon
2014-09-07  9:18 ` bugzilla-daemon
2014-09-07  9:25 ` bugzilla-daemon
2014-09-07  9:38 ` bugzilla-daemon
2014-09-07 13:35 ` bugzilla-daemon
2014-09-07 14:18 ` bugzilla-daemon
2014-09-08  4:19 ` bugzilla-daemon
2014-09-13 20:22 ` bugzilla-daemon
2014-09-13 20:53 ` bugzilla-daemon
2014-09-13 21:16 ` bugzilla-daemon
2014-09-14 13:13 ` bugzilla-daemon
2014-09-14 14:22 ` bugzilla-daemon
2014-09-20 20:39 ` bugzilla-daemon
2014-09-20 20:58 ` bugzilla-daemon
2014-09-21 21:34 ` bugzilla-daemon
2014-09-22 16:07 ` bugzilla-daemon
2014-09-22 16:10 ` bugzilla-daemon
2014-09-22 16:54 ` bugzilla-daemon
2014-09-22 17:34 ` bugzilla-daemon
2014-09-22 17:56 ` bugzilla-daemon
2014-10-02 20:59 ` bugzilla-daemon
2014-10-03 13:32 ` bugzilla-daemon
2014-10-26 17:40 ` bugzilla-daemon
2014-10-29 19:38 ` bugzilla-daemon
2014-10-30 11:42 ` bugzilla-daemon
2014-10-30 15:44 ` bugzilla-daemon
2014-11-07 17:59 ` bugzilla-daemon
2014-11-13 18:49 ` bugzilla-daemon
2014-11-13 18:51 ` bugzilla-daemon
2014-11-27 14:40 ` bugzilla-daemon
2014-11-27 14:43 ` bugzilla-daemon
2014-11-29 10:20 ` bugzilla-daemon
2014-11-29 10:38 ` bugzilla-daemon
2014-12-01  3:06 ` bugzilla-daemon
2014-12-01  6:29 ` bugzilla-daemon
2014-12-01 22:34 ` bugzilla-daemon
2014-12-03 22:24 ` bugzilla-daemon
2014-12-03 23:06 ` bugzilla-daemon
2014-12-04  0:12 ` bugzilla-daemon
2014-12-05  7:19 ` bugzilla-daemon
2014-12-05 19:16 ` bugzilla-daemon
2014-12-05 20:11 ` bugzilla-daemon
2014-12-06 19:16 ` bugzilla-daemon
2014-12-12 21:10 ` bugzilla-daemon
2014-12-12 21:13 ` bugzilla-daemon
2014-12-12 22:06 ` bugzilla-daemon
2014-12-12 22:30 ` bugzilla-daemon
2014-12-12 22:36 ` bugzilla-daemon
2014-12-13  5:53 ` bugzilla-daemon
2015-01-04 14:11 ` bugzilla-daemon
2015-01-07 19:11 ` bugzilla-daemon
2015-01-07 21:08 ` bugzilla-daemon
2015-01-08 23:02 ` bugzilla-daemon
2015-01-18 14:25 ` bugzilla-daemon
2015-01-18 16:58 ` bugzilla-daemon
2015-01-26  3:21 ` bugzilla-daemon
2015-01-29 13:57 ` bugzilla-daemon
2015-02-23 16:08 ` bugzilla-daemon
2015-02-23 16:10 ` bugzilla-daemon
2015-02-25 15:27 ` bugzilla-daemon
2015-02-25 15:40 ` bugzilla-daemon
2015-02-25 22:01 ` bugzilla-daemon
2015-03-02 18:50 ` bugzilla-daemon
2015-03-02 19:04 ` bugzilla-daemon
2015-05-20 19:08 ` bugzilla-daemon
2015-05-20 21:44 ` bugzilla-daemon
2015-06-06  5:36 ` bugzilla-daemon
2015-06-06  8:39 ` 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.