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)
commita6ff807b71e3ffa85c1ba133d8a9fa11fcfe186d
tree75802fc28a547084afa44d1dc4fd8a6130771b88
parent259d14a76a27eed2828aef5e90b66aee0cb1a19d
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