Created attachment 136904 [details] Serial kernel console for Panic/BUG/OOPS bug on Kaveri+GFX8 Hi- I'm having issues with bringing up a kennel on an AMD Kaveri (A10-7850K w/ R7 iGPU disabled) using a Radeon Rx 480 8GiB. I'm using (at the time of this writing) the latest commit from agd5f's drm-next-4.17-wip branch (commit 006a62b26fbb0b7dcd8061f83889e0514ea42d17 ('drm/ttm: Don't unreserve swapped BOs that were previously reserved')). When bringing up the kernel, it acts like it's initializing the (DisplayPort-connected) display, but then the screen blacks out and the display finally goes to sleep. I've attached a kernel log (grabbed from a serial connection (the kernel panics too soon to bring up the various network devices, and thus the network console)), which hopefully has enough verbosity to be useful. It's also available at https://gist.github.com/Haifen/f783d5f6b2ab3d30805d9f5315b7c675 Please let me know if there's any more information you require. -Robin K.
Oops, s/kennel/kernel/
does manually loading gpu_sched before amdgpu fix the issue?
(In reply to Alex Deucher from comment #2) > does manually loading gpu_sched before amdgpu fix the issue? Can try to do so, but unsure as to how given that pretty much the entire graphics stack is compiled into the kernel image. Reverting commit 4983e48c8539282be15f660bdd2c4260467b1190 ('drm/sched: move fence slab handling to module init/exit') fixes the issue, and thus this bug may be a duplicate of bug #104756. If so, this bug can be closed as a duplicate, or I can experiment with trying to force gpu_sched up first.
Please attach the CONFIG_DRM entries of the kernel build configuration file.
*** Bug 104756 has been marked as a duplicate of this bug. ***
Created attachment 136937 [details] [review] Possible fix I was able to reproduce the problem and the attached patch should fix it.
I can confirm is does fix the issues I was seeing
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.