drm/ast: Add cursor plane
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 7 Nov 2019 08:34:03 +0000 (09:34 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 8 Nov 2019 10:04:45 +0000 (11:04 +0100)
commit02f3bb751a46230f9a49d2a55b304a5847c67788
treeb54c293ecb1fb213df002453639b47c56e4e98fe
parentb48e1b6ffd28a2af57620c4876abe7b956314e87
drm/ast: Add cursor plane

The cursor plane uses an internal format of ARGB4444. To userspace, we
announce ARGB8888 and do the transformation internally.

v2:
* don't set plane call-back functions to NULL explicitly
* define plane format array in global scope

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