drm/cirrus: Split cirrus_mode_set() into smaller functions
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 15 Feb 2023 16:15:05 +0000 (17:15 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 13 Mar 2023 09:36:06 +0000 (10:36 +0100)
commitd2ff2ef8c023ddc99e2d2e0c70ff307ebd7a6d89
treead18c1b549700a1059f6bb046ecab57148609425
parent2fb82d5a42bb0e69547a2d31340c50bbd3a3d276
drm/cirrus: Split cirrus_mode_set() into smaller functions

Split cirrus_mode_set() into smaller functions that set the display
mode, color format and scnaline pitch individually. Better reflects
the design of the DRM modesetting pipeline.

Done in preparation of converting cirrus to regular atomic helpers.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230215161517.5113-6-tzimmermann@suse.de
drivers/gpu/drm/tiny/cirrus.c