lfs/chapter10
Xi Ruoyao 2349341e3e
drm-panic: kernel: Enable DRM_PANIC
Since the previous commit, we've ensured the kernel displaying via DRM
even in the early stage.  Now enable DRM_PANIC so the kernel will
correctly show the last lines of the kernel messages in case a panic
happens.

Tested with an incorrect root= line in 3 configurations:

- A QEMU VM booted via BIOS
- A real machine booted via BIOS
- A real machine booted via UEFI

And in all configurations the panic message is correctly dumped.
In 1024x768 we can get 48 lines (twice of 24 lines in VGA console).
2024-12-01 18:36:45 +08:00
..
kernel drm-panic: kernel: Enable DRM_PANIC 2024-12-01 18:36:45 +08:00
chapter10.xml Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
fstab.xml treewide: Use <ulink> instead of <filename> for man pages 2024-01-26 01:59:06 +08:00
grub.xml drm-panic: grub: Set up the VESA framebuffer for the kernel 2024-12-01 18:35:55 +08:00
introduction.xml Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
kernel.xml drm-panic: kernel: Enable SimpleDRM 2024-12-01 18:35:55 +08:00