drm/ast: Move all of the cursor-update functionality to atomic_update
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 9 Feb 2021 13:46:32 +0000 (14:46 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 17 Feb 2021 11:40:26 +0000 (12:40 +0100)
commit4d36cf070249564546f07a3fe5456e29dbbc1593
tree3c9ca7f9cff3c137b990f12d4ff56e445e64cc6c
parent385131f3a1542987a015508e3f4e23b4163bc616
drm/ast: Move all of the cursor-update functionality to atomic_update

We used to update the cursor image in prepare_fb. Move all this code to
atomic_update (where it belongs). The generic helper for shadow-buffered
planes now implement the cursor plane's prepare_fb.

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