From: "Y.C. Chen" Subject: [PATCH] drm/ast: fixed cursor may disappear sometimes Date: Tue, 30 Oct 2018 11:34:46 +0800 Message-ID: <1540870486-4045-1-git-send-email-yc_chen@aspeedtech.com> Return-path: Sender: stable-owner@vger.kernel.org To: dri-devel@lists.freedesktop.org Cc: airlied@redhat.com, eich@suse.com, benh@kernel.crashing.org, stable@vger.kernel.org, daniel@ffwll.ch, yc_chen@aspeedtech.com List-Id: dri-devel@lists.freedesktop.org From: "Y.C. Chen" Signed-off-by: Y.C. Chen --- drivers/gpu/drm/ast/ast_mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c index 5e77d45..4e079d4 100644 --- a/drivers/gpu/drm/ast/ast_mode.c +++ b/drivers/gpu/drm/ast/ast_mode.c @@ -1254,7 +1254,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; } -- 1.8.3.1