drm/qxl: rework cursor plane
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 17 Feb 2021 12:32:12 +0000 (13:32 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 19 Feb 2021 08:13:25 +0000 (09:13 +0100)
commitb4b27f08f9f96d98040b37905bd9caf6b48b1430
treeb7ba7baa6f0493fa9e1e45fcc096f5c17d74561b
parentab422b01e06e4fb4e5036b6eca3bc36903838295
drm/qxl: rework cursor plane

Add helper functions to create and move the cursor.
Create the cursor_bo in prepare_fb callback, in the
atomic_commit callback we only send the update command
to the host.

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