fbcon and drm_panic cannot be built together because they both write to the screen when a panic occurs, leading to a corrupted panic image. With this 2 patches, drm_panic will disable the fbdev output before writing the panic screen, so only drm_panic screen will be shown.
Jocelyn Falempe (2): drm/fb-helper: Add drm_fb_helper_emergency_disable drm/panic: Allows to run with fbcon drivers/gpu/drm/Kconfig | 2 +- drivers/gpu/drm/drm_fb_helper.c | 17 +++++++++++++++++ drivers/gpu/drm/drm_panic.c | 4 ++++ include/drm/drm_fb_helper.h | 5 +++++ 4 files changed, 27 insertions(+), 1 deletion(-) base-commit: 105aa4c65b76c3a344ca89a2d2dc96c84cca557f -- 2.44.0