Hi, On Sun, Apr 20, 2025 at 9:26 PM Nick Bowler <nbow...@draconx.ca> wrote: > > Hi, > > I recently noticed that on current kernels I lose video output from > my Blackbird's AST2500 BMC after a reboot, which makes it difficult to > boot the system again (the video output will come on only after Linux > is booted again). > > With Linux 6.6 and earlier, there is no problem rebooting, everything > is fine. > > I bisected to this commit: > > ce3d99c8349584bc0fbe1e21918a3ea1155343aa is the first bad commit > commit ce3d99c8349584bc0fbe1e21918a3ea1155343aa > Author: Douglas Anderson <diand...@chromium.org> > Date: Fri Sep 1 16:39:53 2023 -0700 > > drm: Call drm_atomic_helper_shutdown() at shutdown time for misc drivers > > This commit does not revert cleanly on 6.14, but I can easily undo > the changes this commit made to the ast driver, and this is enough > to restore working behaviour. > > Let me know if you need any more info!
Bleh. That's not good. If I had to guess there's some subtle bug / missing timing constraint that's being triggered here. A few things to try: 1. Add a several second delay after the call to "drm_atomic_helper_shutdown()", like msleep(5000) or something like that. That's kind of a shot in the dark, but it's fairly common for panels to get upset if you turn them off and then turn them on again too quickly. This would be my blind guess of what is happening. 2. Could you give more details about what panel you're using? Ideally it'd be great if you could say which device tree you're using too. 3. Any chance you can gather the `dmesg` from a failing boot and provide it somehow? Are there any errors in the logs from the failing boot? -Doug