drm/atomic-helper: Replace drm_atomic_helper_check_crtc_state()
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 7 Oct 2022 12:43:38 +0000 (14:43 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Sat, 8 Oct 2022 13:26:55 +0000 (15:26 +0200)
commit8f2fd57d834d83fb4f5e0f39a3415bcbe4c1d3b6
tree926936671b3bdeb0819cf3a27c347dbdca0ca7ca
parentdbbf933d365da1a76a540211bee3d57bde520194
drm/atomic-helper: Replace drm_atomic_helper_check_crtc_state()

Rename the atomic helper function drm_atomic_helper_check_crtc_state()
to drm_atomic_helper_check_crtc_primary_plane() and only check for an
attached primary plane. Adapt callers.

Instead of having one big function to check for various CRTC state
conditions, we rather want smaller functions that drivers can pick
individually.

v5:
* rebase on top of udl changes

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221007124338.24152-3-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_mode.c
drivers/gpu/drm/drm_atomic_helper.c
drivers/gpu/drm/drm_simple_kms_helper.c
drivers/gpu/drm/mgag200/mgag200_mode.c
drivers/gpu/drm/solomon/ssd130x.c
drivers/gpu/drm/tiny/simpledrm.c
drivers/gpu/drm/udl/udl_modeset.c
include/drm/drm_atomic_helper.h