]> git.baikalelectronics.ru Git - kernel.git/commit
drm/simpledrm: Convert to atomic helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 1 Aug 2022 13:50:28 +0000 (15:50 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 5 Aug 2022 12:14:03 +0000 (14:14 +0200)
commit4becbff6d99f2a93dc725f195d331441a512bbf2
treed0132529017b54fade23be1f99d82bb44f70270a
parent871a533dd24f59b4dde2d357b8b8e8889f661b56
drm/simpledrm: Convert to atomic helpers

Replace the simple-KMS helpers with the regular atomic helpers. The
regular helpers are better architectured and therefore allow for easier
code sharing among drivers. No functional changes.

v3:
* remove empty CRTC helpers atomic_{enable, disable} (Javier)
* unconditionally run drm_atomic_helper_check_plane_state()

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220801135028.30647-6-tzimmermann@suse.de
drivers/gpu/drm/tiny/simpledrm.c