Bug 112007 - Broken powerplay table for Navi10 RX 5700XT.
Summary: Broken powerplay table for Navi10 RX 5700XT.
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: not set blocker
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-14 21:17 UTC by dobreff
Modified: 2019-10-15 15:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
SMU failed after pptable reload. (73.24 KB, text/plain)
2019-10-14 21:17 UTC, dobreff
no flags Details

Description dobreff 2019-10-14 21:17:17 UTC
Created attachment 145742 [details]
SMU failed after pptable reload.

Hello,
Seems that something has changed in navi10 powerplay code and is now not working. Its present in current amd-staging-drm-next and amd-mainline-dkms-5.0(which was used to track the problem).
Been able to track it between two versions: 5.0.81(48317fb4380e525ee96187dc02f3902694696fed) confirmed working and 5.0.82(fdf4947d93b84a0ec722cbccb040ff1d22b85281) affected(see attachment).
You can reproduce by simply copying same pp_table over running.
Comment 1 Andrew Sheldon 2019-10-15 09:42:00 UTC
I've had this issue as well. You can workaround by reverting this commit:

commit faa695c715e5c9203af824315127037499b33921
Author: Evan Quan <evan.quan@amd.com>
Date:   Mon Sep 2 12:37:23 2019 +0800

    drm/amd/powerplay: do proper cleanups on hw_fini
    
    These are needed for smu_reset support.
    
    Signed-off-by: Evan Quan <evan.quan@amd.com>
    Reviewed-by: Jack Gui <Jack.Gui@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Comment 2 dobreff 2019-10-15 13:55:51 UTC
Yes, thank you. That seems to fix powerplay issues.


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.