Bug 105324 - R9 285 weston hangs since drm/amd/pp: Fix bug that dpm level was not really locked
Summary: R9 285 weston hangs since drm/amd/pp: Fix bug that dpm level was not really l...
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-02 09:57 UTC by Andy Furniss
Modified: 2018-03-07 10:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Andy Furniss 2018-03-02 09:57:20 UTC
R9 285 Tonga,  testing with amdgpu.dc=0 on agd5f 4.17-wip

Since

commit a02497b73218f10f237d98fb10d34d0baed607a0
Author: Rex Zhu <Rex.Zhu@amd.com>
Date:   Fri Feb 9 16:47:53 2018 +0800

    drm/amd/pp: Fix bug that dpm level was not really locked
    
    Lock the dpm levels when we use SW method to modify
    the dpm tables directly to avoid a possible race
    with the smu.

weston may hang display on start/quit/vt switch

SysRq works and logged will be errors like -

Mar  2 00:19:03 ph4 kernel: amdgpu: [powerplay] 
Mar  2 00:19:03 ph4 kernel:  failed to send message 18b ret is 0 
Mar  2 00:19:03 ph4 kernel: amdgpu: [powerplay] 
Mar  2 00:19:03 ph4 kernel:  failed to send pre message 18a ret is 0 
Mar  2 00:19:04 ph4 kernel: amdgpu: [powerplay] 
Mar  2 00:19:04 ph4 kernel:  failed to send message 18a ret is 0 
Mar  2 00:19:04 ph4 kernel: amdgpu: [powerplay] 
Mar  2 00:19:04 ph4 kernel:  failed to send pre message 18c ret is 0 
Mar  2 00:19:04 ph4 kernel: amdgpu: [powerplay] 
Mar  2 00:19:04 ph4 kernel:  failed to send message 18c ret is 0 
Mar  2 00:19:05 ph4 kernel: amdgpu: [powerplay] 
Mar  2 00:19:05 ph4 kernel:  failed to send pre message 145 ret is 0 
Mar  2 00:19:05 ph4 kernel: amdgpu: [powerplay] 
Mar  2 00:19:05 ph4 kernel:  failed to send message 145 ret is 0 
Mar  2 00:19:06 ph4 kernel: amdgpu: [powerplay] 
Mar  2 00:19:06 ph4 kernel:  failed to send pre message 146 ret is 0 
Mar  2 00:19:06 ph4 kernel: amdgpu: [powerplay] 
Mar  2 00:19:06 ph4 kernel:  failed to send message 146 ret is 0 
Mar  2 00:19:07 ph4 kernel: amdgpu: [powerplay] 
Mar  2 00:19:07 ph4 kernel:  failed to send pre message 148 ret is 0
Comment 1 Andy Furniss 2018-03-07 10:46:19 UTC
OK with current drm-next-4.17-wip.


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.