[PATCH v2 7/7] drm/panic: Add support for drawing a monochrome graphical logo
Geert Uytterhoeven
geert at linux-m68k.org
Fri Jun 14 12:04:08 UTC 2024
Hi Jocelyn,
On Fri, Jun 14, 2024 at 11:55 AM Jocelyn Falempe <jfalempe at redhat.com> wrote:
> On 13/06/2024 21:18, Geert Uytterhoeven wrote:
> > Re-use the existing support for boot-up logos to draw a monochrome
> > graphical logo in the DRM panic handler. When no suitable graphical
> > logo is available, the code falls back to the ASCII art penguin logo.
> >
> > Note that all graphical boot-up logos are freed during late kernel
> > initialization, hence a copy must be made for later use.
>
> Would it be possible to have the logo not in the __init section if
> DRM_PANIC is set ?
That would be rather complicated. The C source files for the logos
(there can be multiple) are generated by drivers/video/logo/pnmtologo.c.
> The patch looks good to me anyway.
>
> Reviewed-by: Jocelyn Falempe <jfalempe at redhat.com>
Thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the dri-devel
mailing list