drm/ast: Store cursor BOs in cursor plane
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 9 Feb 2021 13:46:29 +0000 (14:46 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 17 Feb 2021 11:40:13 +0000 (12:40 +0100)
commitafee7e958b9f9996c8eb9d464f604c6430edeefa
tree9a742456f33c1283dbf05dffe858de0f9d506bab
parenta0ba992d1738af83b6d479721c0be3c4317b2df3
drm/ast: Store cursor BOs in cursor plane

The cursor uses two BOs in video RAM to implement double buffering. Store
both in struct ast_cursor_plane.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210209134632.12157-8-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_drv.h
drivers/gpu/drm/ast/ast_mode.c