Skip to contentSkip to conversation

drm/ast: fixed cursor may disappear sometimes

PATCH New Y.C. Chen 1 participant 1 message Oct 30, 2018

Subsystems (4)
lore
Share & tools
lore

Y.C. Chen

author
#0 lore raw

PATCH 1/1 drm/ast: fixed cursor may disappear sometimes

From: "Y.C. Chen" <[email protected]>

---
 drivers/gpu/drm/ast/ast_mode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/ast/ast_mode.c +1 -1
index 5e77d45..4e079d4 100644
@@ -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;
 }
Signature · 1 line
1.8.3.1