[lkml]   [2011]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[21/35] fbcon: Bugfix soft cursor detection in Tile Blitting
    2.6.33-longterm review patch.  If anyone has any objections, please let us know.


    From: Henry Nestler <>

    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 <>
    Signed-off-by: Paul Mundt <>
    Signed-off-by: Greg Kroah-Hartman <>

    drivers/video/console/tileblit.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/video/console/tileblit.c
    +++ b/drivers/video/console/tileblit.c
    @@ -83,7 +83,7 @@ static void tile_cursor(struct vc_data *
    int softback_lines, int fg, int bg)
    struct fb_tilecursor cursor;
    - int use_sw = (vc->vc_cursor_type & 0x01);
    + int use_sw = (vc->vc_cursor_type & 0x10); = vc->vc_x; = vc->vc_y;

     \ /
      Last update: 2011-03-26 01:13    [W:0.019 / U:20.500 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site