Created attachment 253261 [details] Kernel config, output of dmesh (with stack trace), output of lspci The driver crashes when AMDGPU is used with a combination of R5 M230 and MULLINS. The driver work with MULLINS OK, when discrete GPU (01:00.0 R5 M230) is disabled (in bios). Kernel: Linux LenovoPC 4.9.6-1-ARCH #1 SMP PREEMPT Thu Jan 26 09:22:26 CET 2017 x86_64 GNU/Linux Relevant config: CONFIG_DRM_AMDGPU=m CONFIG_DRM_AMDGPU_SI=y CONFIG_DRM_AMDGPU_CIK=y CONFIG_DRM_AMDGPU_USERPTR=y I understand this is experimental case. Anyway, maybe somebody will fix it. This case work OK with RADEON driver (even offloading).
Same as https://bugzilla.kernel.org/show_bug.cgi?id=193341 .
Sorry, I mean https://bugs.freedesktop.org/show_bug.cgi?id=99387 .
Created attachment 253281 [details] possible fix This patch should fix the crash.
Attached logs about amdgpu kernel oops on hybrid gpu (KABINI+HAINAN) 4.9.9: https://bugs.freedesktop.org/show_bug.cgi?id=99387#c13 4.9.2: https://bugs.freedesktop.org/show_bug.cgi?id=99387#c14
Created attachment 254699 [details] possible fix This should fix it (along with the previous patch).
Greetings, I am the original reported on Freedesktop bug report. I have a similar hardware in this case Kaveri and R5 M230 (Hainan or Jet Pro). The fix as mentioned on comment #5 is working fine.
Created attachment 254989 [details] Dmesg of 4.10.1-1-ARCH #1 SMP PREEMPT Sun Feb 26 21:08:53 UTC 2017 x86_64 GNU/Linux I'm not sure if all attached fixes were merged to kernel 4.10.1, but now I get different error (when trying to use the discrete GPU).
Make sure your kernel has this patch: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c10c8f7c27103bd7ac02d041d9d6e97296d48fc1
With this path is working fine. Thank you. Shader heavy games are now rendering twice as fast.