]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/panic: depends on !VT_CONSOLE
authorJocelyn Falempe <jfalempe@redhat.com>
Thu, 13 Jun 2024 15:40:16 +0000 (17:40 +0200)
committerJocelyn Falempe <jfalempe@redhat.com>
Tue, 18 Jun 2024 15:18:56 +0000 (17:18 +0200)
commit1ac6ac9ec069ed0cfdb1c207ae23f6c40ac57437
tree1e14e9b6de644e33192aaa73159526a3a750926b
parent41474d25bec56900e3a018907784b0abfe5a6a9e
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
drivers/gpu/drm/Kconfig