drm/ast: Allocate HW cursor BOs during cursor-plane initialization
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 9 Feb 2021 13:46:26 +0000 (14:46 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 17 Feb 2021 11:40:01 +0000 (12:40 +0100)
commit22b6591f7ccb36142dcc0659746649eb9b4856d9
treea89fe5b5d362ca6b9cd118ce2d95529b8aa44741
parent616048af6dde5c1c3abfdbd8bf1aca4805cb158f
drm/ast: Allocate HW cursor BOs during cursor-plane initialization

The BOs are eventually released by the cursor plane's destroy callback.

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