Bug 102130

Summary: pp_dpm_mclk always on level 1 (cant set to level 0) rx 480
Product: DRI Reporter: Gašper Sedej <gsedej>
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg
none
Xorg.0.log none

Description Gašper Sedej 2017-08-09 10:03:23 UTC
I can't set memory state to 0 (300 MHz), it always stays at state 1 (2000 MHz).
If I set 

echo "manual" > power_dpm_force_performance_level
echo 0 > pp_dpm_mclk

the memory clock stays at level 1, and I get kernel message:

[  239.231304] amdgpu: [powerplay] 
                failed to send message 146 ret is 255 
[  239.995386] amdgpu: [powerplay] 
                failed to send pre message 201 ret is 255 


The hardware is "SAPPHIRE NITRO+ Radeon RX 480 OC" and it might be BIOS related, since some rx 480 users does not have such problem.

Using Ubuntu 16.04.2 kernel 4.13-rc4.
Comment 1 Alex Deucher 2017-08-09 13:26:39 UTC
Please attach your xorg log and dmesg output.  Are you using multiple monitors?
Comment 2 Gašper Sedej 2017-08-10 08:15:52 UTC
Created attachment 133420 [details]
dmesg
Comment 3 Gašper Sedej 2017-08-10 08:16:12 UTC
Created attachment 133421 [details]
Xorg.0.log
Comment 4 Gašper Sedej 2017-08-10 08:17:01 UTC
Phisically unplugging monitor (and rebooting) did help. If i just disable monitor in manager, the memory frequency does not go below 2000 MHz. So if i wish to save power and temperature I would need to physically unplug the monitor.

So this is not a bug?
(sorry for posting 3 replys, didn't know about attachments)
Comment 5 Alex Deucher 2017-12-20 18:15:09 UTC
Is this still an issue?
Comment 6 Gašper Sedej 2017-12-20 18:41:49 UTC
For what I understand it's firmware issue and depends on total monitor count. 

If there is only one monitor I can set gpu memory to either level (0 or 1).
If you have more than one monitor plugged, than it's fixed to level 1 (2000 MHz).

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.