drm/udl: Convert to atomic-modesetting helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 6 Oct 2022 09:53:46 +0000 (11:53 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 7 Oct 2022 11:46:08 +0000 (13:46 +0200)
commit72d73dd3a95c7e879c18a0eae8fd2af89b5b3347
tree37ddeca947c1149fb16e08dbe9297be06c10a196
parentefaa418fd75ebe8dbca57fd10a003910e46fc5a3
drm/udl: Convert to atomic-modesetting helpers

Replace simple-KMS helpers with regular atomic-modesetting helpers.
The simple-KMS helpers introduce a mid-layer abstraction without
added functionality. Using regular atomic helpers makes the driver's
implementation more discoverable and simplifies code sharing.

The conversion effectively open-codes the simple-KMS functions and
data structure within udl. No functional changes.

v2:
* don't use the atomic_disable plane helper

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221006095355.23579-8-tzimmermann@suse.de
drivers/gpu/drm/udl/udl_drv.h
drivers/gpu/drm/udl/udl_modeset.c