]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/panic: Add integer scaling to blit()
authorJocelyn Falempe <jfalempe@redhat.com>
Thu, 22 Aug 2024 07:33:54 +0000 (09:33 +0200)
committerJocelyn Falempe <jfalempe@redhat.com>
Fri, 23 Aug 2024 14:47:55 +0000 (16:47 +0200)
commit6133cf70725049344a679f85df27d146a2d995ea
tree5c26300717f2e2959713175700e80737f2072eef
parentf60ef67ff21ede6f3d27d439a136481446dbd8aa
drm/panic: Add integer scaling to blit()

Add a parameter to the blit function, to upscale the image.
This is necessary to draw a QR code, otherwise, the pixels are
usually too small to be readable by most QR code reader.
It can also be used later for drawing fonts on high DPI display.

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