drm/mgag200: Split mgag200_modeset_init()
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 28 Jul 2022 12:40:50 +0000 (14:40 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 29 Jul 2022 13:56:37 +0000 (15:56 +0200)
commit44373151ab429cca53fae53d9eed374aef64afad
treed79a1e7a91086f3856b25dfd277b2b40b06ec1c3
parentcf1e6a90315a3f5b8ecbb3cf6a4badf8978e9075
drm/mgag200: Split mgag200_modeset_init()

Split mgag200_modeset_init() into smaller helpers to initialize
the mode_config structure and the pipeline. This will be helpful
for transforming this code into per-model functions. No functional
changes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Tested-by: Jocelyn Falempe <jfalempe@redhat.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220728124103.30159-2-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_mode.c