On 2026-09-19T20:26:30, Valentin Haudiquet <[email protected]> wrote: > video: console: report damage when showing the cursor > > With CONFIG_VIDEO_DAMAGE, video_sync() only flushes the dirty rectangle > reported for a frame. Every vidconsole write path reports damage except > the console cursor: console_set_cursor_visible() writes the cursor > straight into the frame buffer without a video_damage() call, so the > cursor was never flushed and stayed invisible until other output dirtied > the same lines. > > Report the cursor rectangle when it is drawn. > > Fixes: 37db20d0a64 ("video: Support showing a cursor") > Signed-off-by: Valentin Haudiquet <[email protected]> > > drivers/video/console_normal.c | 2 ++ > 1 file changed, 2 insertions(+)
Reviewed-by: Simon Glass <[email protected]>
