]> www.infradead.org Git - users/willy/xarray.git/commit
drm/panic: Simplify logo handling
authorJocelyn Falempe <jfalempe@redhat.com>
Thu, 22 Aug 2024 07:33:56 +0000 (09:33 +0200)
committerJocelyn Falempe <jfalempe@redhat.com>
Fri, 23 Aug 2024 14:53:08 +0000 (16:53 +0200)
commit8f4eca6ac52a72181b4f054d4ef6289a5d8cfa5d
tree160cc592885c2dcbf9bddf64c440abdbd699ec01
parent4b570ac2eb54f66ff64f2864be6303b8d67cc7f9
drm/panic: Simplify logo handling

Move logo rectangle initialisation, and logo drawing in separate
functions, so they can be re-used by different panic screens.
It prepares the introduction of the QR code panic screen.

Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240822073852.562286-4-jfalempe@redhat.com
drivers/gpu/drm/drm_panic.c