drm/fb-helper: Remove preferred_bpp parameter from fbdev internals
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 25 Jan 2023 20:04:10 +0000 (21:04 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 26 Jan 2023 07:52:30 +0000 (08:52 +0100)
commitec9361a1374f8f1ff23d5b6c217326648a8191de
tree9639e4574b02ff0daa0d33b39c301887b612d8bc
parentf73ab51bfd3ac6b4d2b9d0bbbef3e0cc57a0f079
drm/fb-helper: Remove preferred_bpp parameter from fbdev internals

Store the console's preferred BPP value in struct drm_fb_helper
and remove the respective function parameters from the internal
fbdev code.

The BPP value is only required as a fallback and will now always
be available in the fb-helper instance.

No functional changes.

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