diff options
author | Y.C. Chen <yc_chen@aspeedtech.com> | 2018-10-30 06:34:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-01 11:44:19 +0300 |
commit | 7fdaacc08451580b4dc2514e37d08ea5b4f09ef3 (patch) | |
tree | 0f8c2ebecbbb32b3aa1040f83acd52d52d775db4 /drivers/gpu/drm/ast/ast_mode.c | |
parent | f1c32bab45f366b268b10c8a00ef15d3a699b4f3 (diff) | |
download | linux-7fdaacc08451580b4dc2514e37d08ea5b4f09ef3.tar.xz |
drm/ast: fixed cursor may disappear sometimes
commit 7989b9ee8bafe5cc625381dd0c3c4586de27ca26 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/ast/ast_mode.c')
-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 1822d84db3c4..57205016b04a 100644 --- a/drivers/gpu/drm/ast/ast_mode.c +++ b/drivers/gpu/drm/ast/ast_mode.c @@ -1236,7 +1236,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; } |