Bug 194949

Summary: Amdgpu: RX 460 idle temp is 45C
Product: Drivers Reporter: fin4478
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: alexdeucher
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.12-wip Subsystem:
Regression: No Bisected commit-id:
Attachments: My kernel config
dmesg output

Description fin4478 2017-03-20 12:14:34 UTC
Created attachment 255363 [details]
My kernel config

I cloned and tested agd5f/linux/?h=drm-next-4.12-wip kernel today and noticed that Gigabyte RX 460 2GB idle temp is 45C. After the boot it raises to that value. With 1.5 months older agd5f/linux/?h=drm-next-4.12-wip kernel (uname -r: 4.10.0-rc5+) idle temp is 27C. Also the new kernel did not boot every time to the desktop, when this happen the kernel rebooted my computer and it booted successfully. I have the latest firmware from:
https://people.freedesktop.org/~agd5f/radeon_ucode/polaris/
Comment 1 fin4478 2017-03-20 13:14:32 UTC
There is following errors in dmesg:
[    5.175777] amdgpu: [powerplay] 
                failed to send message 260 ret is 0 
[    5.176128] [drm:amdgpu_set_powergating_state [amdgpu]] *ERROR* set_powergating_state of IP block <amdgpu_powerplay> failed -22
Comment 2 fin4478 2017-03-20 13:15:32 UTC
Created attachment 255365 [details]
dmesg output
Comment 3 Alex Deucher 2017-03-20 13:49:15 UTC
(In reply to fin4478 from comment #0)
> I have the latest firmware from:
> https://people.freedesktop.org/~agd5f/radeon_ucode/polaris/

Does it work properly with the standard firmware that ships with your distro?
Comment 4 fin4478 2017-03-20 14:39:28 UTC
(In reply to Alex Deucher from comment #3)
> (In reply to fin4478 from comment #0)
> > I have the latest firmware from:
> > https://people.freedesktop.org/~agd5f/radeon_ucode/polaris/
> 
> Does it work properly with the standard firmware that ships with your distro?

No,  after boot temp rises to 45C and there is this dmesg error:
[    4.658897] amdgpu: [powerplay] 
                failed to send message 260 ret is 0 
[    4.659248] [drm:amdgpu_set_powergating_state [amdgpu]] *ERROR* set_powergating_state of IP block <amdgpu_powerplay> failed -22

Distro firmware:
https://packages.debian.org/sid/firmware-amd-graphics

Works ok with kernel 4.11-rc3 from kernel.org and latest amdgpu firmware.
Comment 5 fin4478 2017-03-31 02:52:57 UTC
I cloned and tested agd5f/linux/?h=drm-next-4.12-wip kernel today and temperature still raises to 45C after boot. Sysfs power control interface does not help.

Works ok with kernel 4.11-rc4 from kernel.org and latest amdgpu firmware.
Comment 6 fin4478 2017-04-21 23:13:19 UTC
I cloned and tested agd5f/linux/?h=drm-next-4.12-wip kernel yesterday and it works fine now. Thanks Amd.