Bug 98357 - [amdgpu] Topaz fails to boot with error in powerplay initialization
Summary: [amdgpu] Topaz fails to boot with error in powerplay initialization
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-20 12:43 UTC by Nayan Deshmukh
Modified: 2016-12-05 13:50 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (83.06 KB, text/plain)
2016-10-20 12:45 UTC, Nayan Deshmukh
no flags Details
dmesg (76.51 KB, text/plain)
2016-11-10 15:26 UTC, Nayan Deshmukh
no flags Details

Description Nayan Deshmukh 2016-10-20 12:43:41 UTC
I am using master branch of kernel. Tonga fails to initialize with the following error: 
 amdgpu: powerplay initialization failed
 [drm:amdgpu_device_init [amdgpu]] *ERROR* sw_init of IP block <amdgpu_powerplay> failed -22
 amdgpu 0000:04:00.0: amdgpu_init failed

I was previously using 4.8-rc2 and it was working fine.
Comment 1 Nayan Deshmukh 2016-10-20 12:45:21 UTC
Created attachment 127430 [details]
dmesg
Comment 2 Nayan Deshmukh 2016-10-20 12:54:36 UTC
I have an I+A system with Radeon R7 M260/M265 / M340/M360 (Topaz) card. I had tonga in the first comment by mistake
Comment 3 Christian König 2016-10-22 17:38:56 UTC
This is a regression, isn't it? So the first step should probably be to bisect which patch broke it.

Try to google for "git bisect" on how to do this.
Comment 4 Nayan Deshmukh 2016-10-22 17:57:00 UTC
My system hangs when I try to load the amdgpu module. It, however, loads initially during startup. I was planning to do a git bisect on Sunday. I will keep updating this bug with my findings.
Comment 5 Nayan Deshmukh 2016-10-30 16:44:39 UTC
I was not able to do the bisect as I was busy during the week, Now I have completed the bisect. Everything was working fine in 4.8-rc2 but in 4.9-rc2 topaz failed to initialize. When I tried using 4.8-rc3 I noticed another error. The amdgpu loads successfully but when I try to use it via vdpau it leads to errors. I will file another bug for that. I guess this bug need to wait sometime.
Comment 6 Alex Deucher 2016-11-09 23:27:17 UTC
Do the patches on https://bugzilla.kernel.org/show_bug.cgi?id=185681 fix the issue?
Comment 7 Nayan Deshmukh 2016-11-10 15:26:05 UTC
Created attachment 127895 [details]
dmesg

With the new patches, powerplay is initialized but I get another bunch of errors the xserver also fails to start. I am attaching the dmesg, please let me know if you need any more info.
Comment 8 Alex Deucher 2016-11-10 16:20:18 UTC
Updated patches on the other bug.
Comment 9 Nayan Deshmukh 2016-11-10 18:41:27 UTC
The new patches fixes the issue, however I still get this error 

[ powerplay ] VBIOS did not find boot engine clock value 			in dependency table. Using Memory DPM level 0!

PS: I have tested this patches with the patch on this bug 98505


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.