From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107141] Manual setting of pp_dpm_sclk resets after monitor off/on (rx 480) Date: Fri, 06 Jul 2018 14:04:29 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0242465087==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 5A1376E1A1 for ; Fri, 6 Jul 2018 14:04:29 +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 --===============0242465087== Content-Type: multipart/alternative; boundary="15308858690.19F4D1.793" Content-Transfer-Encoding: 7bit --15308858690.19F4D1.793 Date: Fri, 6 Jul 2018 14:04:29 +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=3D107141 Bug ID: 107141 Summary: Manual setting of pp_dpm_sclk resets after monitor off/on (rx 480) 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: krystian.zajdel@gmail.com Created attachment 140483 --> https://bugs.freedesktop.org/attachment.cgi?id=3D140483&action=3Dedit dmesg Manual setting of pp_dpm_sclk resets after monitor off/on.=20 1.setting: echo manual > /sys/class/drm/card0/device/power_dpm_force_performance_level echo 2 > /sys/class/drm/card0/device/pp_dpm_sclk echo 95 > /sys/class/drm/card0/device/hwmon/hwmon1/pwm1 2. checking: cat /sys/class/drm/card0/device/pp_dpm_sclk=20 0: 300Mhz=20 1: 608Mhz=20 2: 910Mhz * 3: 1077Mhz=20 4: 1145Mhz=20 5: 1191Mhz=20 6: 1236Mhz=20 7: 1303Mhz=20 cat /sys/class/drm/card0/device/power_dpm_force_performance_level manual cat /sys/class/drm/card0/device/hwmon/hwmon1/pwm1 91 3. switching monitor off/on 4. checking again: cat /sys/class/drm/card0/device/pp_dpm_sclk=20 0: 300Mhz=20 1: 608Mhz=20 2: 910Mhz=20 3: 1077Mhz=20 4: 1145Mhz=20 5: 1191Mhz=20 6: 1236Mhz=20 7: 1303Mhz * cat /sys/class/drm/card0/device/power_dpm_force_performance_level manual cat /sys/class/drm/card0/device/hwmon/hwmon1/pwm1 91 The card is under opencl load (blender) but the problem exists regardless of the load. So, the dpm_performance_level still says manual but the clock is changed to auto again. GPU: rx480 (MSI) connected via DisplayPort (I didn't try HDMI)=20 OS: Slackware current Affected kernels (that I've tried): 4.17.1, 4.17.2, 4.17.3, 4.18rc3, 4.18.0-rc1-custom-g6becad35ec8a-dirty Kernels that work properly (the ones I've tried): 4.16.14, 4.16.15, 4.16.17. It's my first bug report so I apologize in advance for any mistakes. --=20 You are receiving this mail because: You are the assignee for the bug.= --15308858690.19F4D1.793 Date: Fri, 6 Jul 2018 14:04:29 +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 107141
Summary Manual setting of pp_dpm_sclk resets after monitor off/on (rx= 480)
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 krystian.zajdel@gmail.com

Created attachment 140483 [details]<=
/span>
dmesg

Manual setting of pp_dpm_sclk resets after monitor off/on.=20

1.setting:
echo manual > /sys/class/drm/card0/device/power_dpm_force_performance_le=
vel
echo 2 > /sys/class/drm/card0/device/pp_dpm_sclk
echo 95 > /sys/class/drm/card0/device/hwmon/hwmon1/pwm1

2. checking:
cat /sys/class/drm/card0/device/pp_dpm_sclk=20
0: 300Mhz=20
1: 608Mhz=20
2: 910Mhz *
3: 1077Mhz=20
4: 1145Mhz=20
5: 1191Mhz=20
6: 1236Mhz=20
7: 1303Mhz=20

cat /sys/class/drm/card0/device/power_dpm_force_performance_level
manual

cat /sys/class/drm/card0/device/hwmon/hwmon1/pwm1
91

3. switching monitor off/on

4. checking again:
cat /sys/class/drm/card0/device/pp_dpm_sclk=20
0: 300Mhz=20
1: 608Mhz=20
2: 910Mhz=20
3: 1077Mhz=20
4: 1145Mhz=20
5: 1191Mhz=20
6: 1236Mhz=20
7: 1303Mhz *

cat /sys/class/drm/card0/device/power_dpm_force_performance_level
manual

cat /sys/class/drm/card0/device/hwmon/hwmon1/pwm1
91




The card is under opencl load (blender) but the problem exists regardless of
the load.
So, the dpm_performance_level still says manual but the clock is changed to
auto again.

GPU: rx480 (MSI) connected via DisplayPort (I didn't try HDMI)=20
OS: Slackware current
Affected kernels (that I've tried): 4.17.1, 4.17.2, 4.17.3, 4.18rc3,
4.18.0-rc1-custom-g6becad35ec8a-dirty

Kernels that work properly (the ones I've tried): 4.16.14, 4.16.15, 4.16.17.


It's my first bug report so I apologize in advance for any mistakes.


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