drm/fh-helper: Split fbdev single-probe helper
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 2 Jan 2023 11:29:24 +0000 (12:29 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 3 Jan 2023 13:26:29 +0000 (14:26 +0100)
commitcff84bac99220029ca2e3fd974281cd760ca35c0
treee80ffc3d22fb0a16ae96a5f03d92ef83d8322f16
parent10cd592e639edcea50d781a07edcf3470d1f222e
drm/fh-helper: Split fbdev single-probe helper

Split the single-probe helper's implementation into multiple
functions and get locking and overallocation out of the way of
the surface setup. Simplifies later changes to the setup code.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230102112927.26565-11-tzimmermann@suse.de
drivers/gpu/drm/drm_fb_helper.c