From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 106188] Can't successfully set pstates in pp_od_clk_voltage
Date: Mon, 23 Apr 2018 15:04:04 +0000 [thread overview]
Message-ID: <bug-106188-502-4BcVSJgOKe@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-106188-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 1836 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=106188
--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to tempel.julian from comment #0)
> Hello,
> I specified "amdgpu.ppfeaturemask=0xffffffff" as a boot parameter so I could
> access "/sys/class/drm/card0/device/pp_od_clk_voltage".
> The pstate table for source and memory clocks looks correct.
>
> When I run "echo "s 7 1209 900"
> /sys/class/drm/card0/device/pp_od_clk_voltage", it returns "s 7 1209 900
> /sys/class/drm/card0/device/pp_od_clk_voltage".
> When I run "echo "c" /sys/class/drm/card0/device/pp_od_clk_voltage"
> afterwards, it returns "c /sys/class/drm/card0/device/pp_od_clk_voltage".
>
Are you redirecting to the file? Something like the following should work:
echo "s 7 1209 900" > /sys/class/drm/card0/device/pp_od_clk_voltage
> However, the change is not applied. When I do "cat
> /sys/class/drm/card0/device/pp_od_clk_voltage", it still says "7:
> 1196Mhz 1006 mV".
> And when I run "watch -n 0.5 cat /sys/kernel/debug/dri/0/amdgpu_pm_info",
> it reports
> " 1196 MHz (SCLK)
> 981 mV (VDDGFX)
> ".
>
> Am I making a mistake somewhere or should it work like this?
>
> I also tried "echo "manual" >
> /sys/class/drm/card0/device/power_dpm_force_performance_level" and setting
> pstates 5-7, but that didn't help either.
You have to set manual mode before you can manually edit the state. You also
have to be root (or have permission) to write to these files.
> In the documentation, I read that pp_od_clk_voltage should also include
> OD_range, but it's not there for me.
The patch is on the mailing list, but hasn't been committed yet.
https://patchwork.freedesktop.org/patch/217812/
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3048 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2018-04-23 15:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-23 12:49 [Bug 106188] Can't successfully set pstates in pp_od_clk_voltage bugzilla-daemon
2018-04-23 15:04 ` bugzilla-daemon [this message]
2018-04-23 16:12 ` bugzilla-daemon
2018-04-23 16:39 ` bugzilla-daemon
2018-04-27 18:45 ` bugzilla-daemon
2018-04-29 18:43 ` bugzilla-daemon
2018-05-08 22:18 ` 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-106188-502-4BcVSJgOKe@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