drm/ast: Remove cursor double buffering
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 13 Oct 2022 11:29:19 +0000 (13:29 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Sun, 16 Oct 2022 09:16:11 +0000 (11:16 +0200)
commitaa7c88650f705631f1e7ea03ea14171b0530b9ef
tree0b5dfc0183fbff96f723ae95baea3bff83b74dad
parent963a2ba2adb51f677f2be875bb516fa636eaab47
drm/ast: Remove cursor double buffering

Update the cursor image via damage handling in-place. The cursor's
double buffering has no visible effect on the output, so remove it.

Done in preparation of switching ast to GEM SHMEM helpers. Removing
double buffering will allow us to use the same data structure for
primary and cursor plane.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Tested-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221013112923.769-5-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_drv.h
drivers/gpu/drm/ast/ast_mode.c