Re: [PATCH 6/6] drm/panic: Fix 24bit pixel crossing page boundaries

From: Javier Martinez Canillas

Date: Tue Oct 14 2025 - 03:38:01 EST


Jocelyn Falempe <jfalempe@xxxxxxxxxx> writes:

> When using page list framebuffer, and using RGB888 format, some
> pixels can cross the page boundaries, and this case was not handled,
> leading to writing 1 or 2 bytes on the next virtual address.
>
> Add a check and a specific function to handle this case.
>
> Fixes: c9ff2808790f0 ("drm/panic: Add support to scanout buffer as array of pages")
> Signed-off-by: Jocelyn Falempe <jfalempe@xxxxxxxxxx>
> ---

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

--
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat