drm/rockchip: pass 0 to drm_fbdev_generic_setup()
authorJohn Keeping <john@metanate.com>
Mon, 1 Nov 2021 11:46:22 +0000 (11:46 +0000)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 7 Dec 2021 12:57:29 +0000 (13:57 +0100)
commitf2ed93a4dc854981b399e884851e966194a18595
tree434c1986520e6da88a546e475aeaae021c29a039
parent24af7c34b290dc0da62349dfb050bb4a8e16c6c1
drm/rockchip: pass 0 to drm_fbdev_generic_setup()

Allow drm_fbdev_generic_setup() to pick the default bpp value for the
framebuffer.

This has no functional impact because the default is 32, given that
mode_config.preferred_depth is not set for Rockchip.

Suggested-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211101114622.813536-1-john@metanate.com
drivers/gpu/drm/rockchip/rockchip_drm_drv.c