drm/ast: Initialize planes in helper functions
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 9 Feb 2021 13:46:25 +0000 (14:46 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 17 Feb 2021 11:39:58 +0000 (12:39 +0100)
commit616048af6dde5c1c3abfdbd8bf1aca4805cb158f
tree67b4dfe8b3ecc888307304ec594df66d8275a160
parentee4a92d690f30f3793df942939726bec0338e65b
drm/ast: Initialize planes in helper functions

This change will help with inlining cursor functions into modesetting
code. The primary plane's field used to be cleared with memset(). This
has been dropped as the memory is always allocated with kzalloc().

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