]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcfecf90738ad8f11dd158bb6453bf24e8a087929
tree67b4dfe8b3ecc888307304ec594df66d8275a160
parent5fe9b8436effb3425f0bc137b571232aef04f190
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