Bug 100304

Summary: [bisected] Kernel oops on startup
Product: DRI Reporter: Mike Lothian <mike>
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: mike
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Screen shot
none
possible fix none

Description Mike Lothian 2017-03-21 17:11:22 UTC
Created attachment 130353 [details]
Screen shot

Bisected back to:

2d38d25554b739b50eec254205f769580751fb02 is the first bad commit
commit 2d38d25554b739b50eec254205f769580751fb02
Author: David Panariti <David.Panariti@amd.com>
Date:   Mon Mar 13 13:33:18 2017 -0400

    drm/amdgpu: Switch baremetal to use KIQ for compute ring management.
    
    KIQ is the Kernel Interface Queue for managing the MEC.  Rather than setting
    up rings via direct MMIO of ring registers, the rings are configured via
    special packets sent to the KIQ.  The allows the MEC to better manage shared
    resources and certain power events.
    
    Signed-off-by: David Panariti <David.Panariti@amd.com>
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
    Acked-by: Tom St Denis <tom.stdenis@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com
Comment 1 Alex Deucher 2017-03-21 17:14:29 UTC
What chip is this?
Comment 2 Alex Deucher 2017-03-21 17:16:59 UTC
does disabling runpm work around it?
Comment 3 Mike Lothian 2017-03-21 17:21:45 UTC
This is on Tonga in a prime setup
Comment 4 Mike Lothian 2017-03-21 17:39:14 UTC
Yes setting amdgpu.runpm=0 fixes the issue - also reverting the commit allows me to boot
Comment 5 Alex Deucher 2017-03-23 15:03:21 UTC
Created attachment 130399 [details] [review]
possible fix

This should fix the issue.
Comment 6 Mike Lothian 2017-03-23 15:30:54 UTC
Thanks, that's working great for me
Comment 7 Alex Deucher 2017-03-23 18:54:18 UTC
fix squashed into the original patch.

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.