Hi,
I want to push at least the first patch that is an important fix.
But if there are no objections, I can push the whole series except patch
5 "drm/panic: Convert to drm_fb_clip_offset()" which causes some build
issue.
Best regards,
--
Jocelyn
On 13/06/2024 21:17, Geert Uytterhoeven wrote:
Hi all,
If drm/panic is enabled, a user-friendly message is shown on screen when
a kernel panic occurs, together with an ASCII art penguin logo.
Of course we can do better ;-)
Hence this patch series extends drm/panic to draw the monochrome
graphical boot logo, when available, preceded by the customary fixes.
Changes compared to v1:
- Rebase against today's drm-misc-next, where drm_panic is broken on
all current drivers due to an uninitialized pointer dereference.
Presumably this was only tested with an out-of-tree driver change?
- New fixes [1/7], [3/7], and [4/7],
- New cleanup [5/7],
- Inline trivial draw_logo_mono().
This has been tested with rcar-du.
Thanks for your comments!
Geert Uytterhoeven (7):
drm/panic: Fix uninitialized drm_scanout_buffer.set_pixel() crash
drm/panic: Fix off-by-one logo size checks
lib/fonts: Fix visiblity of SUN12x22 and TER16x32 if DRM_PANIC
drm/panic: Spelling s/formater/formatter/
drm/panic: Convert to drm_fb_clip_offset()
drm/panic: Rename logo to logo_ascii
drm/panic: Add support for drawing a monochrome graphical logo
drivers/gpu/drm/Kconfig | 2 +-
drivers/gpu/drm/drm_panic.c | 74 +++++++++++++++++++++++++++++++------
drivers/video/logo/Kconfig | 2 +
lib/fonts/Kconfig | 6 ++-
4 files changed, 70 insertions(+), 14 deletions(-)