Re: [PATCH 1/6] drm/panic: Fix drawing the logo on a small narrow screen

From: Javier Martinez Canillas

Date: Tue Oct 14 2025 - 03:32:18 EST


Jocelyn Falempe <jfalempe@xxxxxxxxxx> writes:

Hello Jocelyn,

> If the logo width is bigger than the framebuffer width, and the
> height is big enough to hold the logo and the message, it will draw
> at x coordinate that are higher than the width, and ends up in a
> corrupted image.
>
> Fixes: 4b570ac2eb54 ("drm/rect: Add drm_rect_overlap()")
> Signed-off-by: Jocelyn Falempe <jfalempe@xxxxxxxxxx>
> ---

Reviewed-by: Javier Martinez Canillas <javierm@xxxxxxxxxx>

--
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat