Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/panic: depends on !VT_CONSOLE

The race condition between fbcon and drm_panic can only occurs if
VT_CONSOLE is set. So update drm_panic dependency accordingly.
This will make it easier for Linux distributions to enable drm_panic
by disabling VT_CONSOLE, and keeping fbcon terminal.
The only drawback is that fbcon won't display the boot kmsg, so it
should rely on userspace to do that.
At least plymouth already handle this case with
https://gitlab.freedesktop.org/plymouth/plymouth/-/merge_requests/224

Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240613154041.325964-1-jfalempe@redhat.com

+1 -1
+1 -1
drivers/gpu/drm/Kconfig
··· 107 107 108 108 config DRM_PANIC 109 109 bool "Display a user-friendly message when a kernel panic occurs" 110 - depends on DRM && !FRAMEBUFFER_CONSOLE 110 + depends on DRM && !(FRAMEBUFFER_CONSOLE && VT_CONSOLE) 111 111 select DRM_KMS_HELPER 112 112 select FONT_SUPPORT 113 113 help