Message ID | 20240717090102.968152-1-jfalempe@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | drm/panic: Remove build time dependency with FRAMEBUFFER_CONSOLE | expand |
On 17/07/2024 10:48, Jocelyn Falempe wrote: > When proposing to enable DRM_PANIC on Fedora, some users raised concern about the need to disable VT_CONSOLE. > So this is my new attempt to avoid fbcon/vt_console to overwrite the panic screen. > This time it doesn't involve any locking, so it should be safe. > I added a skip_panic option in struct fb_info, and check if this option and the panic_cpu are set in fb_is_inactive(), to prevent any framebuffer operation. > Also skip_panic is only true if the drm driver supports drm_panic, so you will still get the VT panic info on drivers that don't have drm_panic support yet. > Thanks all, I've just pushed them to drm-misc-next, with the required changes. (splitting patch 2 in 2, and moving function prototype to drm_crtc_internal.h). Best regards,