Add a kmsg dump option, which will display the last lines of kmsg, and should be similar to fbcon. Add a Kconfig choice for the panic screen, so that the user can choose between this new kmsg dump, or the userfriendly option. Patch 1-2 are the same as https://patchwork.freedesktop.org/series/133963/ and are here to avoid conflicts. Jocelyn Falempe (3): drm/panic: only draw the foreground color in drm_panic_blit() drm/panic: Add a set_pixel() callback to drm_scanout_buffer drm/panic: Add a kmsg dump screen drivers/gpu/drm/Kconfig | 21 +++ drivers/gpu/drm/drm_panic.c | 322 +++++++++++++++++++++++------------- include/drm/drm_panic.h | 9 + 3 files changed, 241 insertions(+), 111 deletions(-) base-commit: 86266829ea755f737762ebda614c59b136c8feac -- 2.45.1