]> git.baikalelectronics.ru Git - kernel.git/commit
drm/simple-kms: Use drm_atomic_helper_check_crtc_state()
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 17 Jun 2022 10:32:25 +0000 (12:32 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 27 Jun 2022 09:10:43 +0000 (11:10 +0200)
commit05f3cfacfcd12d3f70d793bb4585cecd3b65fea9
tree5248416ee34f66f58920503e16f5ac53a75d6ccc
parent02436bc5b65deeddad57cffbae57493dd701a3f1
drm/simple-kms: Use drm_atomic_helper_check_crtc_state()

Simple-KMS helpers guarantee that the CRTC and plane enable
flags are synchronized. Implement this with atomic helpers
drm_atomic_helper_check_crtc_state() on the CRTC side, and
drm_atomic_helper_check_plane_state() on the plane side.

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