drm/ast: Managed cursor release
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 2 Jul 2020 11:50:25 +0000 (13:50 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 7 Jul 2020 09:11:51 +0000 (11:11 +0200)
commit3e9d787371eaa842682bf4fc86ae9475548d9cee
treec95e71d976d7614acbabc9d8d52d0d9395c2b50d
parent0d384eec10ea723f39df9736a04966e047850cfb
drm/ast: Managed cursor release

Register a release function to finalize cursors. The _fini() function
gets un-exported from the source file.

The function ast_mode_fini() is now empty and will be removed by a
later patch.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200702115029.5281-11-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_cursor.c
drivers/gpu/drm/ast/ast_drv.h
drivers/gpu/drm/ast/ast_mode.c