diff options
author | Y.C. Chen <yc_chen@aspeedtech.com> | 2018-10-30 11:34:46 +0800 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2018-11-22 11:16:02 +1000 |
commit | 7989b9ee8bafe5cc625381dd0c3c4586de27ca26 (patch) | |
tree | 514cbd659488f297fc23ad2edd985dccda4c25eb | |
parent | 1a37bd823891568f8721989aed0615835632d81a (diff) | |
download | linux-7989b9ee8bafe5cc625381dd0c3c4586de27ca26.tar.bz2 |
drm/ast: fixed cursor may disappear sometimes
Signed-off-by: Y.C. Chen <yc_chen@aspeedtech.com>
Cc: <stable@vger.kernel.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/ast/ast_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c index f06aae7701ed..7c6ac3cadb6b 100644 --- a/drivers/gpu/drm/ast/ast_mode.c +++ b/drivers/gpu/drm/ast/ast_mode.c @@ -1255,7 +1255,7 @@ static int ast_cursor_move(struct drm_crtc *crtc, ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0xc7, ((y >> 8) & 0x07)); /* dummy write to fire HWC */ - ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xCB, 0xFF, 0x00); + ast_show_cursor(crtc); return 0; } |