]> git.baikalelectronics.ru Git - kernel.git/commit
drm/atomic-helper: Add helper drm_atomic_helper_check_crtc_state()
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 17 Jun 2022 10:32:24 +0000 (12:32 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 27 Jun 2022 09:10:43 +0000 (11:10 +0200)
commit02436bc5b65deeddad57cffbae57493dd701a3f1
tree2ad39e30710f8b5a0df7fde1dd8639a0694841c0
parent3f80218721f7371543876d5c26c2a55de282466a
drm/atomic-helper: Add helper drm_atomic_helper_check_crtc_state()

Add drm_atomic_helper_check_crtc_state(), which contains tests common
to many CRTCs. The first added test verifies that an enabled CRTC has
at least one enabled primary plane.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220617103226.25617-2-tzimmermann@suse.de
drivers/gpu/drm/drm_atomic_helper.c
include/drm/drm_atomic_helper.h