Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

vgacon: comment on vga_rolled_over

Long time ago, I figured out what this number is good for and documented
that locally. But never submitted, so do it now.

Cc: dri-devel@lists.freedesktop.org
Cc: linux-fbdev@vger.kernel.org
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210302062214.29627-4-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jiri Slaby and committed by
Greg Kroah-Hartman
5a3c96e9 00025161

+1 -1
+1 -1
drivers/video/console/vgacon.c
··· 96 96 static bool vga_512_chars; 97 97 static int vga_video_font_height; 98 98 static int vga_scan_lines __read_mostly; 99 - static unsigned int vga_rolled_over; 99 + static unsigned int vga_rolled_over; /* last vc_origin offset before wrap */ 100 100 101 101 static bool vgacon_text_mode_force; 102 102 static bool vga_hardscroll_enabled;