drm/atomic-helper: Add atomic_enable plane-helper callback
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 9 Feb 2023 15:41:02 +0000 (16:41 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 20 Feb 2023 14:19:23 +0000 (15:19 +0100)
commit169b9182f192e8725c8de5d7d77f00f6ae6c7fd4
tree56c57571d0d3bdbfedc50979f92a15c94503e137
parent1e84dadb2762cddbb5a1066713fc5fc6505e9f27
drm/atomic-helper: Add atomic_enable plane-helper callback

Add atomic_enable to struct drm_plane_helper_funcs. It enables a
plane independently from updating the plane's content. As such, it is
the inverse of the atomic_disable plane helper. Useful for hardware
where plane enable state is independent from plane content.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230209154107.30680-2-tzimmermann@suse.de
drivers/gpu/drm/drm_atomic_helper.c
include/drm/drm_atomic_helper.h
include/drm/drm_modeset_helper_vtables.h