On 2026-10-04T19:47:24, Petr Hodina via B4 Relay
<[email protected]> wrote:
> video: console: clear rows stride-aware in set_row
>
> console_set_row() and console_set_row_2() clear a row with a single
> contiguous fill assuming line_length == xsize * pbytes. A stride-padded
> framebuffer inherited from a prior boot stage (e.g. via
> simple-framebuffer) breaks that assumption leaving stale pixels after
> scroll.
>
> Use video_fill_part() which already steps per scanline by
> line_length.
>
> Signed-off-by: Petr Hodina <[email protected]>
>
> drivers/video/console_normal.c | 26 +++-----------------------
>  drivers/video/console_rotate.c | 23 ++++-------------------
>  2 files changed, 7 insertions(+), 42 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to