Re: [PATCH v2 03/12] drm/ast: Move cursor update code to ast_show_cursor()

2019-09-24 Thread Gerd Hoffmann
Hi, > -static void ast_hide_cursor(struct drm_crtc *crtc) > -{ > - struct ast_private *ast = crtc->dev->dev_private; > - ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xcb, 0xfc, 0x00); > -} > +static void ast_hide_cursor(struct drm_crtc *crtc) > +{ > + struct ast_private *ast =

[PATCH v2 03/12] drm/ast: Move cursor update code to ast_show_cursor()

2019-09-23 Thread Thomas Zimmermann
A call to ast's show-cursor function now receives the cursor image and updates the buffer. The change splits off image update and base-address update into separate functions. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/ast/ast_mode.c | 120 +++-- 1 file