]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ast: Enable primary plane with CRTC
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 17 Jun 2022 10:32:26 +0000 (12:32 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 27 Jun 2022 09:10:43 +0000 (11:10 +0200)
commitbd8c51af8c511f6a14efd6398582a46e294ad7ba
tree3ae092f743ffb2a4c14ba7bbafdc806cbcd0e669
parent05f3cfacfcd12d3f70d793bb4585cecd3b65fea9
drm/ast: Enable primary plane with CRTC

As the CRTC requires a primary plane for display, ensure that the
primary plane is enabled with the CRTC.

Use drm_atomic_helper_check_crtc_state(). Add all affected planes
to the atomic state so that their state will be checked as well.

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