maintainer-feedback requested: [Bug 267028] graphics/drm-510-kmod: General protection fault immediately after kldload amdgpu

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 13 Oct 2022 22:47:29 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 267028: graphics/drm-510-kmod: General protection fault immediately after
kldload amdgpu
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267028



--- Description ---
It doesn't happen every time.  If I use kld_list="amdgpu" in /etc/rc.conf, it
happens close to 50% of the time.  If instead I boot to single user mode and
manually kldload amdgpu, it happens maybe 20% of the time.  If I have
amdgpu_load="YES" in /boot/loader.conf, the module fails to load at all,
without saying anything.

FreeBSD 13.1-RELEASE-p2, drm-510-kmod-5.10.113_7, AMD Ryzen 3 2200G with Radeon
Vega Graphics.

Crashes are always general protection fault panics, replete with complaints
about drm_modeset_is_locked being false.