summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2019-04-04 20:53:28 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-17 14:45:15 +0200
commitb2ecf00631362a83744e5ec249947620db5e240c (patch)
tree6d6b26a4eb12c4211e8df114e0a93a9103efa952 /drivers/tty/serial
parente00164a0f000de893944981f41a568c981aca658 (diff)
downloadlinux-b2ecf00631362a83744e5ec249947620db5e240c.tar.gz
linux-b2ecf00631362a83744e5ec249947620db5e240c.tar.bz2
linux-b2ecf00631362a83744e5ec249947620db5e240c.zip
vt: fix cursor when clearing the screen
The patch a6dbe4427559 ("vt: perform safe console erase in the right order") introduced a bug. The conditional do_update_region() was replaced by a call to update_region() that does contain the conditional already, but with unwanted extra side effects such as restoring the cursor drawing. In order to reproduce the bug: - use framebuffer console with the AMDGPU driver - type "links" to start the console www browser - press 'q' and space to exit links Now the cursor will be permanently visible in the center of the screen. It will stay there until something overwrites it. The bug goes away if we change update_region() back to the conditional do_update_region(). [ nico: reworded changelog ] Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Reviewed-by: Nicolas Pitre <nico@fluxnic.net> Cc: stable@vger.kernel.org Fixes: a6dbe4427559 ("vt: perform safe console erase in the right order") Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
0 files changed, 0 insertions, 0 deletions