maintainer-feedback requested: [Bug 295567] graphics/drm-612-kmod panics HP 840 G5 laptop

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
Bugzilla Automation <[email protected]> has asked freebsd-x11 (Nobody)
<[email protected]> for maintainer-feedback:
Bug 295567: graphics/drm-612-kmod panics HP 840 G5 laptop
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295567



--- Description ---
This is a strange bug. I will describe it first then offer my analysis (guess).

drm-612-kmod will panic a very recent 16-CURRENT but only under strange
circumstances. When the laptop is powered on (from a powered off state), when X
loads (via xdm) the system will crash -- no panic string, just a long pause and
a reboot.

However if drm-66-kmod is installed when the laptop boots, drm-66-kmod is
uninstalled, drm-612-kmod is installed, the laptop is rebooted, X starts.
drm-612-kmod only works if it is installed after removal of drm-66-kmod and the
laptop is NOT powered off. Only rebooted.

My guess is that drm-66-kmod initializes the graphics hardware such that when
drm-612-kmod subsequently uses it (after drm-66-kmod has been uninstalled,
drm-612-kmod installed, and the laptop rebooted). But if drm-612-kmod was
installed before the laptop was powered off I think drm-612-kmod fails to
initialize the hardware correctly resulting the crash.

This only affects my HP 840 G5. The Framework 13 (with AMD graphics) has no
such problem.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.