From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106188] Can't successfully set pstates in pp_od_clk_voltage Date: Mon, 23 Apr 2018 12:49:36 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0244159114==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2C01C6E024 for ; Mon, 23 Apr 2018 12:49:36 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0244159114== Content-Type: multipart/alternative; boundary="15244877760.6f1Db8fC.6398" Content-Transfer-Encoding: 7bit --15244877760.6f1Db8fC.6398 Date: Mon, 23 Apr 2018 12:49:36 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D106188 Bug ID: 106188 Summary: Can't successfully set pstates in pp_od_clk_voltage Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: tempel.julian@gmail.com Hello, I specified "amdgpu.ppfeaturemask=3D0xffffffff" as a boot parameter so I co= uld 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_volta= ge", 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" afterwa= rds, it returns "c /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: 119= 6Mhz 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. In the documentation, I read that pp_od_clk_voltage should also include OD_range, but it's not there for me. Linux drm-next-4.18-wip 4.16.1.52132fd03 MSI RX 560 Aero ITX Thanks! --=20 You are receiving this mail because: You are the assignee for the bug.= --15244877760.6f1Db8fC.6398 Date: Mon, 23 Apr 2018 12:49:36 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 106188
Summary Can't successfully set pstates in pp_od_clk_voltage
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter tempel.julian@gmail.com

Hello,
I specified "amdgpu.ppfeaturemask=3D0xffffffff" as a boot paramet=
er 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_v=
oltage" afterwards,
it returns "c /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_in=
fo", 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 set=
ting
pstates 5-7, but that didn't help either.
In the documentation, I read that pp_od_clk_voltage should also include
OD_range, but it's not there for me.

Linux drm-next-4.18-wip 4.16.1.52132fd03
MSI RX 560 Aero ITX

Thanks!


You are receiving this mail because:
  • You are the assignee for the bug.
= --15244877760.6f1Db8fC.6398-- --===============0244159114== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0244159114==--