Bug 209015

Summary: Clocks are no longer reported for R9 390 GPU
Product: Drivers Reporter: HenryJiM (henryjm11106)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED CODE_FIX    
Severity: normal CC: alexdeucher
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.8 Subsystem:
Regression: No Bisected commit-id:
Attachments: full dmesg for 5.8
Xorg log for 5.8

Description HenryJiM 2020-08-23 20:45:33 UTC
After updating to Linux 5.8, mclk and sclk are always reported as 0MHz on my AMD R9 390. this is consistent after a couple of 5.8 kernel updates with both linux-zen and generic linux. it was fine on the last 5.7 release, and going back to 5.4 LTS clocks are reported correctly as of now. issue is present with both AMDGPU and Radeon drivers
Comment 1 Alex Deucher 2020-08-24 15:05:37 UTC
Please attach your dmesg output and Xorg log (if using X).
Comment 2 HenryJiM 2020-08-24 21:57:57 UTC
Created attachment 292149 [details]
full dmesg for 5.8

Comparing with the 5.4 output, one difference I noticed is "[    3.795074] amdgpu 0000:29:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported"
Comment 3 HenryJiM 2020-08-24 21:59:51 UTC
Created attachment 292151 [details]
Xorg log for 5.8
Comment 4 HenryJiM 2020-08-27 21:16:31 UTC
I just retested, clocks actually are reported correctly with the Radeon driver.

this issue is specific to the AMDGPU driver

AMDGPU was loading regardless of kernel cmdline before:

"radeon 0000:29:00.0: CIK support disabled by module param"
Comment 6 HenryJiM 2020-09-11 02:08:01 UTC
Awesome, confirmed fixed with kernel 5.8.8