It only took a week of bisecting to track down the kernel regression: fe0f1e3bfdfeb53e18f1206aea4f40b9bd1f291c is the first bad commit commit fe0f1e3bfdfeb53e18f1206aea4f40b9bd1f291c Author: Ville Syrjälä <ville.syrj...@linux.intel.com> Date: Thu Oct 1 18:16:35 2020 +0300
drm/i915: Shut down displays gracefully on reboot Implement the pci .shutdown() hook in order to quiesce the hardware prior to reboot. The main purpose here is to turn all displays off. Some displays/other drivers tend to get confused if the state after reboot isn't exactly as they expected. One specific example was the Dell UP2414Q in MST mode. It would require me to pull the power cord after a reboot or else it would just not come back to life. Sadly I don't have that at hand anymore so not sure if it's still misbehaving without the graceful shutdown, or if we managed to fix something else since I last tested it. For good measure we do a gem suspend as well, so that we match the suspend flow more closely. Also stopping all DMA and whatnot is probably a good idea for kexec. I would expect that some kind of GT reset happens on normal reboot so probably not totally necessary there. v2: Use the pci .shutdown() hook instead of a reboot notifier (Lukas) Do the gem suspend for kexec (Chris) Cc: Lukas Wunner <lu...@wunner.de> Cc: Chris Wilson <ch...@chris-wilson.co.uk> Signed-off-by: Ville Syrjälä <ville.syrj...@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201001151640.14590-1-ville.syrj...@linux.intel.com Reviewed-by: Jani Nikula <jani.nik...@intel.com> Reviewed-by: Chris Wilson <ch...@chris-wilson.co.uk> drivers/gpu/drm/i915/i915_drv.c | 16 ++++++++++++++++ drivers/gpu/drm/i915/i915_drv.h | 1 + drivers/gpu/drm/i915/i915_pci.c | 8 ++++++++ 3 files changed, 25 insertions(+) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1923335 Title: [i915] At shutdown the spinner logo disappears and a second later it comes back frozen for a while (in kernel 5.11 and later) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1923335/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs