Manual setting of pp_dpm_sclk resets after monitor off/on (rx 480)
Submitted by Krystian
Assigned to Default DRI bug account
Link to original bug (#107141)
Description
Created attachment 140483
dmesg
Manual setting of pp_dpm_sclk resets after monitor off/on.
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
0: 300Mhz
1: 608Mhz
2: 910Mhz *
3: 1077Mhz
4: 1145Mhz
5: 1191Mhz
6: 1236Mhz
7: 1303Mhz
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
0: 300Mhz
1: 608Mhz
2: 910Mhz
3: 1077Mhz
4: 1145Mhz
5: 1191Mhz
6: 1236Mhz
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)
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.
Attachment 140483, "dmesg":
dmesg-4.19-wip