drm/plane-helper: Provide DRM_PLANE_NON_ATOMIC_FUNCS initializer macro
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 9 Sep 2022 10:59:47 +0000 (12:59 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 20 Sep 2022 07:42:31 +0000 (09:42 +0200)
commit02d6f9a13ef3316da5c64540c5a376f07781c853
tree0afb2baef084964ba9542ae4cda4068e4483b70a
parentfa0706e9775c10a9028e0b8d74c274cd4a179fda
drm/plane-helper: Provide DRM_PLANE_NON_ATOMIC_FUNCS initializer macro

Provide DRM_PLANE_NON_ATOMIC_FUNCS, which initializes plane functions
of non-atomic drivers to default values. The macro is not supposed to
be used in new code, but helps with documenting and finding existing
users.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Lyude Paul <lyude@redhat.com> # nouveau
Link: https://patchwork.freedesktop.org/patch/msgid/20220909105947.6487-5-tzimmermann@suse.de
drivers/gpu/drm/drm_modeset_helper.c
drivers/gpu/drm/nouveau/dispnv04/crtc.c
include/drm/drm_plane_helper.h