From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst
Date: Sun, 31 Aug 2014 15:26:37 +0000 [thread overview]
Message-ID: <bug-73338-502-BJWUVLUGYB@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-73338-502@http.bugs.freedesktop.org/>
[-- 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
next prev parent reply other threads:[~2014-08-31 15:26 UTC|newest]
Thread overview: 87+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-73338-502-BJWUVLUGYB@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).