Bug 213599

Summary: amdgpu: navi RX 5500XT Very high idle power consumption (22 Watts)
Product: Drivers Reporter: Paulo Marcos de Souza Arruda do Nascimento (myghi63)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED PATCH_ALREADY_AVAILABLE    
Severity: high CC: alexdeucher, fkrueger, myghi63, yuya
Priority: P1 Keywords: trivial
Hardware: x86-64   
OS: Linux   
Kernel Version: 5.10.46-1 and 5.12.13-1 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg + corectrl screenshot

Description Paulo Marcos de Souza Arruda do Nascimento 2021-06-26 22:38:41 UTC
Created attachment 297633 [details]
dmesg + corectrl screenshot

Overview:
I'm having Very high idle power consumption with the latest lts and mainstream kernels. CoreCtrl Reports 99% of activity while doing nothing!
I'm attaching the dmesg output and a screen capture of this problem happening.

Steps to reproduce:
Run any distro with the latest kernel on a hardware with a AMD Navi GPU

Expected results:
Low idle consumption (about 3 Watts)

Actual results:
High power consumption and temperatures while idling (22 Watts)

Operational System:
Arch Linux (latest packages avaliable from the repository)

Additional Information:
TLP related configuration:
RADEON_POWER_PROFILE_ON_AC=high
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_STATE_ON_AC=performance
Comment 1 Paulo Marcos de Souza Arruda do Nascimento 2021-06-26 23:02:42 UTC
Downgrading linux-5.12.13 to linux-5.12.12 fixes the problem.
Comment 2 Yuya Nishihara 2021-06-27 04:35:09 UTC
I have similar issue on ThinkPad T14 AMD Gen 1 after upgrading to 5.10.46.

Apparently the first bad revision in 5.10.y branch is:

   41984d4fbe21 drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue.

Downgrading to bc58ec307ce9 fixed the problem.

There's also a bugreport in Debian BTS:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990312
Comment 3 Frank Kruger 2021-06-27 06:32:45 UTC
Probably a dup of https://bugzilla.kernel.org/show_bug.cgi?id=213561. According to https://lists.freedesktop.org/archives/amd-gfx/2021-June/065612.html patches are on its way. Version 5.12.12 works fine here.
Comment 4 Yuya Nishihara 2021-06-27 07:10:59 UTC
Yep. In my case, it's gfx9 but both gfx9/10 should be affected according to Bug 213561. LTS branches will need backport of these patches.
Comment 6 Frank Kruger 2021-06-28 17:57:48 UTC
Fixed with kernel 5.13, thanks.