Jocelyn Falempe jfalempe@redhat.com 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@redhat.com
Reviewed-by: Javier Martinez Canillas javierm@redhat.com