linux-loongson/drivers/video/console
Helge Deller e4fc307d8e Revert "vgacon: Add check for vc_origin address range in vgacon_scroll()"
This reverts commit 864f9963ec.

The patch is wrong as it checks vc_origin against vc_screenbuf,
while in text mode it should compare against vga_vram_base.

As such it broke VGA text scrolling, which can be reproduced like this:
(1) boot a kernel that is configured to use text mode VGA-console
(2) type commands:  ls -l /usr/bin | less -S
(3) scroll up/down with cursor-down/up keys

Reported-by: Jari Ruusu <jariruusu@protonmail.com>
Cc: stable@vger.kernel.org
Cc: Yi Yang <yiyang13@huawei.com>
Cc: GONG Ruiqi <gongruiqi1@huawei.com>
Signed-off-by: Helge Deller <deller@gmx.de>
2025-08-02 21:47:33 +02:00
..
dummycon.c dummycon: Trigger redraw when switching consoles with deferred takeover 2025-05-26 09:35:34 +02:00
Kconfig mdacon: rework dependency list 2025-03-26 22:39:20 +01:00
Makefile video: Move HP PARISC STI core code to shared location 2023-04-20 10:04:51 +02:00
mdacon.c video: console: add missing MODULE_DESCRIPTION() macros 2024-06-22 09:52:36 +02:00
newport_con.c video: console: add missing MODULE_DESCRIPTION() macros 2024-06-22 09:52:36 +02:00
sticon.c video: console: add missing MODULE_DESCRIPTION() macros 2024-06-22 09:52:36 +02:00
vgacon.c Revert "vgacon: Add check for vc_origin address range in vgacon_scroll()" 2025-08-02 21:47:33 +02:00