[PATCH] drm/ast: fixed cursor may disappear sometimes
Y.C. Chen
yacheng600221 at gmail.com
Tue Oct 30 03:34:46 UTC 2018
From: "Y.C. Chen" <yc_chen at aspeedtech.com>
Signed-off-by: Y.C. Chen <yc_chen at aspeedtech.com>
---
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
More information about the dri-devel
mailing list