]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fbcon: Bugfix soft cursor detection in Tile Blitting
authorHenry Nestler <henry.nestler@gmail.com>
Sun, 20 Feb 2011 20:50:56 +0000 (20:50 +0000)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Apr 2011 14:53:22 +0000 (16:53 +0200)
commita0200ed212797a9b3c0918009bcdbf14b78937c2
tree7b804cca639f822067b918e41cd12b755bdab9b0
parent233d858fcbd5e9a3d26e52baae3a30c4579c070d
fbcon: Bugfix soft cursor detection in Tile Blitting

commit d6244bc0ed0c52a795e6f4dcab3886daf3e74fac upstream.

Use mask 0x10 for "soft cursor" detection on in function tile_cursor.
(Tile Blitting Operation in framebuffer console).

The old mask 0x01 for vc_cursor_type detects CUR_NONE, CUR_LOWER_THIRD
and every second mode value as "software cursor". This hides the cursor
for these modes (cursor.mode = 0). But, only CUR_NONE or "software cursor"
should hide the cursor.
See also 0x10 in functions add_softcursor, bit_cursor and cw_cursor.

Signed-off-by: Henry Nestler <henry.nestler@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/video/console/tileblit.c