]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ast: Add primary plane
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 7 Nov 2019 08:34:01 +0000 (09:34 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 8 Nov 2019 10:04:28 +0000 (11:04 +0100)
commit4a03224c72b91eb06bb85b96223962f3c878dcad
tree75802fc28a547084afa44d1dc4fd8a6130771b88
parent4f582f6e721867560287123a0424b910efa4ecb3
drm/ast: Add primary plane

Like the original mode-setting code, the primary plane supports XRGB888,
RGB565 and C8. The plane itself only pins BOs and sets the base address
and scanline offset. The mode-setting code will be located in the CRTC's
atomic helpers.

v2:
* don't set plane call-back functions to NULL explicitly
* define plane format array in global scope

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